Module org.eclipse.persistence.core
Class SubSelectDatabaseTable
- java.lang.Object
-
- org.eclipse.persistence.internal.helper.DatabaseTable
-
- org.eclipse.persistence.internal.expressions.SubSelectDatabaseTable
-
- All Implemented Interfaces:
Serializable,Cloneable,CoreTable
public class SubSelectDatabaseTable extends DatabaseTable
INTERNAL: Allow a table to reference a sub-select to support sub-selects in the from clause.- Author:
- James Sutherland
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.helper.DatabaseTable
creationSuffix, foreignKeyConstraints, indexes, name, qualifiedName, tableQualifier, uniqueConstraints, useDelimiters
-
-
Constructor Summary
Constructors Constructor Description SubSelectDatabaseTable(Expression subSelect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressiongetSubSelect()voidprintSQL(ExpressionSQLPrinter printer)Print the table's SQL from clause.voidsetSubSelect(Expression subSelect)-
Methods inherited from class org.eclipse.persistence.internal.helper.DatabaseTable
addForeignKeyConstraint, addIndex, addUniqueConstraints, clone, equals, equals, getCreationSuffix, getForeignKeyConstraint, getForeignKeyConstraints, getIndexes, getName, getNameDelimited, getQualifiedName, getQualifiedNameDelimited, getTableQualifier, getTableQualifierDelimited, getUniqueConstraints, hasForeignKeyConstraints, hashCode, hasIndexes, hasName, hasUniqueConstraints, isDecorated, resetQualifiedName, setCreationSuffix, setName, setName, setPossiblyQualifiedName, setPossiblyQualifiedName, setTableQualifier, setTableQualifier, setUseDelimiters, shouldUseDelimiters, toString
-
-
-
-
Constructor Detail
-
SubSelectDatabaseTable
public SubSelectDatabaseTable(Expression subSelect)
-
-
Method Detail
-
getSubSelect
public Expression getSubSelect()
-
setSubSelect
public void setSubSelect(Expression subSelect)
-
printSQL
public void printSQL(ExpressionSQLPrinter printer) throws IOException
Print the table's SQL from clause.- Overrides:
printSQLin classDatabaseTable- Throws:
IOException
-
-