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() |
getNestedAlias
getParameterValues, getSqlFragment, isPretty, printSqlParts, toString
public TableQuerySource(String table)
public TableQuerySource setPretty(boolean pretty)
setPretty
in class QuerySource
public TableQuerySource setNestedAlias(String nestedAlias)
setNestedAlias
in class QuerySource
public List<String> getTables()
getTables
in class QuerySource
public String getTable()
QuerySource
Returns the first table in the list of tables.
QuerySource.getTables()
instead of this method.getTable
in class QuerySource
public boolean containsTable(String table)
containsTable
in class QuerySource
public void collectSqlFragment(CodeWriter writer)
collectSqlFragment
in class SqlPart
public void collectParameterValues(List<Object> values)
collectParameterValues
in class SqlPart
public boolean shouldWrapWhenNested()
shouldWrapWhenNested
in class QuerySource
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.