Package | Description |
---|---|
oracle.javatools.db.sql |
Contains an API for declaratively parsing SQL queries (SELECT statements).
|
Modifier and Type | Method and Description |
---|---|
SelectObject |
SQLQueryBuilder.constructSelectObject(java.lang.String expression,
java.lang.String alias)
Creates a SelectObject using the given alias and expression, parsing the
expression into an appropriate set of SQLFragments.
|
SelectObject |
AbstractSQLQueryBuilder.constructSelectObject(java.lang.String expression,
java.lang.String alias) |
protected SelectObject |
AbstractSQLQueryBuilder.createSelectObject(DBObjectID colId,
FromObject from,
java.lang.String alias) |
protected SelectObject |
AbstractSQLQueryBuilder.doConstructSelectObject(Column col,
java.util.Map<DBObjectID,FromObject> relsToUse,
java.util.Map<DBObjectID,FromObject> newRels,
java.util.List<java.lang.String> relNames,
java.util.List<java.lang.String> colNames) |
SelectObject |
SelectObjectUsage.getSelectObject()
Deprecated.
- use getSelectObjectID or resolveSelectObjectID
|
SelectObject |
SQLQueryBuilder.getSelectObject(java.lang.String usableAlias)
Returns the select object that can be referenced by this alias.
|
SelectObject |
AbstractSQLQueryBuilder.getSelectObject(java.lang.String usableAlias) |
SelectObject[] |
SQLQueryBuilder.SQLQueryObjectSet.getSelectObjects() |
SelectObject[] |
SQLQuery.getSelectObjects()
Get all the select objects for this query.
|
SelectObject[] |
DeclarativeSQLQuery.getSelectObjects()
Deprecated.
Get all the select objects for this query.
|
static SelectObject[] |
SQLFragmentUtils.getSelectObjects(SQLQuery query)
Gets the SelectObjects for this query.
|
SelectObject |
SelectObjectUsage.resolveSelectObject() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<SelectObject> |
SQLFragmentUtils.expandStarColumns(SQLQuery query)
Gets an expanded list of SelectObjects for the given query that has any
wildcard * columns expanded to the underlying table columns.
|
Modifier and Type | Method and Description |
---|---|
void |
SQLQueryBuilder.addSelectObject(int index,
SelectObject select)
Inserts the given SelectObject to the query at the given index.
|
void |
SQLQuery.addSelectObject(int index,
SelectObject s) |
void |
DeclarativeSQLQuery.addSelectObject(int index,
SelectObject s)
Deprecated.
Add a select object to the given position in the list.
|
void |
AbstractSQLQueryBuilder.addSelectObject(int index,
SelectObject select) |
void |
SQLQueryBuilder.addSelectObject(SelectObject select)
Adds the given SelectObject to the query.
|
void |
SQLQuery.addSelectObject(SelectObject s) |
void |
DeclarativeSQLQuery.addSelectObject(SelectObject s)
Deprecated.
Add a select object to the end of the list.
|
void |
AbstractSQLQueryBuilder.addSelectObject(SelectObject select) |
protected void |
AbstractSQLQueryBuilder.addSelectObjects(SelectObject[] selects) |
java.lang.String |
AbstractSQLQueryBuilder.getColumnName(SelectObject sel) |
SQLFragment[] |
SQLQueryBuilder.getDependentObjects(SelectObject select)
Returns all objects that are dependent on the given SelectObject.
|
SQLFragment[] |
AbstractSQLQueryBuilder.getDependentObjects(SelectObject select)
Gets the objects in the query that are dependent on the given select
object.
|
int |
SQLQuery.indexOf(SelectObject s) |
int |
DeclarativeSQLQuery.indexOf(SelectObject s)
Deprecated.
Returns the index of the given SelectObject in the query's SELECT clause,
or -1 if it isn't in the clause.
|
void |
SQLQuery.moveSelectObject(SelectObject s,
int newIndex) |
void |
DeclarativeSQLQuery.moveSelectObject(SelectObject s,
int newIndex)
Deprecated.
Moves the given SelectObject within the query's SELECT clause.
|
protected SQLFragment |
AbstractSQLQueryBuilder.parseSelectExpression(java.lang.String expression,
SelectObject creating) |
boolean |
SQLQueryBuilder.removeSelectObject(SelectObject obj)
Removes the given SelectObject from the SQLQuery.
|
boolean |
SQLQuery.removeSelectObject(SelectObject s) |
boolean |
DeclarativeSQLQuery.removeSelectObject(SelectObject s)
Deprecated.
Remove a select object from the list.
|
boolean |
AbstractSQLQueryBuilder.removeSelectObject(SelectObject obj) |
void |
SQLQueryBuilder.replaceSelectObject(SelectObject oldSelect,
SelectObject newSelect)
Replaces the existing select object with a new one.
|
void |
AbstractSQLQueryBuilder.replaceSelectObject(SelectObject oldSelect,
SelectObject newSelect) |
void |
SelectObjectUsage.setSelectObject(SelectObject used)
Deprecated.
- use setSelectObjectID
|
void |
SQLQuery.setSelectObjects(SelectObject[] selects)
Set all the select objects for this query - defining the SELECT clause.
|
void |
DeclarativeSQLQuery.setSelectObjects(SelectObject[] selects)
Deprecated.
Set all the select objects for this query.
|
protected void |
AbstractSQLQueryBuilder.setViewColDataType(Column col,
SelectObject so) |
Constructor and Description |
---|
SelectObjectUsage(SelectObject select,
FromObject from) |