Package com.linkedin.venice.meta
Class PartitionerConfigImpl
- java.lang.Object
-
- com.linkedin.venice.meta.PartitionerConfigImpl
-
- All Implemented Interfaces:
DataModelBackedStructure<StorePartitionerConfig>
,PartitionerConfig
public class PartitionerConfigImpl extends java.lang.Object implements PartitionerConfig
-
-
Constructor Summary
Constructors Constructor Description PartitionerConfigImpl()
PartitionerConfigImpl(java.lang.String partitionerClass, java.util.Map<java.lang.String,java.lang.String> partitionerParams, int amplificationFactor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartitionerConfig
clone()
StorePartitionerConfig
dataModel()
Return the backed data model.boolean
equals(java.lang.Object o)
int
getAmplificationFactor()
java.lang.String
getPartitionerClass()
java.util.Map<java.lang.String,java.lang.String>
getPartitionerParams()
int
hashCode()
void
setAmplificationFactor(int amplificationFactor)
void
setPartitionerClass(java.lang.String partitionerClass)
void
setPartitionerParams(java.util.Map<java.lang.String,java.lang.String> partitionerParams)
-
-
-
Method Detail
-
getPartitionerClass
public java.lang.String getPartitionerClass()
- Specified by:
getPartitionerClass
in interfacePartitionerConfig
-
getPartitionerParams
public java.util.Map<java.lang.String,java.lang.String> 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
public void setPartitionerClass(java.lang.String partitionerClass)
- Specified by:
setPartitionerClass
in interfacePartitionerConfig
-
setPartitionerParams
public void setPartitionerParams(java.util.Map<java.lang.String,java.lang.String> partitionerParams)
- Specified by:
setPartitionerParams
in interfacePartitionerConfig
-
dataModel
public StorePartitionerConfig dataModel()
Description copied from interface:DataModelBackedStructure
Return the backed data model.- Specified by:
dataModel
in interfaceDataModelBackedStructure<StorePartitionerConfig>
- Returns:
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
clone
public PartitionerConfig clone()
- Specified by:
clone
in interfacePartitionerConfig
- Overrides:
clone
in classjava.lang.Object
-
-