public class MappingFactoryValue extends PluginValue
MetaDataFactory
for
combined metadata and mapping.Constructor and Description |
---|
MappingFactoryValue(String prop) |
Modifier and Type | Method and Description |
---|---|
MetaDataFactory |
instantiateMetaDataFactory(Configuration conf,
PluginValue metaPlugin,
String mapping)
Intantiate a
MetaDataFactory responsible for both metadata and
mapping. |
MetaDataFactory |
instantiateMetaDataFactory(Configuration conf,
PluginValue metaPlugin,
String mapping,
boolean fatal)
Intantiate a
MetaDataFactory responsible for both metadata and
mapping. |
void |
setMappedMetaDataFactoryDefault(String metaAlias,
String mappingAlias)
If the
Mapping property is set, we check these defaults
before checking metadata factory defaults. |
void |
setMetaDataFactoryDefault(String metaAlias,
String mappingAlias)
Default setting for a given
MetaDataFactory alias setting. |
configure, getClassName, getInternalString, getProperties, getString, getValueType, instantiate, isSingleton, objectChanged, set, setClassName, setInternalString, setProperties, setString
configure, get, instantiate, newInstance, set, setInternalObject
addEquivalentKey, addListener, alias, alias, assertChangeable, clone, equals, getAliases, getDefault, getEquivalentKeys, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getPropertyKeys, getScope, hashCode, hide, isAliasListComprehensive, isDynamic, isHidden, isPrivate, makePrivate, matches, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, toString, unalias, unalias, valueChanged
public MappingFactoryValue(String prop)
public void setMetaDataFactoryDefault(String metaAlias, String mappingAlias)
MetaDataFactory
alias setting.
If a MappingFactory
value is not supplied, we check these
defaults against the MetaDataFactory
setting. If the
MetaDataFactory
does not have a default, we assume it
handles both metadata and mapping factory.public void setMappedMetaDataFactoryDefault(String metaAlias, String mappingAlias)
Mapping
property is set, we check these defaults
before checking metadata factory defaults.public MetaDataFactory instantiateMetaDataFactory(Configuration conf, PluginValue metaPlugin, String mapping)
MetaDataFactory
responsible for both metadata and
mapping.public MetaDataFactory instantiateMetaDataFactory(Configuration conf, PluginValue metaPlugin, String mapping, boolean fatal)
MetaDataFactory
responsible for both metadata and
mapping.Copyright © 2006–2018 Apache Software Foundation. All rights reserved.