All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.deephaven.kafka.ingest.GenericRecordFieldCopier Maven / Gradle / Ivy

There is a newer version: 0.37.1
Show newest version
/**
 * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
 */
package io.deephaven.kafka.ingest;

import org.apache.avro.Schema;

import java.util.regex.Pattern;

public abstract class GenericRecordFieldCopier implements FieldCopier {
    protected final int[] fieldPath;
    protected GenericRecordFieldCopier(final String fieldPathStr, final Pattern separator, final Schema schema) {
        this.fieldPath = GenericRecordUtil.getFieldPath(fieldPathStr, separator, schema);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy