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

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

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

import io.deephaven.processor.function.ObjectProcessorFunctions;
import io.deephaven.function.TypedFunction;

import java.util.List;

public final class FieldCopierAdapter {

    public static FieldCopier of(TypedFunction f) {
        return new FieldCopierProcessorImpl(ObjectProcessorFunctions.of(List.of(f)));
    }
}