public class PartitionOp extends Unary
org.gcube.searchservice.searchlibrary.resultset.ResultSet based on a
specified field and produce a new
org.gcube.searchservice.searchlibrary.resultset.ResultSet output
holding the locators of the produced
org.gcube.searchservice.searchlibrary.resultset.ResultSets, one for
each different value of that field.inLocator, operatorParameters, stats, timeout, TimeoutDef, timeUnit, TimeUnitDef| Constructor and Description |
|---|
PartitionOp(URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats)
Creates a new
PartitionOp with the default timeout for the reader
and the writer |
PartitionOp(URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
Creates a new
PartitionOp with configurable timeout for the
reader and the writer |
public PartitionOp(URI inLocator, Map<String,String> operatorParameters, StatsContainer stats) throws Exception
PartitionOp with the default timeout for the reader
and the writerinLocator - The locator of the inputoperatorParameters - The field that the partition will be applied upon ("clusterBy")stats - StatisticsExceptionpublic PartitionOp(URI inLocator, Map<String,String> operatorParameters, StatsContainer stats, long timeout, TimeUnit timeUnit) throws Exception
PartitionOp with configurable timeout for the
reader and the writerinLocator - The locator of the inputoperatorParameters - The field that the partition will be applied upon ("clusterBy")stats - Statisticstimeout - The timeout to be used both by the reader and the writertimeUnit - The time unit of the timeout usedExceptionCopyright © 2017. All Rights Reserved.