public class LazyBinaryDeserializeRead 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 |
---|
LazyBinaryDeserializeRead(PrimitiveTypeInfo[] primitiveTypeInfos) |
public LazyBinaryDeserializeRead(PrimitiveTypeInfo[] primitiveTypeInfos)
public PrimitiveTypeInfo[] primitiveTypeInfos()
primitiveTypeInfos
in interface DeserializeRead
public void set(byte[] bytes, int offset, int length)
set
in interface DeserializeRead
public boolean readCheckNull() throws IOException
readCheckNull
in interface DeserializeRead
IOException
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() throws IOException
readBoolean
in interface DeserializeRead
IOException
public byte readByte() throws IOException
readByte
in interface DeserializeRead
IOException
public short readShort() throws IOException
readShort
in interface DeserializeRead
IOException
public int readInt() throws IOException
readInt
in interface DeserializeRead
IOException
public long readLong() throws IOException
readLong
in interface DeserializeRead
IOException
public float readFloat() throws IOException
readFloat
in interface DeserializeRead
IOException
public double readDouble() throws IOException
readDouble
in interface DeserializeRead
IOException
public DeserializeRead.ReadStringResults createReadStringResults()
createReadStringResults
in interface DeserializeRead
public void readString(DeserializeRead.ReadStringResults readStringResults) throws IOException
readString
in interface DeserializeRead
IOException
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) throws IOException
readBinary
in interface DeserializeRead
IOException
public DeserializeRead.ReadDateResults createReadDateResults()
createReadDateResults
in interface DeserializeRead
public void readDate(DeserializeRead.ReadDateResults readDateResults) throws IOException
readDate
in interface DeserializeRead
IOException
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) throws IOException
readTimestamp
in interface DeserializeRead
IOException
public DeserializeRead.ReadDecimalResults createReadDecimalResults()
createReadDecimalResults
in interface DeserializeRead
public void readHiveDecimal(DeserializeRead.ReadDecimalResults readDecimalResults) throws IOException
readHiveDecimal
in interface DeserializeRead
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.