public class CatalystMapConverter extends CatalystConverter
parquet.io.api.GroupConverter
that converts two-element groups that
match the characteristics of a map (see
ParquetTypesConverter
) into an
MapType
.
Constructor and Description |
---|
CatalystMapConverter(org.apache.spark.sql.catalyst.types.StructField[] schema,
int index,
CatalystConverter parent) |
Modifier and Type | Method and Description |
---|---|
void |
end() |
parquet.io.api.Converter |
getConverter(int fieldIndex) |
void |
start() |
ARRAY_CONTAINS_NULL_BAG_SCHEMA_NAME, ARRAY_ELEMENTS_SCHEMA_NAME, getCurrentRecord, MAP_KEY_SCHEMA_NAME, MAP_SCHEMA_NAME, MAP_VALUE_SCHEMA_NAME
public CatalystMapConverter(org.apache.spark.sql.catalyst.types.StructField[] schema, int index, CatalystConverter parent)
public void start()
start
in class parquet.io.api.GroupConverter
public void end()
end
in class parquet.io.api.GroupConverter
public parquet.io.api.Converter getConverter(int fieldIndex)
getConverter
in class parquet.io.api.GroupConverter