org.apache.hadoop.hive.serde2.columnar
Class LazyBinaryColumnarStruct
java.lang.Object
org.apache.hadoop.hive.serde2.columnar.ColumnarStructBase
org.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarStruct
- All Implemented Interfaces:
- SerDeStatsStruct
public class LazyBinaryColumnarStruct
- extends ColumnarStructBase
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyBinaryColumnarStruct
public LazyBinaryColumnarStruct(ObjectInspector oi,
ArrayList<Integer> notSkippedColumnIDs)
getLength
protected int getLength(ObjectInspector objectInspector,
ByteArrayRef cachedByteArrayRef,
int start,
int length)
- Description copied from class:
ColumnarStructBase
- Check if the object is null and return the length of the stream
- Specified by:
getLength
in class ColumnarStructBase
cachedByteArrayRef
- the bytes of the objectstart
- the start offsetlength
- the length
- Returns:
- -1 for null, >=0 for length
createLazyObjectBase
protected LazyObjectBase createLazyObjectBase(ObjectInspector objectInspector)
- Description copied from class:
ColumnarStructBase
- create the lazy object for this field
- Specified by:
createLazyObjectBase
in class ColumnarStructBase
- Parameters:
objectInspector
- the object inspector for the field
- Returns:
- the lazy object for the field
Copyright © 2013 The Apache Software Foundation