public static class TreeReaderFactory.NullTreeReader extends TreeReaderFactory.TreeReader
TypeReader.ReaderCategory, TypeReader.ReadPhasecolumnId, context, present, readerCategory| Constructor and Description |
|---|
NullTreeReader(int columnId,
TreeReaderFactory.Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
nextVector(ColumnVector vector,
boolean[] isNull,
int size,
org.apache.hadoop.hive.ql.io.filter.FilterContext filterContext,
TypeReader.ReadPhase readPhase)
Populates the isNull vector array in the previousVector object based on
the present stream values.
|
void |
seek(PositionProvider[] position,
TypeReader.ReadPhase readPhase)
Seek to the given position.
|
void |
seek(PositionProvider position,
TypeReader.ReadPhase readPhase) |
void |
skipRows(long rows,
TypeReader.ReadPhase readPhase) |
void |
startStripe(StripePlanner planner,
TypeReader.ReadPhase readPhase) |
checkEncoding, countNonNullRowsInRange, countNonNulls, createIntegerReader, getColumnId, getPresent, getReaderCategoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldProcessChildpublic NullTreeReader(int columnId,
TreeReaderFactory.Context context)
throws IOException
IOExceptionpublic void startStripe(StripePlanner planner, TypeReader.ReadPhase readPhase)
startStripe in interface TypeReaderstartStripe in class TreeReaderFactory.TreeReaderpublic void skipRows(long rows,
TypeReader.ReadPhase readPhase)
public void seek(PositionProvider position, TypeReader.ReadPhase readPhase)
seek in interface TypeReaderseek in class TreeReaderFactory.TreeReaderpublic void seek(PositionProvider[] position, TypeReader.ReadPhase readPhase)
TreeReaderFactory.TreeReaderseek in interface TypeReaderseek in class TreeReaderFactory.TreeReaderposition - the indexes loaded from the filereadPhase - the current readPhasepublic void nextVector(ColumnVector vector, boolean[] isNull, int size, org.apache.hadoop.hive.ql.io.filter.FilterContext filterContext, TypeReader.ReadPhase readPhase)
TreeReaderFactory.TreeReadernextVector in interface TypeReadernextVector in class TreeReaderFactory.TreeReadervector - The columnVector object whose isNull value is populatedisNull - Whether the each value was null at a higher level. If
isNull is null, all values are non-null.size - Size of the column vectorfilterContext - the information about the rows that were selected
by the filter.readPhase - The read levelCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.