public class ParquetMapInputFormat extends ParquetInputFormat<Map>
ParquetInputFormat
to read Map
records from Parquet files.FileInputFormat.FileBaseStatistics, FileInputFormat.InputSplitOpenThread
PARQUET_SKIP_CORRUPTED_RECORD, PARQUET_SKIP_WRONG_SCHEMA_SPLITS
currentSplit, ENUMERATE_NESTED_FILES_FLAG, enumerateNestedFiles, filePath, INFLATER_INPUT_STREAM_FACTORIES, minSplitSize, numSplits, openTimeout, READ_WHOLE_SPLIT_FLAG, splitLength, splitStart, stream, unsplittable
Constructor and Description |
---|
ParquetMapInputFormat(Path path,
org.apache.parquet.schema.MessageType messageType) |
Modifier and Type | Method and Description |
---|---|
protected Map |
convert(Row row)
This ParquetInputFormat read parquet record as Row by default.
|
close, configure, getCurrentState, getFieldNames, getFieldTypes, getPredicate, nextRecord, open, reachedEnd, reopen, selectFields, setFilterPredicate
acceptFile, createInputSplits, decorateInputStream, extractFileExtension, getFilePath, getFilePaths, getFileStats, getFileStats, getInflaterInputStreamFactory, getInputSplitAssigner, getMinSplitSize, getNestedFileEnumeration, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, getStatistics, registerInflaterInputStreamFactory, setFilePath, setFilePath, setFilePaths, setFilePaths, setFilesFilter, setMinSplitSize, setNestedFileEnumeration, setNumSplits, setOpenTimeout, supportsMultiPaths, testForUnsplittable, toString
closeInputFormat, getRuntimeContext, openInputFormat, setRuntimeContext
public ParquetMapInputFormat(Path path, org.apache.parquet.schema.MessageType messageType)
protected Map convert(Row row)
ParquetInputFormat
convert
in class ParquetInputFormat<Map>
row
- row read from parquet fileCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.