Returns all <code>named-native-query</code> elements
@return list of <code>named-native-query</code>
335297
public List<NamedNativeQuery<OrmDescriptor>> getAllNamedNativeQuery()
   {
      List<NamedNativeQuery<OrmDescriptor>> list = new ArrayList<NamedNativeQuery<OrmDescriptor>>();
      List<Node> nodeList = model.get("named-native-query");
      for(Node node: nodeList)
      {
         NamedNativeQuery<OrmDescriptor>  type = new NamedNativeQueryImpl<OrmDescriptor>(this, "named-native-query", model, node);
         list.add(type);
      }
      return list;
   }
479975
public List<T> query(String query, QueryType type)
    {
        switch (type)
        {
        case JPQL:
            return query(query);

        case NATIVE:
            return nativeQuery(query);

        default:
            throw new KunderaException("invalid query type");
        }
    }
622614
public List<T> elementList() {

        if (m_cache != null) {
            return m_cache;
        }
        if (m_relativeOrdered) {
            List<T> objectList = new ArrayList<T>();
            Iterator<CmsIdObjectElement<T>> itObjs = m_orderedObjectList.iterator();
            while (itObjs.hasNext()) {
                CmsIdObjectElement<T> object = itObjs.next();
                objectList.add(object.getObject());
            }
            m_cache = Collections.unmodifiableList(objectList);
        } else {
            m_cache = Collections.unmodifiableList(m_objectList);
        }
        return m_cache;
    }
482867
public List<LocaleEncodingMappingType<LocaleEncodingMappingListType<T>>> getAllLocaleEncodingMapping()
   {
      List<LocaleEncodingMappingType<LocaleEncodingMappingListType<T>>> list = new ArrayList<LocaleEncodingMappingType<LocaleEncodingMappingListType<T>>>();
      List<Node> nodeList = childNode.get("locale-encoding-mapping");
      for(Node node: nodeList)
      {
         LocaleEncodingMappingType<LocaleEncodingMappingListType<T>>  type = new LocaleEncodingMappingTypeImpl<LocaleEncodingMappingListType<T>>(this, "locale-encoding-mapping", childNode, node);
         list.add(type);
      }
      return list;
   }
309573
public List<T> fetchList() throws SQLException, InstantiationException, IllegalAccessException {
        ArrayList<T> result = new ArrayList<T>();
        if (primitive) {
            while (!finished) {
                result.add(fetchSinglePrimitiveInternal());
                next();
            }
        } else {
            while (!finished) {
                result.add(fetchSingleInternal());
                next();
            }
        }

        return result;
    }
139491
public List<QueryHint<NamedQuery<T>>> getAllHint()
   {
      List<QueryHint<NamedQuery<T>>> list = new ArrayList<QueryHint<NamedQuery<T>>>();
      List<Node> nodeList = childNode.get("hint");
      for(Node node: nodeList)
      {
         QueryHint<NamedQuery<T>>  type = new QueryHintImpl<NamedQuery<T>>(this, "hint", childNode, node);
         list.add(type);
      }
      return list;
   }
1244406
public TResult queryForAll() {
		TResult result = userDb.query(getTableName(), table.getColumnNames(),
				null, null, null, null, null);
		prepareResult(result);
		return result;
	}
456805
public List<Element> getElements() {
		synchronized(lock) {
			if(elements == null) return Collections.emptyList();
			if(frozen) return elements;
			return AoCollections.unmodifiableCopyList(elements);
		}
	}
470454
private List<?> getResultList(Query query) {
        // TODO : use lazy fetch here?
        if (projection != null) {
            List<?> results = query.getResultList();
            List<Object> rv = new ArrayList<Object>(results.size());
            for (Object o : results) {
                if (o != null) {
                    if (!o.getClass().isArray()) {
                        o = new Object[]{o};
                    }
                    rv.add(projection.newInstance((Object[]) o));
                } else {
                    rv.add(null);
                }
            }
            return rv;
        } else {
            return query.getResultList();
        }
    }
679356
public static List<Scanner> getScanners(final Query query) {
    final List<Scanner> scanners = new ArrayList<Scanner>(
        Const.SALT_WIDTH() > 0 ? Const.SALT_BUCKETS() : 1);
    if (Const.SALT_WIDTH() > 0) {
      for (int i = 0; i < Const.SALT_BUCKETS(); i++) {
        scanners.add(((TsdbQuery) query).getScanner(i));
      }
    } else {
      scanners.add(((TsdbQuery) query).getScanner());
    }
    return scanners;
  }
1109687
public List<LocaleEncodingMappingListType<WebFragmentType<T>>> getAllLocaleEncodingMappingList()
   {
      List<LocaleEncodingMappingListType<WebFragmentType<T>>> list = new ArrayList<LocaleEncodingMappingListType<WebFragmentType<T>>>();
      List<Node> nodeList = childNode.get("locale-encoding-mapping-list");
      for(Node node: nodeList)
      {
         LocaleEncodingMappingListType<WebFragmentType<T>>  type = new LocaleEncodingMappingListTypeImpl<WebFragmentType<T>>(this, "locale-encoding-mapping-list", childNode, node);
         list.add(type);
      }
      return list;
   }
416052
public java.util.List<QueryInfo> getQueries() {
        if (queries == null) {
            queries = new com.amazonaws.internal.SdkInternalList<QueryInfo>();
        }
        return queries;
    }
1313872
public List<Alternatives<Beans<T>>> getAllAlternatives()
   {
      List<Alternatives<Beans<T>>> list = new ArrayList<Alternatives<Beans<T>>>();
      List<Node> nodeList = childNode.get("alternatives");
      for(Node node: nodeList)
      {
         Alternatives<Beans<T>>  type = new AlternativesImpl<Beans<T>>(this, "alternatives", childNode, node);
         list.add(type);
      }
      return list;
   }
730025
@Override
    public Query createNativeQuery(String sqlString, String resultSetMapping)
    {
        return ivEm.createNativeQuery(sqlString, resultSetMapping);
    }
689899
@Override
    public List<com.enioka.jqm.api.Queue> getQueues()
    {
        List<com.enioka.jqm.api.Queue> res = new ArrayList<>();
        DbConn cnx = null;
        com.enioka.jqm.api.Queue tmp = null;

        try
        {
            cnx = getDbSession();
            for (Queue q : Queue.select(cnx, "q_select_all"))
            {
                tmp = getQueue(q);
                res.add(tmp);
            }
            return res;
        }
        catch (Exception e)
        {
            throw new JqmClientException("could not query queues", e);
        }
        finally
        {
            closeQuietly(cnx);
        }
    }
168662
protected List<E> list(Query<E> query) throws HibernateException {
        return requireNonNull(query).list();
    }
1099976
public QueryNode[] getOperands() {
        if (operands == null) {
            return new QueryNode[0];
        } else {
            return (QueryNode[]) operands.toArray(new QueryNode[operands.size()]);
        }
    }