public class CatalystArrayContainsNullConverter extends CatalystConverter
parquet.io.api.GroupConverter
that converts a single-element groups that
match the characteristics of an array contains null (see
ParquetTypesConverter
) into an
ArrayType
.
Constructor and Description |
---|
CatalystArrayContainsNullConverter(org.apache.spark.sql.catalyst.types.DataType elementType,
int index,
CatalystConverter parent) |
CatalystArrayContainsNullConverter(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
|
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_NAME
public CatalystArrayContainsNullConverter(org.apache.spark.sql.catalyst.types.DataType elementType, int index, CatalystConverter parent, scala.collection.mutable.Buffer<Object> buffer)
public CatalystArrayContainsNullConverter(org.apache.spark.sql.catalyst.types.DataType elementType, int index, CatalystConverter parent)
public org.apache.spark.sql.catalyst.types.DataType elementType()
public int index()
CatalystConverter
public parquet.io.api.Converter getConverter(int fieldIndex)
getConverter
in class parquet.io.api.GroupConverter
public int size()
CatalystConverter
public void start()
start
in class parquet.io.api.GroupConverter
public void end()
end
in class parquet.io.api.GroupConverter