org.apache.hadoop.hive.serde2.columnar
Class ColumnarStruct
java.lang.Object
org.apache.hadoop.hive.serde2.columnar.ColumnarStructBase
org.apache.hadoop.hive.serde2.columnar.ColumnarStruct
- All Implemented Interfaces:
- SerDeStatsStruct
public class ColumnarStruct
- extends ColumnarStructBase
ColumnarStruct is different from LazyStruct in that ColumnarStruct's field
Object get parsed at its initialize time when call
ColumnarStructBase.init(BytesRefArrayWritable cols)
, while LazyStruct parse fields in a
lazy way.
ColumnarStruct
public ColumnarStruct(ObjectInspector oi,
List<Integer> notSkippedColumnIDs,
org.apache.hadoop.io.Text nullSequence)
- Construct a ColumnarStruct object with the TypeInfo. It creates the first
level object at the first place
- Parameters:
oi
- the ObjectInspector representing the type of this LazyStruct.notSkippedColumnIDs
- the column ids that should not be skipped
Copyright © 2014 The Apache Software Foundation. All rights reserved.