public class LazyBinaryColumnarStruct extends ColumnarStructBase
prjColIDs
Constructor and Description |
---|
LazyBinaryColumnarStruct(ObjectInspector oi,
List<Integer> notSkippedColumnIDs) |
Modifier and Type | Method and Description |
---|---|
protected LazyObjectBase |
createLazyObjectBase(ObjectInspector objectInspector)
create the lazy object for this field
|
protected int |
getLength(ObjectInspector objectInspector,
ByteArrayRef cachedByteArrayRef,
int start,
int length)
Check if the object is null and return the length of the stream
|
getField, getFieldsAsList, getRawDataSerializedSize, init
public LazyBinaryColumnarStruct(ObjectInspector oi, List<Integer> notSkippedColumnIDs)
protected int getLength(ObjectInspector objectInspector, ByteArrayRef cachedByteArrayRef, int start, int length)
ColumnarStructBase
getLength
in class ColumnarStructBase
cachedByteArrayRef
- the bytes of the objectstart
- the start offsetlength
- the lengthprotected LazyObjectBase createLazyObjectBase(ObjectInspector objectInspector)
ColumnarStructBase
createLazyObjectBase
in class ColumnarStructBase
objectInspector
- the object inspector for the fieldCopyright © 2017 The Apache Software Foundation. All rights reserved.