@Internal public final class RuntimeComparatorFactory<T> extends Object implements TypeComparatorFactory<T>, Serializable
| Constructor and Description |
|---|
RuntimeComparatorFactory() |
RuntimeComparatorFactory(TypeComparator<T> comparator) |
| Modifier and Type | Method and Description |
|---|---|
TypeComparator<T> |
createComparator() |
void |
readParametersFromConfig(Configuration config,
ClassLoader cl) |
void |
writeParametersToConfig(Configuration config) |
public RuntimeComparatorFactory()
public RuntimeComparatorFactory(TypeComparator<T> comparator)
public void writeParametersToConfig(Configuration config)
writeParametersToConfig in interface TypeComparatorFactory<T>public void readParametersFromConfig(Configuration config, ClassLoader cl) throws ClassNotFoundException
readParametersFromConfig in interface TypeComparatorFactory<T>ClassNotFoundExceptionpublic TypeComparator<T> createComparator()
createComparator in interface TypeComparatorFactory<T>Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.