public final class LazySimpleDeserializeRead extends DeserializeRead
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
categories, currentBoolean, currentByte, currentBytes, currentBytesLength, currentBytesStart, currentDateWritable, currentDecimal64, currentDouble, currentExternalBufferNeeded, currentExternalBufferNeededLen, currentFloat, currentHiveDecimalWritable, currentHiveIntervalDayTimeWritable, currentHiveIntervalYearMonthWritable, currentInt, currentLong, currentShort, currentTimestampWritable, dataTypePhysicalVariations, primitiveCategories, typeInfos, useExternalBuffer| Constructor and Description |
|---|
LazySimpleDeserializeRead(TypeInfo[] typeInfos,
boolean useExternalBuffer,
LazySerDeParameters lazyParams) |
LazySimpleDeserializeRead(TypeInfo[] typeInfos,
org.apache.hadoop.hive.common.type.DataTypePhysicalVariation[] dataTypePhysicalVariations,
boolean useExternalBuffer,
LazySerDeParameters lazyParams) |
| Modifier and Type | Method and Description |
|---|---|
static int |
byteArrayCompareRanges(byte[] arg1,
int start1,
byte[] arg2,
int start2,
int len) |
void |
copyToExternalBuffer(byte[] externalBuffer,
int externalBufferStart) |
void |
finishComplexVariableFieldsType() |
String |
getDetailedReadPositionString() |
boolean |
isEndOfInputReached() |
boolean |
isNextComplexMultiValue() |
boolean |
isReadFieldSupported() |
void |
logExceptionMessage(byte[] bytes,
int bytesStart,
int bytesLength,
ObjectInspector.Category dataComplexCategory,
PrimitiveObjectInspector.PrimitiveCategory dataPrimitiveCategory) |
void |
logExceptionMessage(byte[] bytes,
int bytesStart,
int bytesLength,
String dataType) |
boolean |
readComplexField() |
boolean |
readField(int fieldIndex) |
boolean |
readNextField() |
void |
set(byte[] bytes,
int offset,
int length) |
void |
skipNextField() |
getDataTypePhysicalVariations, typeInfospublic LazySimpleDeserializeRead(TypeInfo[] typeInfos, org.apache.hadoop.hive.common.type.DataTypePhysicalVariation[] dataTypePhysicalVariations, boolean useExternalBuffer, LazySerDeParameters lazyParams)
public LazySimpleDeserializeRead(TypeInfo[] typeInfos, boolean useExternalBuffer, LazySerDeParameters lazyParams)
public void set(byte[] bytes,
int offset,
int length)
set in class DeserializeReadpublic String getDetailedReadPositionString()
getDetailedReadPositionString in class DeserializeReadpublic boolean readNextField()
throws IOException
readNextField in class DeserializeReadIOExceptionpublic void skipNextField()
throws IOException
skipNextField in class DeserializeReadIOExceptionpublic boolean isReadFieldSupported()
isReadFieldSupported in class DeserializeReadpublic boolean readField(int fieldIndex)
throws IOException
readField in class DeserializeReadIOExceptionpublic void copyToExternalBuffer(byte[] externalBuffer,
int externalBufferStart)
copyToExternalBuffer in class DeserializeReadpublic boolean isNextComplexMultiValue()
isNextComplexMultiValue in class DeserializeReadpublic boolean readComplexField()
throws IOException
readComplexField in class DeserializeReadIOExceptionpublic void finishComplexVariableFieldsType()
finishComplexVariableFieldsType in class DeserializeReadpublic boolean isEndOfInputReached()
isEndOfInputReached in class DeserializeReadpublic void logExceptionMessage(byte[] bytes,
int bytesStart,
int bytesLength,
ObjectInspector.Category dataComplexCategory,
PrimitiveObjectInspector.PrimitiveCategory dataPrimitiveCategory)
public void logExceptionMessage(byte[] bytes,
int bytesStart,
int bytesLength,
String dataType)
public static int byteArrayCompareRanges(byte[] arg1,
int start1,
byte[] arg2,
int start2,
int len)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.