Package io.github.torand.fastersql.alias
Class TableAlias
java.lang.Object
io.github.torand.fastersql.alias.TableAlias
Represents an alias (label) for a table
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the column aliases referenced by this fragment.Gets the columns referenced by this fragment.name()
Gets the alias name.Gets the statement parameters introduced by this fragment.Formats object as an SQL fragment.
-
Constructor Details
-
TableAlias
Creates a table alias.- Parameters:
name
- the alias name.
-
-
Method Details
-
name
Description copied from interface:Alias
Gets the alias name. -
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.
-