org.datanucleus.store.rdbms.query
Class Oracle99QueryStatement

java.lang.Object
  extended by org.datanucleus.store.rdbms.query.QueryStatement
      extended by org.datanucleus.store.rdbms.query.Oracle99QueryStatement
All Implemented Interfaces:
org.datanucleus.store.mapped.expression.QueryExpression

public class Oracle99QueryStatement
extends QueryStatement

Representation of a Query Statement in Oracle 9 or upper. Oracle has an NLSSortOrder control for order clauses. Default value is "LATIN", but a value of "BINARY" disables native language sorting


Nested Class Summary
 
Nested classes/interfaces inherited from class org.datanucleus.store.rdbms.query.QueryStatement
QueryStatement.Join
 
Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.query.QueryStatement
candidateAlias, candidateClass, crossJoins, distinctResults, extensions, groupingExpressions, hasAggregateExpression, havingExpr, isExistsSubQuery, joins, joinsToTableAliases, LOCALISER, mainTableAlias, mainTableExpr, orderingDirections, orderingExpressions, rangeCount, rangeOffset, selected, stmtText, storeMgr, tableExprsByAlias, union, updateExprs, whereExpr
 
Constructor Summary
Oracle99QueryStatement(org.datanucleus.store.mapped.DatastoreContainerObject initialTable, org.datanucleus.store.mapped.DatastoreIdentifier alias, org.datanucleus.ClassLoaderResolver clr)
          QueryStatement constructor.
 
Method Summary
protected  org.datanucleus.store.mapped.expression.StatementText generateOrderingStatement()
          Convenience method to generate the ordering statement to add to the overall query statement.
 
Methods inherited from class org.datanucleus.store.rdbms.query.QueryStatement
addExtension, addGroupingExpression, addOrderingColumnsToSelect, andCondition, andCondition, assertNotFrozen, crossJoin, getCandidateAlias, getCandidateClass, getClassLoaderResolver, getExtensions, getMainTableAlias, getMainTableExpression, getNumberOfScalarExpressions, getParent, getStoreManager, getTableExpression, getValueForExtension, hasCrossJoin, hasNucleusTypeExpression, innerJoin, innerJoin, iorCondition, iorCondition, leftOuterJoin, leftOuterJoin, newTableExpression, newTableExpression, reset, rightOuterJoin, rightOuterJoin, select, select, select, select, selectDatastoreIdentity, selectField, selectScalarExpression, selectScalarExpression, selectVersion, setCandidateInformation, setDistinctResults, setExistsSubQuery, setHaving, setOrdering, setParent, setRangeConstraint, setUpdates, toDeleteStatementText, toStatementText, toUpdateStatementText, union
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Oracle99QueryStatement

public Oracle99QueryStatement(org.datanucleus.store.mapped.DatastoreContainerObject initialTable,
                              org.datanucleus.store.mapped.DatastoreIdentifier alias,
                              org.datanucleus.ClassLoaderResolver clr)
QueryStatement constructor.

Parameters:
initialTable - The main table for this statement.
alias - The alias for the main table
clr - ClassLoader resolver
Method Detail

generateOrderingStatement

protected org.datanucleus.store.mapped.expression.StatementText generateOrderingStatement()
Convenience method to generate the ordering statement to add to the overall query statement.

Overrides:
generateOrderingStatement in class QueryStatement
Returns:
The ordering statement


Copyright © 2009. All Rights Reserved.