Package io.deephaven.kafka.ingest
Class GenericRecordArrayFieldCopier
java.lang.Object
io.deephaven.kafka.ingest.GenericRecordFieldCopier
io.deephaven.kafka.ingest.GenericRecordArrayFieldCopier
- 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
ConstructorDescriptionGenericRecordArrayFieldCopier
(String fieldPathStr, Pattern separator, org.apache.avro.Schema schema, Class<?> componentType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyField
(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
-
GenericRecordArrayFieldCopier
-
-
Method Details
-
copyField
public void copyField(ObjectChunk<Object, Values> inputChunk, WritableChunk<Values> publisherChunk, int sourceOffset, int destOffset, int length) Description copied from interface:FieldCopier
Copy 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
-