public class CatalystNativeArrayConverter 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 |
|---|
CatalystNativeArrayConverter(org.apache.spark.sql.catalyst.types.NativeType elementType,
int index,
CatalystConverter parent,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.sql.catalyst.types.NativeType |
elementType() |
void |
end() |
parquet.io.api.Converter |
getConverter(int fieldIndex) |
int |
index()
The index of this converter in the parent
|
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 CatalystNativeArrayConverter(org.apache.spark.sql.catalyst.types.NativeType elementType,
int index,
CatalystConverter parent,
int capacity)
public org.apache.spark.sql.catalyst.types.NativeType 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