public class SpatialFieldBinningStrategy<T> extends SpatialBinningStrategy<T>
complexGeometryBinning, geometryFieldName, precision, type| Constructor and Description |
|---|
SpatialFieldBinningStrategy()
Create a binning strategy using a small number of bins.
|
SpatialFieldBinningStrategy(SpatialBinningType type,
int precision,
boolean useCentroidOnly,
String geometryFieldName) |
fromBinary, getBins, getPrecision, toBinaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWeightpublic SpatialFieldBinningStrategy()
public SpatialFieldBinningStrategy(SpatialBinningType type, int precision, boolean useCentroidOnly, String geometryFieldName)
type - S2, H3, or GeoHashprecision - the resolution/length of the hashuseCentroidOnly - desired behavior for complex geometry such as lines and polygons whether
to just aggregate one hash value based on the centroid or to apply the aggregation to
all overlapping centroidsgeometryFieldName - the geometry field to bin onCopyright © 2013–2021. All rights reserved.