public class SpatialIndexInputFormat.SpatialIndexRecordReader
extends java.lang.Object
Constructor and Description |
---|
SpatialIndexRecordReader(<any> indexReader, Configuration conf)
Crates a new instance
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
Text |
createKey() |
RecordInfo |
createValue() |
SpatialOperation |
getOperation()
Gets the operation used to filter records
|
long |
getPos() |
float |
getProgress() |
boolean |
next(Text key, RecordInfo value) |
void |
setOperation(SpatialOperation operation)
Sets the operation to filter records.
|
public SpatialIndexRecordReader(<any> indexReader, Configuration conf) throws java.io.IOException
indexReader
- a reader of spatial index internal indexesconf
- the job configurationjava.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public Text createKey()
public RecordInfo createValue()
public SpatialOperation getOperation()
SpatialOperation
value.public long getPos() throws java.io.IOException
java.io.IOException
public float getProgress() throws java.io.IOException
java.io.IOException
public boolean next(Text key, RecordInfo value) throws java.io.IOException
java.io.IOException
public void setOperation(SpatialOperation operation)
SpatialOperationConfig
operation
- a SpatialOperation
valueCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.