public class VectorSerializeRow extends Object
| Constructor and Description |
|---|
VectorSerializeRow(SerializeWrite serializeWrite) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
void |
init(List<String> typeNames) |
void |
init(List<String> typeNames,
int[] columnMap) |
void |
init(PrimitiveTypeInfo[] primitiveTypeInfos,
List<Integer> columnMap) |
boolean |
serializeWrite(VectorizedRowBatch batch,
int batchIndex) |
void |
setOutput(ByteStream.Output output) |
void |
setOutputAppend(ByteStream.Output output) |
public VectorSerializeRow(SerializeWrite serializeWrite)
public void init(List<String> typeNames, int[] columnMap) throws HiveException
HiveExceptionpublic void init(List<String> typeNames) throws HiveException
HiveExceptionpublic void init(PrimitiveTypeInfo[] primitiveTypeInfos, List<Integer> columnMap) throws HiveException
HiveExceptionpublic int getCount()
public void setOutput(ByteStream.Output output)
public void setOutputAppend(ByteStream.Output output)
public boolean serializeWrite(VectorizedRowBatch batch, int batchIndex) throws IOException
IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.