Interface PreparableStatement
- All Superinterfaces:
Sql
- All Known Implementing Classes:
DeleteStatement
,InsertBatchStatement
,InsertStatement
,SelectStatement
,TruncateStatement
,UpdateStatement
Defines a statement that can be formatted as SQL.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Stream
<ColumnAlias> Gets the column aliases referenced by this fragment.Gets the columns referenced by this fragment.default String
Gets the SQL of specified dialect for this statement.
-
Method Details
-
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. -
toString
Gets the SQL of specified dialect for this statement.- Parameters:
dialect
- the SQL dialect.- Returns:
- the SQL statement.
-