Package org.mybatis.dynamic.sql
Class SqlTable
java.lang.Object
org.mybatis.dynamic.sql.SqlTable
- All Implemented Interfaces:
TableExpression
- Direct Known Subclasses:
AliasableSqlTable
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
Deprecated.protected
Deprecated.please useAliasableSqlTable
if you need to change the table name at runtimeprotected
SqlTable
(Supplier<Optional<String>> catalogSupplier, Supplier<Optional<String>> schemaSupplier, String tableName) Deprecated.please useAliasableSqlTable
if you need to change the table name at runtime -
Method Summary
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
-
Field Details
-
nameSupplier
-
-
Constructor Details
-
SqlTable
-
SqlTable
Deprecated.please useAliasableSqlTable
if you need to change the table name at runtimeCreates an SqlTable whose name can be changed at runtime.- Parameters:
tableNameSupplier
- table name supplier
-
SqlTable
Deprecated.please useAliasableSqlTable
if you need to change the table name at runtimeCreates an SqlTable whose name can be changed at runtime.- Parameters:
schemaSupplier
- schema suppliertableName
- table name
-
SqlTable
@Deprecated protected SqlTable(Supplier<Optional<String>> catalogSupplier, Supplier<Optional<String>> schemaSupplier, String tableName) Deprecated.please useAliasableSqlTable
if you need to change the table name at runtimeCreates an SqlTable whose name can be changed at runtime.- Parameters:
catalogSupplier
- catalog supplierschemaSupplier
- schema suppliertableName
- table name
-
-
Method Details
-
tableNameAtRuntime
-
allColumns
-
column
-
column
-
column
-
accept
- Specified by:
accept
in interfaceTableExpression
-
tableAlias
-
of
-
AliasableSqlTable
if you need to change the table name at runtime