Package org.mybatis.dynamic.sql
Class SqlTable
- java.lang.Object
-
- org.mybatis.dynamic.sql.SqlTable
-
- All Implemented Interfaces:
TableExpression
- Direct Known Subclasses:
AliasableSqlTable
public class SqlTable extends Object implements TableExpression
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SqlTable(String tableName)
protected
SqlTable(Supplier<String> tableNameSupplier)
protected
SqlTable(Supplier<Optional<String>> schemaSupplier, String tableName)
protected
SqlTable(Supplier<Optional<String>> catalogSupplier, Supplier<Optional<String>> schemaSupplier, String tableName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(TableExpressionVisitor<R> visitor)
BasicColumn
allColumns()
<T> SqlColumn<T>
column(String name)
<T> SqlColumn<T>
column(String name, JDBCType jdbcType)
<T> SqlColumn<T>
column(String name, JDBCType jdbcType, String typeHandler)
static SqlTable
of(String name)
Optional<String>
tableAlias()
String
tableNameAtRuntime()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mybatis.dynamic.sql.TableExpression
isSubQuery
-
-
-
-
Constructor Detail
-
SqlTable
protected SqlTable(String tableName)
-
-
Method Detail
-
tableNameAtRuntime
public String tableNameAtRuntime()
-
allColumns
public BasicColumn allColumns()
-
accept
public <R> R accept(TableExpressionVisitor<R> visitor)
- Specified by:
accept
in interfaceTableExpression
-
-