public class SpatialSampler<K,V>
extends java.lang.Object
Constructor and Description |
---|
SpatialSampler(<any> sampler) |
SpatialSampler(double freq, int numSamples, int maxSplitsSampled) |
Modifier and Type | Method and Description |
---|---|
JGeometryWritable[] |
getSample(AbstractInputDataSet dataSet, InputDataSetConfiguratorHandler confHandler, Configuration conf) |
void |
writeSample(AbstractInputDataSet dataSet, InputDataSetConfiguratorHandler confHandler, Path resultPath, Configuration conf) |
public SpatialSampler(<any> sampler)
public SpatialSampler(double freq, int numSamples, int maxSplitsSampled)
public JGeometryWritable[] getSample(AbstractInputDataSet dataSet, InputDataSetConfiguratorHandler confHandler, Configuration conf) throws java.io.IOException
java.io.IOException
public void writeSample(AbstractInputDataSet dataSet, InputDataSetConfiguratorHandler confHandler, Path resultPath, Configuration conf) throws java.io.IOException
java.io.IOException
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.