public abstract class OrcLazyObject extends Object implements org.apache.hadoop.io.Writable
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
OrcLazyObject.Materializer |
protected static class |
OrcLazyObject.ValueNotPresentException
An exception to indicate null values when materializing primitives.
|
| Modifier and Type | Field and Description |
|---|---|
protected static OrcLazyObject.Materializer |
booleanMaker |
protected static OrcLazyObject.Materializer |
doubleMaker |
protected static OrcLazyObject.Materializer |
floatMaker |
protected static OrcLazyObject.Materializer |
intMaker |
protected static OrcLazyObject.Materializer |
longMaker |
protected Object |
previous |
protected static OrcLazyObject.Materializer |
shortMaker |
| Constructor and Description |
|---|
OrcLazyObject(LazyTreeReader treeReader) |
OrcLazyObject(OrcLazyObject copy) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
LazyTreeReader |
getLazyTreeReader() |
int |
hashCode() |
Object |
materialize() |
protected Object |
materialize(long row,
Object previous) |
boolean |
materializeBoolean() |
double |
materializeDouble() |
float |
materializeFloat() |
void |
materializeHelper(OrcLazyObject.Materializer maker) |
int |
materializeInt() |
long |
materializeLong() |
short |
materializeShort() |
void |
next() |
boolean |
nextIsNull() |
void |
readFields(DataInput dataInput) |
void |
seekToRow(long rowNumber) |
void |
startStripe(Map<StreamName,InStream> streams,
List<OrcProto.ColumnEncoding> encodings,
OrcProto.RowIndex[] indexes,
long rowBaseInStripe) |
void |
write(DataOutput dataOutput) |
protected Object previous
protected static final OrcLazyObject.Materializer doubleMaker
protected static final OrcLazyObject.Materializer floatMaker
protected static final OrcLazyObject.Materializer booleanMaker
protected static final OrcLazyObject.Materializer longMaker
protected static final OrcLazyObject.Materializer intMaker
protected static final OrcLazyObject.Materializer shortMaker
public OrcLazyObject(LazyTreeReader treeReader)
public OrcLazyObject(OrcLazyObject copy)
public void write(DataOutput dataOutput) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput dataInput) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic LazyTreeReader getLazyTreeReader()
public Object materialize() throws IOException
IOExceptionprotected Object materialize(long row, Object previous) throws IOException
IOExceptionpublic void materializeHelper(OrcLazyObject.Materializer maker) throws IOException
IOExceptionpublic double materializeDouble()
throws IOException
IOExceptionpublic float materializeFloat()
throws IOException
IOExceptionpublic boolean materializeBoolean()
throws IOException
IOExceptionpublic long materializeLong()
throws IOException
IOExceptionpublic int materializeInt()
throws IOException
IOExceptionpublic short materializeShort()
throws IOException
IOExceptionpublic void next()
public boolean nextIsNull()
throws IOException
IOExceptionpublic void startStripe(Map<StreamName,InStream> streams, List<OrcProto.ColumnEncoding> encodings, OrcProto.RowIndex[] indexes, long rowBaseInStripe) throws IOException
IOExceptionpublic void seekToRow(long rowNumber)
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2013–2021. All rights reserved.