com.hazelcast.jet.avro

## Class AvroProcessors

- java.lang.Object
- - com.hazelcast.jet.avro.AvroProcessors

-     public final class AvroProcessors
      extends Object

  Static utility class with factories of Apache Avro source and sink processors.
  Since:
    3.0

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <D,T> ProcessorMetaSupplier` | `readFilesP(String directory, String glob, boolean sharedFileSystem, SupplierEx<? extends org.apache.avro.io.DatumReader<D>> datumReaderSupplier, BiFunctionEx<String,? super D,T> mapOutputFn)` Returns a supplier of processors for `AvroSources.filesBuilder(java.lang.String, java.lang.Class<D>)`.
    `static <D> ProcessorMetaSupplier` | `writeFilesP(String directoryName, SupplierEx<org.apache.avro.Schema> schemaSupplier, SupplierEx<org.apache.avro.io.DatumWriter<D>> datumWriterSupplier)` Returns a supplier of processors for `AvroSinks.files(java.lang.String, com.hazelcast.jet.function.SupplierEx<org.apache.avro.Schema>, com.hazelcast.jet.function.SupplierEx<org.apache.avro.io.DatumWriter<R>>)`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### readFilesP

          @Nonnull
          public static <D,T> ProcessorMetaSupplier readFilesP(@Nonnull
                                                                        String directory,
                                                                        @Nonnull
                                                                        String glob,
                                                                        boolean sharedFileSystem,
                                                                        @Nonnull
                                                                        SupplierEx<? extends org.apache.avro.io.DatumReader<D>> datumReaderSupplier,
                                                                        @Nonnull
                                                                        BiFunctionEx<String,? super D,T> mapOutputFn)

      Returns a supplier of processors for `AvroSources.filesBuilder(java.lang.String, java.lang.Class<D>)`.

    - #### writeFilesP

          @Nonnull
          public static <D> ProcessorMetaSupplier writeFilesP(@Nonnull
                                                                       String directoryName,
                                                                       @Nonnull
                                                                       SupplierEx<org.apache.avro.Schema> schemaSupplier,
                                                                       @Nonnull
                                                                       SupplierEx<org.apache.avro.io.DatumWriter<D>> datumWriterSupplier)

      Returns a supplier of processors for `AvroSinks.files(java.lang.String, com.hazelcast.jet.function.SupplierEx<org.apache.avro.Schema>, com.hazelcast.jet.function.SupplierEx<org.apache.avro.io.DatumWriter<R>>)`.

Copyright © 2019. All rights reserved.