public class CatalystPrimitiveConverter
extends parquet.io.api.PrimitiveConverter
parquet.io.api.PrimitiveConverter
that converts Parquet types to Catalyst types.
Constructor and Description |
---|
CatalystPrimitiveConverter(CatalystConverter parent,
int fieldIndex) |
Modifier and Type | Method and Description |
---|---|
void |
addBinary(parquet.io.api.Binary value) |
void |
addBoolean(boolean value) |
void |
addDouble(double value) |
void |
addFloat(float value) |
void |
addInt(int value) |
void |
addLong(long value) |
public CatalystPrimitiveConverter(CatalystConverter parent, int fieldIndex)
public void addBinary(parquet.io.api.Binary value)
addBinary
in class parquet.io.api.PrimitiveConverter
public void addBoolean(boolean value)
addBoolean
in class parquet.io.api.PrimitiveConverter
public void addDouble(double value)
addDouble
in class parquet.io.api.PrimitiveConverter
public void addFloat(float value)
addFloat
in class parquet.io.api.PrimitiveConverter
public void addInt(int value)
addInt
in class parquet.io.api.PrimitiveConverter
public void addLong(long value)
addLong
in class parquet.io.api.PrimitiveConverter