public interface PartitionFunctionFactory
Modifier and Type | Method and Description |
---|---|
PartitionFunction |
getPartitionFunction(PartitionConfig config,
Context context)
Return a partitioning function based on config provided
|
PartitionFunction getPartitionFunction(PartitionConfig config, Context context) throws ClassInstantiationException, InstancePopulationException
config
- - the partitioning configcontext
- - the context to resolve the valuesClassInstantiationException
- if the instantiation of the partition function class failsInstancePopulationException
- if the population of the partition function instance failsCopyright © 2016 iNetria. All rights reserved.