Class TableSubquery
java.lang.Object
io.github.torand.fastersql.subquery.TableSubquery
Implements a subquery to be used in a FROM clause.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalias()
Gets the table alias specified for this relation.Gets the column aliases referenced by this fragment.Specifies the table alias name of this relation.Gets the columns referenced by this fragment.Gets the statement parameters introduced by this fragment.query()
Gets the SELECT statement of this subquery.Formats object as an SQL fragment.
-
Constructor Details
-
TableSubquery
Creates a table subquery.- Parameters:
query
- the subquery.
-
-
Method Details
-
sql
Description copied from interface:Sql
Formats object as an SQL fragment. -
params
Description copied from interface:Sql
Gets the statement parameters introduced by this fragment. -
columnRefs
Description copied from interface:Sql
Gets the columns referenced by this fragment. For validation purposes.- Specified by:
columnRefs
in interfaceSql
- Returns:
- the columns referenced by this fragment.
-
aliasRefs
Description copied from interface:Sql
Gets the column aliases referenced by this fragment. For validation purposes. -
query
Description copied from interface:Subquery
Gets the SELECT statement of this subquery. -
as
Description copied from interface:Relation
Specifies the table alias name of this relation. -
alias
Description copied from interface:Relation
Gets the table alias specified for this relation.
-