- All Superinterfaces:
Segment
, Visitable
- All Known Implementing Classes:
InlineQuery
, Table
public interface TableLike
extends Segment
A segment that can be used as table in a query.
- Author:
- Jens Schauder
-
Method Summary
Methods inherited from interface org.springframework.data.relational.core.sql.Visitable
visit
-
Method Details
-
column
Creates a new
Column
associated with this
Table
.
Note: This Table
does not track column creation and there is no possibility to enumerate all
Column
s that were created for this table.
- Parameters:
name
- column name, must not be null or empty.
- Returns:
- a new
Column
associated with this Table
.
-
column
Creates a new
Column
associated with this
Table
.
Note: This Table
does not track column creation and there is no possibility to enumerate all
Column
s that were created for this table.
- Parameters:
name
- column name, must not be null or empty.
- Returns:
- a new
Column
associated with this Table
.
- Since:
- 2.0
-
columns
Creates a
List
of
Column
s associated with this
Table
.
Note: This Table
does not track column creation and there is no possibility to enumerate all
Column
s that were created for this table.
- Parameters:
names
- column names, must not be null or empty.
- Returns:
- a new
List
of Column
s associated with this Table
.
-
columns
Creates a
List
of
Column
s associated with this
Table
.
Note: This Table
does not track column creation and there is no possibility to enumerate all
Column
s that were created for this table.
- Parameters:
names
- column names, must not be null or empty.
- Returns:
- a new
List
of Column
s associated with this Table
.
- Since:
- 2.0
-
columns
Creates a
List
of
Column
s associated with this
Table
.
Note: This Table
does not track column creation and there is no possibility to enumerate all
Column
s that were created for this table.
- Parameters:
names
- column names, must not be null or empty.
- Returns:
- a new
List
of Column
s associated with this Table
.
-
asterisk
- Returns:
- the select all marker for this
Table
.
-
getName
- Returns:
- the table name.
-
getReferenceName
- Returns:
- the table name as it is used in references. This can be the actual
name
or an
alias
.