com.hazelcast.jet.hadoop

## Class HdfsProcessors

- java.lang.Object
- - com.hazelcast.jet.hadoop.HdfsProcessors

-     public final class HdfsProcessors
      extends Object

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

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <K,V,R> com.hazelcast.jet.hadoop.impl.ReadHdfsP.MetaSupplier<K,V,R>` | `readHdfsP(org.apache.hadoop.mapred.JobConf jobConf, BiFunctionEx<K,V,R> mapper)` Returns a supplier of processors for `HdfsSources.hdfs(JobConf, BiFunctionEx)`.
    `static <E,K,V> ProcessorMetaSupplier` | `writeHdfsP(org.apache.hadoop.mapred.JobConf jobConf, FunctionEx<? super E,K> extractKeyFn, FunctionEx<? super E,V> extractValueFn)` Returns a supplier of processors for `HdfsSinks.hdfs(JobConf, FunctionEx, FunctionEx)`.

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

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

- - ### Method Detail

    - #### readHdfsP

          @Nonnull
          public static <K,V,R> com.hazelcast.jet.hadoop.impl.ReadHdfsP.MetaSupplier<K,V,R> readHdfsP(@Nonnull
                                                                                                               org.apache.hadoop.mapred.JobConf jobConf,
                                                                                                               @Nonnull
                                                                                                               BiFunctionEx<K,V,R> mapper)

      Returns a supplier of processors for `HdfsSources.hdfs(JobConf, BiFunctionEx)`.

    - #### writeHdfsP

          @Nonnull
          public static <E,K,V> ProcessorMetaSupplier writeHdfsP(@Nonnull
                                                                          org.apache.hadoop.mapred.JobConf jobConf,
                                                                          @Nonnull
                                                                          FunctionEx<? super E,K> extractKeyFn,
                                                                          @Nonnull
                                                                          FunctionEx<? super E,V> extractValueFn)

      Returns a supplier of processors for `HdfsSinks.hdfs(JobConf, FunctionEx, FunctionEx)`.

Copyright © 2020. All rights reserved.