Class Oracle99QueryStatement

  extended by
      extended by
All Implemented Interfaces:

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
Field Summary
Fields inherited from class
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( initialTable, alias, org.datanucleus.ClassLoaderResolver clr)
          QueryStatement constructor.
Method Summary
protected generateOrderingStatement()
          Convenience method to generate the ordering statement to add to the overall query statement.
Methods inherited from class
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


public Oracle99QueryStatement( initialTable,
                              org.datanucleus.ClassLoaderResolver clr)
QueryStatement constructor.

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


protected generateOrderingStatement()
Convenience method to generate the ordering statement to add to the overall query statement.

generateOrderingStatement in class QueryStatement
The ordering statement

Copyright © 2009. All Rights Reserved.