|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.columnar.ColumnarStructBase
public abstract class ColumnarStructBase
Field Summary | |
---|---|
protected int[] |
prjColIDs
|
Constructor Summary | |
---|---|
ColumnarStructBase(ObjectInspector oi,
ArrayList<Integer> notSkippedColumnIDs)
|
Method Summary | |
---|---|
protected abstract LazyObjectBase |
createLazyObjectBase(ObjectInspector objectInspector)
create the lazy object for this field |
Object |
getField(int fieldID)
Get one field out of the struct. |
ArrayList<Object> |
getFieldsAsList()
Get the values of the fields as an ArrayList. |
protected abstract int |
getLength(ObjectInspector objectInspector,
ByteArrayRef cachedByteArrayRef,
int start,
int length)
Check if the object is null and return the length of the stream |
long |
getRawDataSerializedSize()
Rerurns the serialized size of the object. |
void |
init(BytesRefArrayWritable cols)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int[] prjColIDs
Constructor Detail |
---|
public ColumnarStructBase(ObjectInspector oi, ArrayList<Integer> notSkippedColumnIDs)
Method Detail |
---|
public Object getField(int fieldID)
fieldID
- The field ID
protected abstract int getLength(ObjectInspector objectInspector, ByteArrayRef cachedByteArrayRef, int start, int length)
objectInspector
- cachedByteArrayRef
- the bytes of the objectstart
- the start offsetlength
- the length
protected abstract LazyObjectBase createLazyObjectBase(ObjectInspector objectInspector)
objectInspector
- the object inspector for the field
public void init(BytesRefArrayWritable cols)
public ArrayList<Object> getFieldsAsList()
public long getRawDataSerializedSize()
SerDeStatsStruct
getRawDataSerializedSize
in interface SerDeStatsStruct
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |