io.deephaven.kafka.ingest.GenericRecordStringFieldCopier 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.ObjectChunk;
import io.deephaven.chunk.WritableChunk;
import io.deephaven.chunk.WritableObjectChunk;
import io.deephaven.chunk.attributes.Values;
import org.apache.avro.Schema;
import org.apache.avro.generic.GenericRecord;
import java.util.Objects;
import java.util.regex.Pattern;
public class GenericRecordStringFieldCopier extends GenericRecordFieldCopier {
public GenericRecordStringFieldCopier(final String fieldPathStr, final Pattern separator, final Schema schema) {
super(fieldPathStr, separator, schema);
}
@Override
public void copyField(
final ObjectChunk