Package io.trino.plugin.jdbc
Class JdbcColumnHandle
java.lang.Object
io.trino.plugin.jdbc.JdbcColumnHandle
- All Implemented Interfaces:
ColumnHandle
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionJdbcColumnHandle(String columnName, JdbcTypeHandle jdbcTypeHandle, Type columnType) JdbcColumnHandle(String columnName, JdbcTypeHandle jdbcTypeHandle, Type columnType, boolean nullable, Optional<String> comment) Deprecated.This constructor is intended to be used by JSON deserialization only. -
Method Summary
Modifier and TypeMethodDescriptionstatic JdbcColumnHandle.Builderbuilder()static JdbcColumnHandle.BuilderbuilderFrom(JdbcColumnHandle handle) booleanlonginthashCode()booleantoString()
-
Constructor Details
-
JdbcColumnHandle
-
JdbcColumnHandle
@Deprecated public JdbcColumnHandle(String columnName, JdbcTypeHandle jdbcTypeHandle, Type columnType, boolean nullable, Optional<String> comment) Deprecated.This constructor is intended to be used by JSON deserialization only. Usebuilder()instead.
-
-
Method Details
-
getColumnName
-
getJdbcTypeHandle
-
getColumnType
-
isNullable
public boolean isNullable() -
getComment
-
getColumnMetadata
-
getColumnSchema
-
equals
- Specified by:
equalsin interfaceColumnHandle- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceColumnHandle- Overrides:
hashCodein classObject
-
toString
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes() -
builder
-
builderFrom
-