Uses of Class
org.datanucleus.store.rdbms.sql.SelectStatement
-
Packages that use SelectStatement Package Description org.datanucleus.store.rdbms.adapter Provides mappings of all supported databases to aspects of the database that determines the SQL generation.org.datanucleus.store.rdbms.query Package providing the querying mechanism for DataNucleus for RDBMS datastores.org.datanucleus.store.rdbms.request Provides the mechanism of communicating with the database using JDBC.org.datanucleus.store.rdbms.scostore This package provides classes defining the (SCO) backing store for various container classes (Collections/Maps/arrays) within DataNucleus.org.datanucleus.store.rdbms.sql Series of classes used to generate SQL statements. -
-
Uses of SelectStatement in org.datanucleus.store.rdbms.adapter
Methods in org.datanucleus.store.rdbms.adapter with parameters of type SelectStatement Modifier and Type Method Description booleanBaseDatastoreAdapter. validToSelectMappingInStatement(SelectStatement stmt, JavaTypeMapping m)Method to return if it is valid to select the specified mapping for the specified statement for this datastore adapter.booleanDatastoreAdapter. validToSelectMappingInStatement(SelectStatement stmt, JavaTypeMapping m)Method to return if it is valid to select the specified mapping for the specified statement for this datastore adapter.booleanDerbyAdapter. validToSelectMappingInStatement(SelectStatement stmt, JavaTypeMapping m)Method to return if it is valid to select the specified mapping for the specified statement for this datastore adapter.booleanOracleAdapter. validToSelectMappingInStatement(SelectStatement stmt, JavaTypeMapping m)Method to return if it is valid to select the specified mapping for the specified statement for this datastore adapter.booleanSQLServerAdapter. validToSelectMappingInStatement(SelectStatement stmt, JavaTypeMapping m)Method to return if it is valid to select the specified mapping for the specified statement for this datastore adapter. -
Uses of SelectStatement in org.datanucleus.store.rdbms.query
Methods in org.datanucleus.store.rdbms.query that return SelectStatement Modifier and Type Method Description static SelectStatementRDBMSQueryUtils. getStatementForCandidates(RDBMSStoreManager storeMgr, SQLStatement parentStmt, org.datanucleus.metadata.AbstractClassMetaData cmd, StatementClassMapping clsMapping, org.datanucleus.ExecutionContext ec, Class candidateCls, boolean subclasses, String result, String candidateAlias, String candidateTableGroupName, Set<String> options)Method to return a statement selecting the candidate table(s) required to cover all possible types for this candidates inheritance strategy.Methods in org.datanucleus.store.rdbms.query with parameters of type SelectStatement Modifier and Type Method Description protected voidQueryToSQLMapper. compileGrouping(SelectStatement stmt)Method to compile the grouping clause of the query into the SQLStatement.protected voidQueryToSQLMapper. compileHaving(SelectStatement stmt)Method to compile the having clause of the query into the SQLStatement.protected voidQueryToSQLMapper. compileOrdering(SelectStatement stmt)Method to compile the ordering clause of the query into the SQLStatement.protected voidQueryToSQLMapper. compileResult(SelectStatement stmt)Method to compile the result clause of the query into the SQLStatement.protected StatementNewObjectMappingQueryToSQLMapper. getStatementMappingForNewObjectExpression(NewObjectExpression expr, SelectStatement stmt)Convenience method to convert a NewObjectExpression into a StatementNewObjectMapping.protected voidQueryToSQLMapper. selectFetchPlanForCandidate(SelectStatement stmt, StatementClassMapping resultClassMapping, int maxFetchDepth) -
Uses of SelectStatement in org.datanucleus.store.rdbms.request
Methods in org.datanucleus.store.rdbms.request with parameters of type SelectStatement Modifier and Type Method Description protected intFetchRequest. processMembersOfClass(SelectStatement sqlStatement, org.datanucleus.FetchPlanForClass fpClass, org.datanucleus.metadata.AbstractMemberMetaData[] mmds, org.datanucleus.metadata.AbstractMemberMetaData[] mmdsToStore, DatastoreClass table, SQLTable sqlTbl, StatementClassMapping mappingDef, Collection fetchCallbacks, org.datanucleus.ClassLoaderResolver clr, List<Integer> memberNumbersToStore)Method to process the supplied members of the class, adding to the SQLStatement as required. -
Uses of SelectStatement in org.datanucleus.store.rdbms.scostore
Methods in org.datanucleus.store.rdbms.scostore that return SelectStatement Modifier and Type Method Description SelectStatementIteratorStatement. getSelectStatement()protected SelectStatementFKMapStore. getSQLStatementForGet(org.datanucleus.state.DNStateManager ownerSM)Method to return an SQLStatement for retrieving the value for a key.protected SelectStatementJoinMapStore. getSQLStatementForGet(org.datanucleus.state.DNStateManager ownerSM)Method to return an SQLStatement for retrieving the value for a key.Constructors in org.datanucleus.store.rdbms.scostore with parameters of type SelectStatement Constructor Description ElementIteratorStatement(org.datanucleus.store.types.scostore.Store store, SelectStatement stmt, StatementClassMapping elemClsMapping)IteratorStatement(org.datanucleus.store.types.scostore.Store store, SelectStatement stmt)KeyValueIteratorStatement(org.datanucleus.store.types.scostore.Store store, SelectStatement stmt, StatementClassMapping keyClsMapping, StatementClassMapping valueClsMapping) -
Uses of SelectStatement in org.datanucleus.store.rdbms.sql
Fields in org.datanucleus.store.rdbms.sql with type parameters of type SelectStatement Modifier and Type Field Description protected List<SelectStatement>SelectStatement. unionsList of unioned SelectStatements (if any).Methods in org.datanucleus.store.rdbms.sql that return SelectStatement Modifier and Type Method Description SelectStatementInsertStatement. getSelectStatement()protected SelectStatementUnionStatementGenerator. getSelectStatementForCandidate(String className, org.datanucleus.ExecutionContext ec)Convenience method to return the SelectStatement for a particular class.protected SelectStatementUnionStatementGenerator. getSQLStatementForCandidateViaJoin(String className)Convenience method to return the SQLStatement for a particular class selecting a join table.SelectStatementDiscriminatorStatementGenerator. getStatement(org.datanucleus.ExecutionContext ec)Accessor for the SelectStatement.SelectStatementSelectStatementGenerator. getStatement(org.datanucleus.ExecutionContext ec)Accessor for the statement.SelectStatementUnionStatementGenerator. getStatement(org.datanucleus.ExecutionContext ec)Accessor for the SelectStatement for the candidate [+ subclasses].Methods in org.datanucleus.store.rdbms.sql that return types with arguments of type SelectStatement Modifier and Type Method Description List<SelectStatement>SelectStatement. getUnions()Accessor for the unioned statements.Methods in org.datanucleus.store.rdbms.sql with parameters of type SelectStatement Modifier and Type Method Description static voidSQLStatementHelper. selectFetchPlanOfCandidateInStatement(SelectStatement stmt, StatementClassMapping mappingDefinition, org.datanucleus.metadata.AbstractClassMetaData candidateCmd, org.datanucleus.FetchPlan fetchPlan, int maxFetchDepth)Method to select all fetch plan members for the candidate class.static voidSQLStatementHelper. selectFetchPlanOfSourceClassInStatement(SelectStatement stmt, StatementClassMapping mappingDefinition, org.datanucleus.FetchPlan fetchPlan, SQLTable sourceSqlTbl, org.datanucleus.metadata.AbstractClassMetaData sourceCmd, int maxFetchDepth)Method to select all fetch plan members for the "source" class.static voidSQLStatementHelper. selectFetchPlanOfSourceClassInStatement(SelectStatement stmt, StatementClassMapping mappingDefinition, org.datanucleus.FetchPlan fetchPlan, SQLTable sourceSqlTbl, org.datanucleus.metadata.AbstractClassMetaData sourceCmd, int maxFetchDepth, SQLJoin.JoinType inputJoinType)Method to select all fetch plan members for the "source" class.static voidSQLStatementHelper. selectIdentityOfCandidateInStatement(SelectStatement stmt, StatementClassMapping mappingDefinition, org.datanucleus.metadata.AbstractClassMetaData candidateCmd)Method to select the identity for the candidate class.static voidSQLStatementHelper. selectMemberOfSourceInStatement(SelectStatement stmt, StatementClassMapping mappingDefinition, org.datanucleus.FetchPlan fetchPlan, SQLTable sourceSqlTbl, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr, int maxFetchPlanLimit, SQLJoin.JoinType inputJoinType)Method to select the specified member (field/property) of the source table in the passed SQL statement.voidInsertStatement. setSelectStatement(SelectStatement selectStmt)voidSelectStatement. union(SelectStatement stmt)Method to union this SQL statement with another SQL statement.
-