io.deephaven.kafka.ingest.FieldCopier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-extensions-kafka Show documentation
Show all versions of deephaven-extensions-kafka Show documentation
Kafka: Integrating Engine tables with Kafka
The newest version!
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.kafka.ingest;
import io.deephaven.chunk.ChunkType;
import io.deephaven.chunk.ObjectChunk;
import io.deephaven.chunk.WritableChunk;
import io.deephaven.chunk.attributes.Values;
/**
* Copy fields from a chunk of Kafka key or value objects to a chunk that will be published to a blink table.
*/
public interface FieldCopier {
/**
* Copy fields from a chunk of Kafka key or value objects to a chunk that will be published to a blink table.
*
* @param inputChunk the chunk containing Kafka keys or values
* @param publisherChunk the output chunk for the provided field
* @param sourceOffset the source chunk offset
* @param destOffset the destination chunk offset
* @param length the length to copy
*/
void copyField(
ObjectChunk