public static class ConvertTreeReaderFactory.ConvertTreeReader extends TreeReaderFactory.TreeReader
TypeReader.ReaderCategory, TypeReader.ReadPhasecolumnId, context, present, readerCategorycountNonNullRowsInRange, countNonNulls, createIntegerReader, getColumnId, getPresent, getReaderCategory, nextVectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldProcessChildprotected void assignStringGroupVectorEntry(org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector bytesColVector, int elementNum, TypeDescription readerType, byte[] bytes)
protected void assignStringGroupVectorEntry(org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector bytesColVector, int elementNum, TypeDescription readerType, byte[] bytes, int start, int length)
protected void convertStringGroupVectorElement(org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector bytesColVector, int elementNum, TypeDescription readerType)
protected boolean getIsParseError()
protected long parseLongFromString(String string)
protected float parseFloatFromString(String string)
protected double parseDoubleFromString(String string)
protected org.apache.hadoop.hive.common.type.HiveDecimal parseDecimalFromString(String string)
string - public boolean doubleCanFitInLong(double doubleValue)
public void checkEncoding(OrcProto.ColumnEncoding encoding) throws IOException
checkEncoding in interface TypeReadercheckEncoding in class TreeReaderFactory.TreeReaderIOExceptionpublic void startStripe(StripePlanner planner, TypeReader.ReadPhase readPhase) throws IOException
startStripe in interface TypeReaderstartStripe in class TreeReaderFactory.TreeReaderIOExceptionpublic void seek(PositionProvider[] index, TypeReader.ReadPhase readPhase) throws IOException
TreeReaderFactory.TreeReaderseek in interface TypeReaderseek in class TreeReaderFactory.TreeReaderindex - the indexes loaded from the filereadPhase - the current readPhaseIOExceptionpublic void seek(PositionProvider index, TypeReader.ReadPhase readPhase) throws IOException
seek in interface TypeReaderseek in class TreeReaderFactory.TreeReaderIOExceptionpublic void skipRows(long items,
TypeReader.ReadPhase readPhase)
throws IOException
IOExceptionpublic void setConvertVectorElement(int elementNum)
throws IOException
elementNum - IOExceptionpublic void convertVector(org.apache.hadoop.hive.ql.exec.vector.ColumnVector fromColVector, org.apache.hadoop.hive.ql.exec.vector.ColumnVector resultColVector, int batchSize) throws IOException
IOExceptionpublic void downCastAnyInteger(org.apache.hadoop.hive.ql.exec.vector.LongColumnVector longColVector, int elementNum, TypeDescription readerType)
public void downCastAnyInteger(org.apache.hadoop.hive.ql.exec.vector.LongColumnVector longColVector, int elementNum, long inputLong, TypeDescription readerType)
protected boolean integerDownCastNeeded(TypeDescription fileType, TypeDescription readerType)
Copyright © 2013–2024 The Apache Software Foundation. All rights reserved.