public class InitContext extends Object
| Constructor and Description |
|---|
InitContext(org.apache.hadoop.conf.Configuration configuration,
Map<String,Set<String>> keyValueMetadata,
MessageType fileSchema) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConfiguration() |
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.
|
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 files@Deprecated public Map<String,String> getMergedKeyValueMetaData()
public org.apache.hadoop.conf.Configuration getConfiguration()
public MessageType getFileSchema()
Copyright © 2019 The Apache Software Foundation. All rights reserved.