org.apache.ws.jaxme.sqls.oracle
Class OraSelectStatementImpl

java.lang.Object
  extended by org.apache.ws.jaxme.sqls.impl.StatementImpl
      extended by org.apache.ws.jaxme.sqls.impl.ConstrainedStatementImpl
          extended by org.apache.ws.jaxme.sqls.impl.SelectStatementImpl
              extended by org.apache.ws.jaxme.sqls.oracle.OraSelectStatementImpl
All Implemented Interfaces:
ConstrainedStatement, OraSelectStatement, SelectStatement, Statement

public class OraSelectStatementImpl
extends SelectStatementImpl
implements OraSelectStatement

Author:
Jochen Wiedmann

Nested Class Summary
static class OraSelectStatementImpl.OraOrderColumnImpl
          Default implementation of OraSelectStatement.OraOrderColumn.
 
Nested classes/interfaces inherited from class org.apache.ws.jaxme.sqls.impl.SelectStatementImpl
SelectStatementImpl.OrderColumnImpl
 
Nested classes/interfaces inherited from interface org.apache.ws.jaxme.sqls.oracle.OraSelectStatement
OraSelectStatement.OraOrderColumn
 
Nested classes/interfaces inherited from interface org.apache.ws.jaxme.sqls.SelectStatement
SelectStatement.OrderColumn
 
Constructor Summary
OraSelectStatementImpl(SQLFactory pFactory)
          Creates a new instance with the given object factory.
 
Method Summary
 void addOrderColumn(java.lang.Object pObject, boolean pDescending, boolean pNullsFirst)
          Adds the given order column with the given values for SelectStatement.OrderColumn.isDescending() and OraSelectStatement.OraOrderColumn.isNullsFirst().
 CombinedConstraint getConnectBy()
          Implements the CONNECT BY PRIOR part of a START WITH ...
 CombinedConstraint getStartWith()
          Implements the START WITH part of a START WITH ...
 
Methods inherited from class org.apache.ws.jaxme.sqls.impl.SelectStatementImpl
addOrderColumn, addOrderColumn, addOrderColumn, addResultColumn, createView, createView, getMaxRows, getOrderColumns, getResultColumns, getSelectTableReference, getSelectTableReferences, getSkippedRows, isDistinct, newTableReference, setDistinct, setMaxRows, setSkippedRows
 
Methods inherited from class org.apache.ws.jaxme.sqls.impl.ConstrainedStatementImpl
getWhere
 
Methods inherited from class org.apache.ws.jaxme.sqls.impl.StatementImpl
createFunction, getSQLFactory, getTableReference, newCase, setTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.sqls.SelectStatement
addOrderColumn, addOrderColumn, addOrderColumn, addResultColumn, createView, createView, getMaxRows, getOrderColumns, getResultColumns, getSelectTableReference, getSelectTableReferences, getSkippedRows, isDistinct, setDistinct, setMaxRows, setSkippedRows
 
Methods inherited from interface org.apache.ws.jaxme.sqls.ConstrainedStatement
getWhere
 
Methods inherited from interface org.apache.ws.jaxme.sqls.Statement
createFunction, getSQLFactory, getTableReference, newCase, setTable
 

Constructor Detail

OraSelectStatementImpl

public OraSelectStatementImpl(SQLFactory pFactory)
Creates a new instance with the given object factory.

Method Detail

getStartWith

public CombinedConstraint getStartWith()
Description copied from interface: OraSelectStatement
Implements the START WITH part of a START WITH ... CONNECT BY PRIOR ... clause.

Specified by:
getStartWith in interface OraSelectStatement
See Also:
OraSelectStatement.getConnectBy()

getConnectBy

public CombinedConstraint getConnectBy()
Description copied from interface: OraSelectStatement
Implements the CONNECT BY PRIOR part of a START WITH ... CONNECT BY PRIOR ... clause.

Specified by:
getConnectBy in interface OraSelectStatement
See Also:
OraSelectStatement.getStartWith()

addOrderColumn

public void addOrderColumn(java.lang.Object pObject,
                           boolean pDescending,
                           boolean pNullsFirst)
Description copied from interface: OraSelectStatement
Adds the given order column with the given values for SelectStatement.OrderColumn.isDescending() and OraSelectStatement.OraOrderColumn.isNullsFirst().

Specified by:
addOrderColumn in interface OraSelectStatement