Search in sources :

Example 1 with TransformBatchedP

use of com.hazelcast.jet.impl.processor.TransformBatchedP in project hazelcast by hazelcast.

the class JoinScanProcessorSupplier method get.

@Nonnull
@Override
public Collection<? extends Processor> get(int count) {
    List<Processor> processors = new ArrayList<>(count);
    for (int i = 0; i < count; i++) {
        Processor processor = new TransformBatchedP<JetSqlRow, JetSqlRow>(joinFn(joinInfo, map, rightRowProjectorSupplier, evalContext)) {

            @Override
            public boolean isCooperative() {
                return false;
            }
        };
        processors.add(processor);
    }
    return processors;
}
Also used : Processor(com.hazelcast.jet.core.Processor) TransformBatchedP(com.hazelcast.jet.impl.processor.TransformBatchedP) ArrayList(java.util.ArrayList) Nonnull(javax.annotation.Nonnull)

Aggregations

Processor (com.hazelcast.jet.core.Processor)1 TransformBatchedP (com.hazelcast.jet.impl.processor.TransformBatchedP)1 ArrayList (java.util.ArrayList)1 Nonnull (javax.annotation.Nonnull)1