org.apache.ws.jaxme.sqls.oracle

Class OraSelectStatementImpl

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

Constructor Summary

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

Method Summary

void
addOrderColumn(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, newTableReference, setTable

Constructor Details

OraSelectStatementImpl

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

Method Details

addOrderColumn

public void addOrderColumn(Object pObject,
                           boolean pDescending,
                           boolean pNullsFirst)
Specified by:
addOrderColumn in interface OraSelectStatement

getConnectBy

public CombinedConstraint getConnectBy()
Implements the CONNECT BY PRIOR part of a START WITH ... CONNECT BY PRIOR ... clause.
Specified by:
getConnectBy in interface OraSelectStatement

getStartWith

public CombinedConstraint getStartWith()
Implements the START WITH part of a START WITH ... CONNECT BY PRIOR ... clause.
Specified by:
getStartWith in interface OraSelectStatement