public class VectorExtractRow extends Object
Constructor and Description |
---|
VectorExtractRow() |
Modifier and Type | Method and Description |
---|---|
void |
extractRow(VectorizedRowBatch batch,
int batchIndex,
Object[] objects)
Extract an row object from a VectorizedRowBatch at batchIndex.
|
Object |
extractRowColumn(VectorizedRowBatch batch,
int batchIndex,
int logicalColumnIndex)
Extract a row's column object from the ColumnVector at batchIndex in the VectorizedRowBatch.
|
int |
getCount() |
void |
init(List<String> typeNames) |
void |
init(StructObjectInspector structObjectInspector,
List<Integer> projectedColumns) |
public void init(StructObjectInspector structObjectInspector, List<Integer> projectedColumns) throws HiveException
HiveException
public void init(List<String> typeNames) throws HiveException
HiveException
public int getCount()
public Object extractRowColumn(VectorizedRowBatch batch, int batchIndex, int logicalColumnIndex)
batch
- batchIndex
- logicalColumnIndex
- public void extractRow(VectorizedRowBatch batch, int batchIndex, Object[] objects)
batch
- batchIndex
- objects
- Copyright © 2016 The Apache Software Foundation. All rights reserved.