K
-V
-public class PointKeyInputFormat<K,V> extends WrapperInputFormat<PointWritable,NullWritable,K,V>
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> |
createRecordReader(InputSplit split, TaskAttemptContext context) |
createInternalInputFormat, getFittingInputSplit, getInternalInputFormat, getInternalInputFormatClass, getRecordInfoProvider, getRecordInfoProviderClass, getSplits, setInternalInputFormatClass, setRecordInfoProviderClass
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.