Package io.trino.plugin.jdbc
Class JdbcTableHandle
- java.lang.Object
-
- io.trino.plugin.jdbc.JdbcTableHandle
-
- All Implemented Interfaces:
ConnectorTableHandle
public final class JdbcTableHandle extends Object implements ConnectorTableHandle
-
-
Constructor Summary
Constructors Constructor Description JdbcTableHandle(JdbcRelationHandle relationHandle, TupleDomain<ColumnHandle> constraint, OptionalLong limit, Optional<List<JdbcColumnHandle>> columns, int nextSyntheticColumnId)JdbcTableHandle(SchemaTableName schemaTableName, RemoteTableName remoteTableName)JdbcTableHandle(SchemaTableName schemaTableName, String catalogName, String schemaName, String tableName)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description JdbcNamedRelationHandleasPlainTable()booleanequals(Object obj)StringgetCatalogName()Deprecated.UseasPlainTable().getRemoteTableName().getCatalogName()instead, but see those methods for more information, as this is not a drop-in replacement.Optional<List<JdbcColumnHandle>>getColumns()TupleDomain<ColumnHandle>getConstraint()OptionalLonggetLimit()intgetNextSyntheticColumnId()JdbcRelationHandlegetRelationHandle()RemoteTableNamegetRemoteTableName()Deprecated.UseasPlainTable().getRemoteTableName()instead, but see those methods for more information, as this is not a drop-in replacement.JdbcNamedRelationHandlegetRequiredNamedRelation()StringgetSchemaName()Deprecated.UseasPlainTable().getRemoteTableName().getSchemaName()instead, but see those methods for more information, as this is not a drop-in replacement.SchemaTableNamegetSchemaTableName()Deprecated.UseasPlainTable().getSchemaTableName()instead, but see those methods for more information, as this is not a drop-in replacement.StringgetTableName()Deprecated.UseasPlainTable().getRemoteTableName().getTableName()instead, but see those methods for more information, as this is not a drop-in replacement.inthashCode()booleanisNamedRelation()booleanisSynthetic()StringtoString()
-
-
-
Constructor Detail
-
JdbcTableHandle
@Deprecated public JdbcTableHandle(SchemaTableName schemaTableName, @Nullable String catalogName, @Nullable String schemaName, String tableName)
Deprecated.
-
JdbcTableHandle
public JdbcTableHandle(SchemaTableName schemaTableName, RemoteTableName remoteTableName)
-
JdbcTableHandle
public JdbcTableHandle(JdbcRelationHandle relationHandle, TupleDomain<ColumnHandle> constraint, OptionalLong limit, Optional<List<JdbcColumnHandle>> columns, int nextSyntheticColumnId)
-
-
Method Detail
-
getSchemaTableName
@Deprecated public SchemaTableName getSchemaTableName()
Deprecated.UseasPlainTable().getSchemaTableName()instead, but see those methods for more information, as this is not a drop-in replacement.
-
getRemoteTableName
@Deprecated public RemoteTableName getRemoteTableName()
Deprecated.UseasPlainTable().getRemoteTableName()instead, but see those methods for more information, as this is not a drop-in replacement.
-
asPlainTable
public JdbcNamedRelationHandle asPlainTable()
-
getRequiredNamedRelation
public JdbcNamedRelationHandle getRequiredNamedRelation()
-
getRelationHandle
public JdbcRelationHandle getRelationHandle()
-
getCatalogName
@Deprecated @Nullable public String getCatalogName()
Deprecated.UseasPlainTable().getRemoteTableName().getCatalogName()instead, but see those methods for more information, as this is not a drop-in replacement.
-
getSchemaName
@Deprecated @Nullable public String getSchemaName()
Deprecated.UseasPlainTable().getRemoteTableName().getSchemaName()instead, but see those methods for more information, as this is not a drop-in replacement.
-
getTableName
@Deprecated public String getTableName()
Deprecated.UseasPlainTable().getRemoteTableName().getTableName()instead, but see those methods for more information, as this is not a drop-in replacement.
-
getConstraint
public TupleDomain<ColumnHandle> getConstraint()
-
getLimit
public OptionalLong getLimit()
-
getColumns
public Optional<List<JdbcColumnHandle>> getColumns()
-
getNextSyntheticColumnId
public int getNextSyntheticColumnId()
-
isSynthetic
public boolean isSynthetic()
-
isNamedRelation
public boolean isNamedRelation()
-
-