public class TableQuerySource extends QuerySource
| Constructor and Description |
|---|
TableQuerySource(String table) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectParameterValues(List<Object> values) |
void |
collectSqlFragment(CodeWriter writer) |
boolean |
containsTable(String table) |
String |
getTable()
Returns the first table in the list of tables.
|
List<String> |
getTables() |
TableQuerySource |
setNestedAlias(String nestedAlias) |
TableQuerySource |
setPretty(boolean pretty) |
boolean |
shouldWrapWhenNested() |
getNestedAliasgetParameterValues, getSqlFragment, isPretty, printSqlParts, toStringpublic TableQuerySource(String table)
public TableQuerySource setPretty(boolean pretty)
setPretty in class QuerySourcepublic TableQuerySource setNestedAlias(String nestedAlias)
setNestedAlias in class QuerySourcepublic List<String> getTables()
getTables in class QuerySourcepublic String getTable()
QuerySourceReturns the first table in the list of tables.
QuerySource.getTables() instead of this method.getTable in class QuerySourcepublic boolean containsTable(String table)
containsTable in class QuerySourcepublic void collectSqlFragment(CodeWriter writer)
collectSqlFragment in class SqlPartpublic void collectParameterValues(List<Object> values)
collectParameterValues in class SqlPartpublic boolean shouldWrapWhenNested()
shouldWrapWhenNested in class QuerySourceCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.