public class SplitPartitionRequest extends AbstractModel
Constructor and Description |
---|
SplitPartitionRequest() |
SplitPartitionRequest(SplitPartitionRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getNumber()
Get Number of partitions to split into, which is optional.
|
Long |
getPartitionId()
Get ID of the partition to be split
|
String |
getSplitKey()
Get Partition split hash key position, which is meaningful only if `Number=2` is set
|
String |
getTopicId()
Get Log topic ID
|
void |
setNumber(Long Number)
Set Number of partitions to split into, which is optional.
|
void |
setPartitionId(Long PartitionId)
Set ID of the partition to be split
|
void |
setSplitKey(String SplitKey)
Set Partition split hash key position, which is meaningful only if `Number=2` is set
|
void |
setTopicId(String TopicId)
Set Log topic ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SplitPartitionRequest()
public SplitPartitionRequest(SplitPartitionRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- Log topic IDpublic Long getPartitionId()
public void setPartitionId(Long PartitionId)
PartitionId
- ID of the partition to be splitpublic String getSplitKey()
public void setSplitKey(String SplitKey)
SplitKey
- Partition split hash key position, which is meaningful only if `Number=2` is setpublic Long getNumber()
public void setNumber(Long Number)
Number
- Number of partitions to split into, which is optional. Default value: 2Copyright © 2023. All rights reserved.