public class OrcRawRecordMerger extends Object implements AcidInputFormat.RawReader<OrcStruct>
Modifier and Type | Method and Description |
---|---|
void |
close() |
RecordIdentifier |
createKey() |
OrcStruct |
createValue() |
int |
getColumns()
Get the number of columns in the underlying rows.
|
ObjectInspector |
getObjectInspector() |
long |
getPos() |
float |
getProgress() |
boolean |
isDelete(OrcStruct value) |
boolean |
next(RecordIdentifier recordIdentifier,
OrcStruct prev) |
public boolean next(RecordIdentifier recordIdentifier, OrcStruct prev) throws IOException
next
in interface org.apache.hadoop.mapred.RecordReader<RecordIdentifier,OrcStruct>
IOException
public RecordIdentifier createKey()
createKey
in interface org.apache.hadoop.mapred.RecordReader<RecordIdentifier,OrcStruct>
public OrcStruct createValue()
createValue
in interface org.apache.hadoop.mapred.RecordReader<RecordIdentifier,OrcStruct>
public long getPos() throws IOException
getPos
in interface org.apache.hadoop.mapred.RecordReader<RecordIdentifier,OrcStruct>
IOException
public void close() throws IOException
close
in interface org.apache.hadoop.mapred.RecordReader<RecordIdentifier,OrcStruct>
IOException
public float getProgress() throws IOException
getProgress
in interface org.apache.hadoop.mapred.RecordReader<RecordIdentifier,OrcStruct>
IOException
public ObjectInspector getObjectInspector()
getObjectInspector
in interface AcidInputFormat.RawReader<OrcStruct>
public boolean isDelete(OrcStruct value)
isDelete
in interface AcidInputFormat.RawReader<OrcStruct>
public int getColumns()
Copyright © 2017 The Apache Software Foundation. All rights reserved.