|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.query.Query
org.datanucleus.store.query.AbstractJavaQuery
org.datanucleus.store.query.AbstractJPQLQuery
org.datanucleus.store.hbase.query.JPQLQuery
public class JPQLQuery
Implementation of JPQL for HBase datastores.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.datanucleus.store.query.Query |
|---|
org.datanucleus.store.query.Query.SubqueryDefinition |
| Field Summary | |
|---|---|
protected HBaseQueryCompilation |
datastoreCompilation
The compilation of the query for this datastore. |
| Fields inherited from class org.datanucleus.store.query.AbstractJavaQuery |
|---|
candidateCollection, candidateExtent, singleString |
| Fields inherited from class org.datanucleus.store.query.Query |
|---|
BULK_DELETE, BULK_UPDATE, candidateClass, candidateClassName, clr, compilation, ec, explicitParameters, explicitVariables, EXTENSION_CHECK_UNUSED_PARAMETERS, EXTENSION_COMPILATION_CACHED, EXTENSION_EVALUATE_IN_MEMORY, EXTENSION_FLUSH_BEFORE_EXECUTION, EXTENSION_LOAD_RESULTS_AT_COMMIT, EXTENSION_MULTITHREAD, EXTENSION_RESULT_CACHE_TYPE, EXTENSION_RESULT_SIZE_METHOD, EXTENSION_RESULTS_CACHED, EXTENSION_USE_FETCH_PLAN, extensions, filter, from, fromInclNo, fromInclParam, grouping, having, ignoreCache, implicitParameters, imports, inputParameters, LOCALISER, ordering, OTHER, parameterNames, parsedImports, queryResults, range, result, resultClass, resultClassName, resultDistinct, SELECT, storeMgr, subclasses, subqueries, tasks, toExclNo, toExclParam, type, unique, unmodifiable, update |
| Constructor Summary | |
|---|---|
JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.store.ExecutionContext ec)
Constructs a new query instance that uses the given persistence manager. |
|
JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.store.ExecutionContext ec,
JPQLQuery q)
Constructs a new query instance having the same criteria as the given query. |
|
JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.store.ExecutionContext ec,
java.lang.String query)
Constructor for a JPQL query where the query is specified using the "Single-String" format. |
|
| Method Summary | |
|---|---|
protected void |
compileInternal(java.util.Map parameterValues)
Method to compile the JDOQL query. |
protected void |
discardCompiled()
Utility to remove any previous compilation of this Query. |
protected boolean |
evaluateInMemory()
Convenience method to return whether the query should be evaluated in-memory. |
protected boolean |
isCompiled()
Method to return if the query is compiled. |
protected java.lang.Object |
performExecute(java.util.Map parameters)
|
| Methods inherited from class org.datanucleus.store.query.AbstractJPQLQuery |
|---|
compileSubqueries, getLanguage, getQueryCacheKey, getSingleStringQuery, resolveClassDeclaration, setResult |
| Methods inherited from class org.datanucleus.store.query.AbstractJavaQuery |
|---|
dereferenceFilter, getCandidateCollection, getCandidateExtent, performDeletePersistentAll, setCandidates, setCandidates, toString |
| Methods inherited from class org.datanucleus.store.query.Query |
|---|
addExtension, addSubquery, applyImplicitParameterValueToCompilation, applyImplicitParameterValueToSubqueries, applyRangeChecks, assertIsModifiable, assertSupportsCancel, cancel, cancel, cancelTaskObject, checkForMissingParameters, checkParameterTypesAgainstCompilation, checkUnusedParameters, close, closeAll, compile, declareExplicitParameters, declareExplicitVariables, declareImports, deepFindSymbolForParameterInCompilation, deletePersistentAll, deletePersistentAll, deletePersistentAll, deregisterTask, equals, execute, executeQuery, executeWithArray, executeWithMap, getBooleanExtensionProperty, getCandidateClass, getCandidateClassName, getCompilation, getDatastoreReadTimeoutMillis, getDatastoreWriteTimeoutMillis, getExecutionContext, getExplicitParameters, getExplicitVariables, getExtension, getExtensions, getFetchPlan, getFilter, getFrom, getGrouping, getHaving, getIgnoreCache, getImplicitParameters, getImports, getInputParameters, getOrdering, getParameterMapForValues, getParsedImports, getQueryManager, getRange, getRangeFromIncl, getRangeFromInclParam, getRangeToExcl, getRangeToExclParam, getResult, getResultClass, getResultClassName, getResultDistinct, getSerializeRead, getStoreManager, getStringExtensionProperty, getSubqueryForVariable, getSupportedExtensions, getType, getUpdate, hashCode, hasSubqueryForVariable, isSubclasses, isUnique, isUnmodifiable, prepareDatastore, registerTask, setCacheResults, setCandidateClass, setCandidateClassName, setCompilation, setDatastoreReadTimeoutMillis, setDatastoreWriteTimeoutMillis, setExtensions, setFetchPlan, setFilter, setFrom, setGrouping, setHaving, setIgnoreCache, setImplicitParameter, setImplicitParameter, setOrdering, setRange, setRange, setResultClass, setResultClassName, setResultDistinct, setResultMetaData, setSerializeRead, setSubclasses, setType, setUnique, setUnmodifiable, setUpdate, shouldReturnSingleRow, supportsTimeout, useCaching, useFetchPlan, useResultsCaching |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected transient HBaseQueryCompilation datastoreCompilation
| Constructor Detail |
|---|
public JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.store.ExecutionContext ec)
storeMgr - StoreManager for this queryec - Execution Context
public JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.store.ExecutionContext ec,
JPQLQuery q)
storeMgr - StoreManager for this queryec - Execution Contextq - The query from which to copy criteria.
public JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.store.ExecutionContext ec,
java.lang.String query)
storeMgr - StoreManager for this queryec - Execution Contextquery - The query string| Method Detail |
|---|
protected void discardCompiled()
discardCompiled in class org.datanucleus.store.query.AbstractJavaQueryprotected boolean isCompiled()
isCompiled in class org.datanucleus.store.query.Queryprotected boolean evaluateInMemory()
evaluateInMemory in class org.datanucleus.store.query.AbstractJavaQueryprotected void compileInternal(java.util.Map parameterValues)
compileInternal in class org.datanucleus.store.query.AbstractJPQLQueryparameterValues - Map of param values keyed by param name (if available at compile time)protected java.lang.Object performExecute(java.util.Map parameters)
performExecute in class org.datanucleus.store.query.Query
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||