public class Partition extends AbstractModel
header, skipSign
Constructor and Description |
---|
Partition() |
Partition(Partition 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 |
---|---|
Boolean |
getAutoPartition()
Get Whether to automatically partition
Note: This field may return null, indicating that no valid values can be obtained.
|
ListInfo[] |
getListInfos()
Get Partition information when the partition type is List
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPartitionType()
Get Partition type:
●Range: The partition column is usually of time or integer type.
|
RangeInfo[] |
getRangeInfos()
Get Partition information when the partition type is Range
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setAutoPartition(Boolean AutoPartition)
Set Whether to automatically partition
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setListInfos(ListInfo[] ListInfos)
Set Partition information when the partition type is List
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPartitionType(String PartitionType)
Set Partition type:
●Range: The partition column is usually of time or integer type.
|
void |
setRangeInfos(RangeInfo[] RangeInfos)
Set Partition information when the partition type is Range
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Partition()
public Partition(Partition source)
public String getPartitionType()
public void setPartitionType(String PartitionType)
PartitionType
- Partition type:
●Range: The partition column is usually of time or integer type. Four writing methods are supported.
●List: The partition value is an enumeration value.
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getAutoPartition()
public void setAutoPartition(Boolean AutoPartition)
AutoPartition
- Whether to automatically partition
Note: This field may return null, indicating that no valid values can be obtained.public RangeInfo[] getRangeInfos()
public void setRangeInfos(RangeInfo[] RangeInfos)
RangeInfos
- Partition information when the partition type is Range
Note: This field may return null, indicating that no valid values can be obtained.public ListInfo[] getListInfos()
public void setListInfos(ListInfo[] ListInfos)
ListInfos
- Partition information when the partition type is List
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.