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