FieldT - thrift field type, i.e. ThriftGeneratedClass._FieldsT - thrift generated classpublic class BeamKafkaThriftTable<FieldT extends org.apache.thrift.TFieldIdEnum,T extends org.apache.thrift.TBase<T,FieldT>> extends BeamKafkaTable
Uses the default thrift schema provider , so it can't handle
custom container typedefs.
numberOfRecordsForRateschema| Constructor and Description |
|---|
BeamKafkaThriftTable(Schema requiredSchema,
java.lang.String bootstrapServers,
java.util.List<java.lang.String> topics,
java.lang.Class<T> thriftClass,
org.apache.thrift.protocol.TProtocolFactory protocolFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected PTransform<PCollection<KV<byte[],byte[]>>,PCollection<Row>> |
getPTransformForInput() |
protected PTransform<PCollection<Row>,PCollection<KV<byte[],byte[]>>> |
getPTransformForOutput() |
buildIOReader, buildIOWriter, getBootstrapServers, getTableStatistics, getTopics, isBounded, updateConsumerPropertiesgetSchemabuildIOReader, constructFilter, supportsProjectsprotected PTransform<PCollection<KV<byte[],byte[]>>,PCollection<Row>> getPTransformForInput()
getPTransformForInput in class BeamKafkaTableprotected PTransform<PCollection<Row>,PCollection<KV<byte[],byte[]>>> getPTransformForOutput()
getPTransformForOutput in class BeamKafkaTable