public class RecursiveQueryDetails<T extends DBRow> extends QueryDetails
| Constructor and Description |
|---|
RecursiveQueryDetails() |
| Modifier and Type | Method and Description |
|---|---|
RecursiveSQLDirection |
getDirection() |
ColumnProvider |
getKeyToFollow() |
DBQuery |
getOriginalQuery() |
RecursiveSQLDirection |
getRecursiveQueryDirection() |
T |
getTypeToReturn() |
DBQueryable |
query(DBDatabase db)
Performs the DB query and returns a list of all actions performed in the
process.
|
void |
setKeyToFollow(ColumnProvider keyToFollow) |
void |
setOriginalQuery(DBQuery originalQuery) |
void |
setRecursiveQueryDirection(RecursiveSQLDirection recursiveQueryDirection) |
void |
setTypeToReturn(T typeToReturn) |
addToSortOrder, blankResults, clear, clearResults, clearSortOrder, fillResultSetFromSQL, fillResultSetInternal, getAllConditions, getAllQueryTables, getAllRows, getAllRowsForPage, getANSIJoinClause, getAssumedQueryTables, getConditions, getCount, getCurrentPage, getDBReportGroupByColumns, getExistingInstances, getExpressionColumns, getExtraExamples, getHavingColumns, getOptionalQueryTables, getOptions, getOrSetExistingInstanceForRow, getRawSQLClause, getRelatedInstancesFromQuery, getRequiredQueryTables, getResults, getResultSetForSQL, getResultsPageIndex, getResultSQL, getResultsRowLimit, getSelectSQLClause, getSQLForQuery, getTimeoutInMilliseconds, isGroupedQuery, needsResults, setCurrentPage, setDefinition, setExistingInstancesForTable, setFieldsFromColumns, setGroupByRequiredByAggregator, setHavingColumns, setOptions, setQueryRowFromResultSet, setQueryType, setRawSQLClause, setResults, setResultsPageIndex, setResultSQL, setResultsRowLimit, setSelectSQLClause, setSortOrder, setTimeoutInMilliseconds, toSQLString, willCreateBlankQuerypublic DBQuery getOriginalQuery()
public void setOriginalQuery(DBQuery originalQuery)
originalQuery - the originalQuery to setpublic ColumnProvider getKeyToFollow()
public void setKeyToFollow(ColumnProvider keyToFollow)
keyToFollow - the keyToFollow to setpublic T getTypeToReturn()
public void setTypeToReturn(T typeToReturn)
typeToReturn - the typeToReturn to setpublic RecursiveSQLDirection getDirection()
public RecursiveSQLDirection getRecursiveQueryDirection()
public void setRecursiveQueryDirection(RecursiveSQLDirection recursiveQueryDirection)
recursiveQueryDirection - the recursiveQueryDirection to setpublic DBQueryable query(DBDatabase db) throws SQLException
DBQueryableThe supplied row will be changed by the action in an appropriate way, however the Action will contain an unchanged and unchangeable copy of the row for internal use.
query in interface DBQueryablequery in class QueryDetailsdb - the target database.
Support DBvolution at Patreon
SQLException - Database operations may throw SQLExceptionsCopyright © 2018. All Rights Reserved.