Uses of Interface
cz.cvut.kbss.jopa.model.query.Query
Packages that use Query
-
Uses of Query in cz.cvut.kbss.jopa.model
Classes in cz.cvut.kbss.jopa.model that implement QueryModifier and TypeClassDescriptionclass
class
Implementation of query using result set mapping configuration.class
Methods in cz.cvut.kbss.jopa.model that return QueryModifier and TypeMethodDescriptionEntityManager.createNamedQuery
(String name) Create an instance of Query for executing a named query (in native SPARQL).EntityManager.createNativeQuery
(String sparqlString) Create an instance of Query for executing a native SPARQL(-DL) query in SPARQL syntax.EntityManager.createNativeQuery
(String sparqlString, String resultSetMapping) Create an instance of Query for executing a native SPARQL query.EntityManager.createQuery
(String qlString) Create an instance of Query for executing a Java Persistence query language statement.QueryImpl.setFirstResult
(int startPosition) QueryImpl.setMaxResults
(int maxResults) Methods in cz.cvut.kbss.jopa.model with parameters of type QueryModifier and TypeMethodDescriptionvoid
EntityManagerFactory.addNamedQuery
(String name, Query query) Define the query or typed query as a named query such that future query objects can be created from it using thecreateNamedQuery
method.void
EntityManagerFactoryImpl.addNamedQuery
(String name, Query query) -
Uses of Query in cz.cvut.kbss.jopa.model.query
Subinterfaces of Query in cz.cvut.kbss.jopa.model.queryModifier and TypeInterfaceDescriptioninterface
TypedQuery<X>
Interface used to control the execution of typed queries.Methods in cz.cvut.kbss.jopa.model.query that return QueryModifier and TypeMethodDescriptionQuery.setFirstResult
(int startPosition) Set the position of the first result to retrieve.Sets a query hint.Query.setMaxResults
(int maxResult) Set the maximum number of results to retrieve.Query.setParameter
(int position, Object value) Binds an argument value to a positional parameter.Query.setParameter
(int position, String value, String language) Binds a String argument value to a positional parameter.Query.setParameter
(Parameter<String> parameter, String value, String language) Binds the value of a String Parameter.<T> Query
Query.setParameter
(Parameter<T> parameter, T value) Binds the value of a Parameter object.Query.setParameter
(String name, Object value) Binds an argument value to a named parameter.Query.setParameter
(String name, String value, String language) Binds a String argument value to a named parameter.Query.setUntypedParameter
(int position, Object value) Binds an argument value to a positional parameter.<T> Query
Query.setUntypedParameter
(Parameter<T> parameter, T value) Binds the value of a Parameter object.Query.setUntypedParameter
(String name, Object value) Binds an argument value to a named parameter.