K
-V
-public class PointKeyInputFormat<K,V> extends BaseCompositeInputFormat<PointWritable,NullWritable>
InputFormat
implementation that returns each input record with spatial information as single point. If the record's geometry is different than point, a centroid is calculated. This class is used along with KMeansSampler
.Constructor and Description |
---|
PointKeyInputFormat() |
Modifier and Type | Method and Description |
---|---|
<any> |
getRecordReader(InputSplit split, JobConf conf, Reporter reporter) |
createInternalInputFormat, createRecordInfoProvider, getInternalInputFormat, getInternalInputFormatClass, getRecordInfoProvider, getRecordInfoProviderClass, getSplits, setInternalInputFormatClass, setRecordInfoProviderClass
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.