Class ProtobufRecord
java.lang.Object
io.deephaven.kafka.ingest.protobuf.ProtobufRecord
-
Constructor Summary
ConstructorsConstructorDescriptionProtobufRecord
(com.google.protobuf.Message protoBuf, org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> consumerRecord, boolean allowMissingKeys, boolean allowNullValues, boolean caseInsensitiveSearch) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
int
getArraySize
(String key) org.apache.kafka.clients.consumer.ConsumerRecord<?,
?> com.google.protobuf.Descriptors.FieldDescriptor
com.google.protobuf.Message
int
com.google.protobuf.Message
void
setParallelIdx
(int parallelIdx)
-
Constructor Details
-
ProtobufRecord
public ProtobufRecord(@NotNull com.google.protobuf.Message protoBuf, @NotNull org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> consumerRecord, boolean allowMissingKeys, boolean allowNullValues, boolean caseInsensitiveSearch)
-
-
Method Details
-
getMessage
public com.google.protobuf.Message getMessage() -
getProtoBuf
public com.google.protobuf.Message getProtoBuf() -
getConsumerRecord
public org.apache.kafka.clients.consumer.ConsumerRecord<?,?> getConsumerRecord() -
getAllowMissingKeys
public boolean getAllowMissingKeys() -
getAllowNullValues
public boolean getAllowNullValues() -
getDescriptorForKey
-
getArraySize
-
setParallelIdx
public void setParallelIdx(int parallelIdx) -
getParallelIdx
public int getParallelIdx() -
getValue
-
getValue
-