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
HiveException
public void init(List<String> typeNames) throws HiveException
HiveException
public void init(PrimitiveTypeInfo[] primitiveTypeInfos, List<Integer> columnMap) throws HiveException
HiveException
public int getCount()
public void setOutput(ByteStream.Output output)
public void setOutputAppend(ByteStream.Output output)
public boolean serializeWrite(VectorizedRowBatch batch, int batchIndex) throws IOException
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.