public class LazySimpleDeserializeRead extends Object implements DeserializeRead
DeserializeRead.ReadBinaryResults, DeserializeRead.ReadBytesResults, DeserializeRead.ReadDateResults, DeserializeRead.ReadDecimalResults, DeserializeRead.ReadHiveCharResults, DeserializeRead.ReadHiveVarcharResults, DeserializeRead.ReadIntervalDayTimeResults, DeserializeRead.ReadIntervalYearMonthResults, DeserializeRead.ReadStringResults, DeserializeRead.ReadTimestampResults
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
LazySimpleDeserializeRead(PrimitiveTypeInfo[] primitiveTypeInfos,
byte separator,
LazySerDeParameters lazyParams) |
public LazySimpleDeserializeRead(PrimitiveTypeInfo[] primitiveTypeInfos, byte separator, LazySerDeParameters lazyParams)
public PrimitiveTypeInfo[] primitiveTypeInfos()
primitiveTypeInfos
in interface DeserializeRead
public void set(byte[] bytes, int offset, int length)
set
in interface DeserializeRead
public boolean readCheckNull()
readCheckNull
in interface DeserializeRead
public void logExceptionMessage(byte[] bytes, int bytesStart, int bytesLength, String dataType)
public void extraFieldsCheck()
extraFieldsCheck
in interface DeserializeRead
public boolean readBeyondConfiguredFieldsWarned()
readBeyondConfiguredFieldsWarned
in interface DeserializeRead
public boolean readBeyondBufferRangeWarned()
readBeyondBufferRangeWarned
in interface DeserializeRead
public boolean bufferRangeHasExtraDataWarned()
bufferRangeHasExtraDataWarned
in interface DeserializeRead
public boolean readBoolean()
readBoolean
in interface DeserializeRead
public byte readByte()
readByte
in interface DeserializeRead
public short readShort()
readShort
in interface DeserializeRead
public int readInt()
readInt
in interface DeserializeRead
public long readLong()
readLong
in interface DeserializeRead
public float readFloat()
readFloat
in interface DeserializeRead
public double readDouble()
readDouble
in interface DeserializeRead
public DeserializeRead.ReadStringResults createReadStringResults()
createReadStringResults
in interface DeserializeRead
public void readString(DeserializeRead.ReadStringResults readStringResults)
readString
in interface DeserializeRead
public DeserializeRead.ReadHiveCharResults createReadHiveCharResults()
createReadHiveCharResults
in interface DeserializeRead
public void readHiveChar(DeserializeRead.ReadHiveCharResults readHiveCharResults) throws IOException
readHiveChar
in interface DeserializeRead
IOException
public DeserializeRead.ReadHiveVarcharResults createReadHiveVarcharResults()
createReadHiveVarcharResults
in interface DeserializeRead
public void readHiveVarchar(DeserializeRead.ReadHiveVarcharResults readHiveVarcharResults) throws IOException
readHiveVarchar
in interface DeserializeRead
IOException
public DeserializeRead.ReadBinaryResults createReadBinaryResults()
createReadBinaryResults
in interface DeserializeRead
public void readBinary(DeserializeRead.ReadBinaryResults readBinaryResults)
readBinary
in interface DeserializeRead
public DeserializeRead.ReadDateResults createReadDateResults()
createReadDateResults
in interface DeserializeRead
public void readDate(DeserializeRead.ReadDateResults readDateResults)
readDate
in interface DeserializeRead
public DeserializeRead.ReadIntervalYearMonthResults createReadIntervalYearMonthResults()
createReadIntervalYearMonthResults
in interface DeserializeRead
public void readIntervalYearMonth(DeserializeRead.ReadIntervalYearMonthResults readIntervalYearMonthResults) throws IOException
readIntervalYearMonth
in interface DeserializeRead
IOException
public DeserializeRead.ReadIntervalDayTimeResults createReadIntervalDayTimeResults()
createReadIntervalDayTimeResults
in interface DeserializeRead
public void readIntervalDayTime(DeserializeRead.ReadIntervalDayTimeResults readIntervalDayTimeResults) throws IOException
readIntervalDayTime
in interface DeserializeRead
IOException
public DeserializeRead.ReadTimestampResults createReadTimestampResults()
createReadTimestampResults
in interface DeserializeRead
public void readTimestamp(DeserializeRead.ReadTimestampResults readTimestampResults)
readTimestamp
in interface DeserializeRead
public DeserializeRead.ReadDecimalResults createReadDecimalResults()
createReadDecimalResults
in interface DeserializeRead
public void readHiveDecimal(DeserializeRead.ReadDecimalResults readDecimalResults)
readHiveDecimal
in interface DeserializeRead
public static int byteArrayCompareRanges(byte[] arg1, int start1, byte[] arg2, int start2, int len)
Copyright © 2017 The Apache Software Foundation. All rights reserved.