public class CatalystArrayConverter extends CatalystConverter
parquet.io.api.GroupConverter that converts a single-element groups that
match the characteristics of an array (see
ParquetTypesConverter) into an
ArrayType.
| Constructor and Description |
|---|
CatalystArrayConverter(org.apache.spark.sql.catalyst.types.DataType elementType,
int index,
CatalystConverter parent) |
CatalystArrayConverter(org.apache.spark.sql.catalyst.types.DataType elementType,
int index,
CatalystConverter parent,
scala.collection.mutable.Buffer<Object> buffer) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.sql.catalyst.types.DataType |
elementType() |
void |
end() |
parquet.io.api.Converter |
getConverter(int fieldIndex) |
int |
index()
The index of this converter in the parent
|
static int |
INITIAL_ARRAY_SIZE() |
int |
size()
The number of fields this group has
|
void |
start() |
ARRAY_CONTAINS_NULL_BAG_SCHEMA_NAME, ARRAY_ELEMENTS_SCHEMA_NAME, getCurrentRecord, MAP_KEY_SCHEMA_NAME, MAP_SCHEMA_NAME, MAP_VALUE_SCHEMA_NAMEpublic CatalystArrayConverter(org.apache.spark.sql.catalyst.types.DataType elementType,
int index,
CatalystConverter parent,
scala.collection.mutable.Buffer<Object> buffer)
public CatalystArrayConverter(org.apache.spark.sql.catalyst.types.DataType elementType,
int index,
CatalystConverter parent)
public static int INITIAL_ARRAY_SIZE()
public org.apache.spark.sql.catalyst.types.DataType elementType()
public int index()
CatalystConverterpublic parquet.io.api.Converter getConverter(int fieldIndex)
getConverter in class parquet.io.api.GroupConverterpublic int size()
CatalystConverterpublic void start()
start in class parquet.io.api.GroupConverterpublic void end()
end in class parquet.io.api.GroupConverter