public final class FromTableDef extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
FromTableDef(String table_name)
A simple table definition (not aliased).
|
FromTableDef(String table_name,
String table_alias)
Constructs the table def.
|
FromTableDef(TableSelectExpression select)
A simple sub-query table definition (not aliased).
|
FromTableDef(TableSelectExpression select,
String table_alias)
A table that is a sub-query and given an aliased name.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones the object (deep clone of immutable members).
|
String |
getAlias()
Returns the alias for this table (or null if no alias given).
|
String |
getName()
Returns the name of the table.
|
TableSelectExpression |
getTableSelectExpression()
Returns the TableSelectExpression if this is a subquery table.
|
String |
getUniqueKey()
Returns the unique key.
|
boolean |
isSubQueryTable()
Returns true if this item in the FROM clause is a subquery table.
|
void |
prepareExpressions(ExpressionPreparer preparer)
Prepares the expressions in this table def.
|
void |
setUniqueKey(String unique_key)
Sets the unique key.
|
public FromTableDef(String table_name, String table_alias)
public FromTableDef(String table_name)
public FromTableDef(TableSelectExpression select, String table_alias)
public FromTableDef(TableSelectExpression select)
public void setUniqueKey(String unique_key)
public String getName()
public String getAlias()
public String getUniqueKey()
public boolean isSubQueryTable()
public TableSelectExpression getTableSelectExpression()
public void prepareExpressions(ExpressionPreparer preparer) throws DatabaseException
DatabaseExceptionpublic Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2016. All rights reserved.