public class TypeConfig<T> extends Object implements Cloneable
TypeConfig collects all information about a record type that can be used in a Plan. The most
frequently used top-level type is Record, but there are other implementations that are supported through this
API.| Constructor and Description |
|---|
TypeConfig(eu.stratosphere.api.common.typeutils.TypeComparatorFactory<T> typeComparatorFactory,
eu.stratosphere.api.common.typeutils.TypePairComparatorFactory<T,T> typePairComparatorFactory,
eu.stratosphere.api.common.typeutils.TypeSerializerFactory<T> typeSerializerFactory,
TypeStringifier<T> typeStringifier,
KeyExtractor<T> keyExtractor,
Equaler<T> equaler)
Initializes TypeConfig.
|
| Modifier and Type | Method and Description |
|---|---|
TypeConfig<T> |
clone() |
eu.stratosphere.configuration.Configuration |
getConfiguration()
Returns the configuration.
|
Equaler<T> |
getEqualer()
Returns the equaler.
|
FuzzyValueMatcher<T> |
getFuzzyValueMatcher()
Returns the fuzzyValueMatcher.
|
KeyExtractor<T> |
getKeyExtractor()
Returns the keyExtractor.
|
eu.stratosphere.api.common.typeutils.TypeComparator<T> |
getTypeComparator() |
eu.stratosphere.api.common.typeutils.TypeComparatorFactory<T> |
getTypeComparatorFactory() |
eu.stratosphere.api.common.typeutils.TypePairComparator<T,T> |
getTypePairComparator() |
eu.stratosphere.api.common.typeutils.TypePairComparatorFactory<T,T> |
getTypePairComparatorFactory() |
eu.stratosphere.api.common.typeutils.TypeSerializer<T> |
getTypeSerializer() |
eu.stratosphere.api.common.typeutils.TypeSerializerFactory<T> |
getTypeSerializerFactory() |
TypeStringifier<T> |
getTypeStringifier()
Returns the typeStringifier.
|
void |
setFuzzyValueMatcher(FuzzyValueMatcher<T> fuzzyValueMatcher)
Sets the fuzzyValueMatcher to the specified value.
|
void |
setKeyExtractor(KeyExtractor<T> keyExtractor)
Sets the keyExtractor to the specified value.
|
public TypeConfig(eu.stratosphere.api.common.typeutils.TypeComparatorFactory<T> typeComparatorFactory, eu.stratosphere.api.common.typeutils.TypePairComparatorFactory<T,T> typePairComparatorFactory, eu.stratosphere.api.common.typeutils.TypeSerializerFactory<T> typeSerializerFactory, TypeStringifier<T> typeStringifier, KeyExtractor<T> keyExtractor, Equaler<T> equaler)
typeComparatorFactory - typePairComparatorFactory - typeSerializerFactory - typeStringifier - keyExtractor - equaler - public TypeConfig<T> clone()
public eu.stratosphere.configuration.Configuration getConfiguration()
public FuzzyValueMatcher<T> getFuzzyValueMatcher()
public KeyExtractor<T> getKeyExtractor()
public eu.stratosphere.api.common.typeutils.TypeComparator<T> getTypeComparator()
TypeComparatorpublic eu.stratosphere.api.common.typeutils.TypeComparatorFactory<T> getTypeComparatorFactory()
TypeComparatorFactorypublic eu.stratosphere.api.common.typeutils.TypePairComparator<T,T> getTypePairComparator()
TypePairComparatorpublic eu.stratosphere.api.common.typeutils.TypePairComparatorFactory<T,T> getTypePairComparatorFactory()
TypePairComparatorFactorypublic eu.stratosphere.api.common.typeutils.TypeSerializer<T> getTypeSerializer()
TypeSerializerpublic eu.stratosphere.api.common.typeutils.TypeSerializerFactory<T> getTypeSerializerFactory()
TypeSerializerFactorypublic TypeStringifier<T> getTypeStringifier()
public void setFuzzyValueMatcher(FuzzyValueMatcher<T> fuzzyValueMatcher)
fuzzyValueMatcher - the fuzzyValueMatcher to setpublic void setKeyExtractor(KeyExtractor<T> keyExtractor)
keyExtractor - the keyExtractor to setCopyright © 2014. All rights reserved.