Package io.deephaven.kafka.ingest
Class GenericRecordByteFieldCopier
java.lang.Object
io.deephaven.kafka.ingest.GenericRecordFieldCopier
io.deephaven.kafka.ingest.GenericRecordByteFieldCopier
- All Implemented Interfaces:
FieldCopier
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.kafka.ingest.FieldCopier
FieldCopier.Factory -
Field Summary
Fields inherited from class io.deephaven.kafka.ingest.GenericRecordFieldCopier
fieldPath -
Constructor Summary
ConstructorsConstructorDescriptionGenericRecordByteFieldCopier(String fieldPathStr, Pattern separator, org.apache.avro.Schema schema) -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyField(ObjectChunk<Object, Values> inputChunk, WritableChunk<Values> publisherChunk, int sourceOffset, int destOffset, int length) Copy fields from a chunk of Kafka key or value objects to a chunk that will be published to a blink table.
-
Constructor Details
-
GenericRecordByteFieldCopier
-
-
Method Details
-
copyField
public void copyField(ObjectChunk<Object, Values> inputChunk, WritableChunk<Values> publisherChunk, int sourceOffset, int destOffset, int length) Description copied from interface:FieldCopierCopy fields from a chunk of Kafka key or value objects to a chunk that will be published to a blink table.- Parameters:
inputChunk- the chunk containing Kafka keys or valuespublisherChunk- the output chunk for the provided fieldsourceOffset- the source chunk offsetdestOffset- the destination chunk offsetlength- the length to copy
-