Class ProcessorManagers
- java.lang.Object
-
- org.apache.druid.frame.processor.manager.ProcessorManagers
-
public class ProcessorManagers extends Object
Utility functions for creatingProcessorManager
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> ProcessorManager<T,Long>
none()
Manager with zero processors.static <T> ProcessorManager<T,Long>
of(Iterable<? extends FrameProcessor<T>> processors)
Manager with processors derived from anIterable
.static <T> ProcessorManager<T,Long>
of(Supplier<? extends FrameProcessor<T>> processors)
Manager with a single processor derived from aSupplier
.static <T> ProcessorManager<T,Long>
of(Sequence<? extends FrameProcessor<T>> processors)
Manager with processors derived from aSequence
.
-
-
-
Method Detail
-
none
public static <T> ProcessorManager<T,Long> none()
Manager with zero processors. Returns the number of processors run.
-
of
public static <T> ProcessorManager<T,Long> of(Sequence<? extends FrameProcessor<T>> processors)
Manager with processors derived from aSequence
. Returns the number of processors run.
-
of
public static <T> ProcessorManager<T,Long> of(Iterable<? extends FrameProcessor<T>> processors)
Manager with processors derived from anIterable
. Returns the number of processors run.
-
of
public static <T> ProcessorManager<T,Long> of(Supplier<? extends FrameProcessor<T>> processors)
Manager with a single processor derived from aSupplier
. Returns the number of processors run.
-
-