| Package | Description |
|---|---|
| org.apache.pulsar.sql.presto |
Implementation of the connector to the Presto engine.
|
| org.apache.pulsar.sql.presto.decoder.avro |
This package contains decoder for SchemaType.AVRO.
|
| org.apache.pulsar.sql.presto.decoder.json |
This package contains decoder for SchemaType.JSON.
|
| org.apache.pulsar.sql.presto.decoder.primitive |
This package contains decoder for SchemaType of SchemaType.isPrimitive() return true.
|
| org.apache.pulsar.sql.presto.decoder.protobufnative |
This package contains decoder for SchemaType.AVRO.
|
| Modifier and Type | Method and Description |
|---|---|
PulsarColumnHandle.HandleKeyValueType |
PulsarColumnHandle.getHandleKeyValueType() |
PulsarColumnHandle.HandleKeyValueType |
PulsarColumnMetadata.getHandleKeyValueType() |
static PulsarColumnHandle.HandleKeyValueType |
PulsarColumnHandle.HandleKeyValueType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PulsarColumnHandle.HandleKeyValueType[] |
PulsarColumnHandle.HandleKeyValueType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
List<io.prestosql.spi.connector.ColumnMetadata> |
PulsarRowDecoderFactory.extractColumnMetadata(TopicName topicName,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
PulsarColumnHandle.HandleKeyValueType handleKeyValueType)
extract ColumnMetadata from pulsar SchemaInfo and HandleKeyValueType.
|
List<io.prestosql.spi.connector.ColumnMetadata> |
PulsarDispatchingRowDecoderFactory.extractColumnMetadata(TopicName topicName,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
PulsarColumnHandle.HandleKeyValueType handleKeyValueType) |
static String |
PulsarColumnMetadata.getColumnName(PulsarColumnHandle.HandleKeyValueType handleKeyValueType,
String name) |
List<io.prestosql.spi.connector.ColumnMetadata> |
PulsarMetadata.getPulsarColumns(TopicName topicName,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
boolean withInternalColumns,
PulsarColumnHandle.HandleKeyValueType handleKeyValueType)
Convert pulsar schema into presto table metadata.
|
| Constructor and Description |
|---|
PulsarColumnHandle(String connectorId,
String name,
io.prestosql.spi.type.Type type,
boolean hidden,
boolean internal,
String mapping,
String dataFormat,
String formatHint,
PulsarColumnHandle.HandleKeyValueType handleKeyValueType) |
PulsarColumnMetadata(String name,
io.prestosql.spi.type.Type type,
String comment,
String extraInfo,
boolean hidden,
boolean isInternal,
PulsarColumnHandle.HandleKeyValueType handleKeyValueType,
PulsarColumnMetadata.DecoderExtraInfo decoderExtraInfo) |
| Modifier and Type | Method and Description |
|---|---|
List<io.prestosql.spi.connector.ColumnMetadata> |
PulsarAvroRowDecoderFactory.extractColumnMetadata(TopicName topicName,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
PulsarColumnHandle.HandleKeyValueType handleKeyValueType) |
| Modifier and Type | Method and Description |
|---|---|
List<io.prestosql.spi.connector.ColumnMetadata> |
PulsarJsonRowDecoderFactory.extractColumnMetadata(TopicName topicName,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
PulsarColumnHandle.HandleKeyValueType handleKeyValueType) |
| Modifier and Type | Method and Description |
|---|---|
List<io.prestosql.spi.connector.ColumnMetadata> |
PulsarPrimitiveRowDecoderFactory.extractColumnMetadata(TopicName topicName,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
PulsarColumnHandle.HandleKeyValueType handleKeyValueType) |
| Modifier and Type | Method and Description |
|---|---|
List<io.prestosql.spi.connector.ColumnMetadata> |
PulsarProtobufNativeRowDecoderFactory.extractColumnMetadata(TopicName topicName,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
PulsarColumnHandle.HandleKeyValueType handleKeyValueType) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.