public class GlobalMetaData extends Object implements Serializable
| Constructor and Description |
|---|
GlobalMetaData(MessageType schema,
Map<String,Set<String>> keyValueMetaData,
Set<String> createdBy) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getCreatedBy() |
Map<String,Set<String>> |
getKeyValueMetaData() |
MessageType |
getSchema() |
FileMetaData |
merge()
Will merge the metadata as if it was coming from a single file.
|
FileMetaData |
merge(KeyValueMetadataMergeStrategy keyValueMetadataMergeStrategy)
Will merge the metadata as if it was coming from a single file.
|
String |
toString() |
public GlobalMetaData(MessageType schema, Map<String,Set<String>> keyValueMetaData, Set<String> createdBy)
schema - the union of the schemas for all the fileskeyValueMetaData - the merged app specific metadatacreatedBy - the description of the library that created the fileNullPointerException - if schema or keyValueMetaData is nullpublic MessageType getSchema()
public Map<String,Set<String>> getKeyValueMetaData()
public Set<String> getCreatedBy()
public FileMetaData merge()
Provided for backward compatibility
public FileMetaData merge(KeyValueMetadataMergeStrategy keyValueMetadataMergeStrategy)
Copyright © 2023 The Apache Software Foundation. All rights reserved.