Package org.apache.pulsar.sql.presto
Class PulsarColumnHandle
java.lang.Object
org.apache.pulsar.sql.presto.PulsarColumnHandle
- All Implemented Interfaces:
io.prestosql.decoder.DecoderColumnHandle,io.prestosql.spi.connector.ColumnHandle
This class represents the basic information about a presto column.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumColumn Handle keyValue type, used for keyValue schema. -
Constructor Summary
ConstructorsConstructorDescriptionPulsarColumnHandle(String connectorId, String name, io.prestosql.spi.type.Type type, boolean hidden, boolean internal, String mapping, String dataFormat, String formatHint, PulsarColumnHandle.HandleKeyValueType handleKeyValueType) -
Method Summary
-
Constructor Details
-
PulsarColumnHandle
-
-
Method Details
-
getConnectorId
-
getName
- Specified by:
getNamein interfaceio.prestosql.decoder.DecoderColumnHandle
-
getMapping
- Specified by:
getMappingin interfaceio.prestosql.decoder.DecoderColumnHandle
-
getDataFormat
- Specified by:
getDataFormatin interfaceio.prestosql.decoder.DecoderColumnHandle
-
getType
public io.prestosql.spi.type.Type getType()- Specified by:
getTypein interfaceio.prestosql.decoder.DecoderColumnHandle
-
isHidden
public boolean isHidden() -
isInternal
public boolean isInternal()- Specified by:
isInternalin interfaceio.prestosql.decoder.DecoderColumnHandle
-
getFormatHint
- Specified by:
getFormatHintin interfaceio.prestosql.decoder.DecoderColumnHandle
-
getHandleKeyValueType
-
isKey
public boolean isKey() -
isValue
public boolean isValue() -
equals
-
hashCode
public int hashCode() -
toString
-