public class InitContext extends Object
| Constructor and Description |
|---|
InitContext(org.apache.hadoop.conf.Configuration configuration,
Map<String,Set<String>> keyValueMetadata,
MessageType fileSchema) |
InitContext(ParquetConfiguration configuration,
Map<String,Set<String>> keyValueMetadata,
MessageType fileSchema) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConfiguration()
Deprecated.
Use
getParquetConfiguration() instead |
MessageType |
getFileSchema()
this is the union of all the schemas when reading multiple files.
|
Map<String,Set<String>> |
getKeyValueMetadata()
each key is associated with the list of distinct values found in footers
|
Map<String,String> |
getMergedKeyValueMetaData()
Deprecated.
|
ParquetConfiguration |
getParquetConfiguration() |
public InitContext(org.apache.hadoop.conf.Configuration configuration,
Map<String,Set<String>> keyValueMetadata,
MessageType fileSchema)
configuration - the hadoop configurationkeyValueMetadata - extra metadata from file footersfileSchema - the merged schema from the filespublic InitContext(ParquetConfiguration configuration, Map<String,Set<String>> keyValueMetadata, MessageType fileSchema)
@Deprecated public Map<String,String> getMergedKeyValueMetaData()
@Deprecated public org.apache.hadoop.conf.Configuration getConfiguration()
getParquetConfiguration() insteadpublic ParquetConfiguration getParquetConfiguration()
public MessageType getFileSchema()
Copyright © 2023 The Apache Software Foundation. All rights reserved.