Package com.linkedin.venice.meta
Class PartitionerConfigImpl
java.lang.Object
com.linkedin.venice.meta.PartitionerConfigImpl
- All Implemented Interfaces:
DataModelBackedStructure<StorePartitionerConfig>
,PartitionerConfig
-
Constructor Summary
ConstructorDescriptionPartitionerConfigImpl
(String partitionerClass, Map<String, String> partitionerParams, int amplificationFactor) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Return the backed data model.boolean
int
int
hashCode()
void
setAmplificationFactor
(int amplificationFactor) void
setPartitionerClass
(String partitionerClass) void
setPartitionerParams
(Map<String, String> partitionerParams)
-
Constructor Details
-
PartitionerConfigImpl
-
PartitionerConfigImpl
public PartitionerConfigImpl()
-
-
Method Details
-
getPartitionerClass
- Specified by:
getPartitionerClass
in interfacePartitionerConfig
-
getPartitionerParams
- Specified by:
getPartitionerParams
in interfacePartitionerConfig
-
getAmplificationFactor
public int getAmplificationFactor()- Specified by:
getAmplificationFactor
in interfacePartitionerConfig
-
setAmplificationFactor
public void setAmplificationFactor(int amplificationFactor) - Specified by:
setAmplificationFactor
in interfacePartitionerConfig
-
setPartitionerClass
- Specified by:
setPartitionerClass
in interfacePartitionerConfig
-
setPartitionerParams
- Specified by:
setPartitionerParams
in interfacePartitionerConfig
-
dataModel
Description copied from interface:DataModelBackedStructure
Return the backed data model.- Specified by:
dataModel
in interfaceDataModelBackedStructure<StorePartitionerConfig>
- Returns:
-
equals
-
hashCode
public int hashCode() -
clone
- Specified by:
clone
in interfacePartitionerConfig
- Overrides:
clone
in classObject
-