public class RangeInfo extends AbstractModel
header, skipSign| Constructor and Description |
|---|
RangeInfo() |
RangeInfo(RangeInfo 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 |
|---|---|
String |
getLeft()
Get The left-closed interval of each partition column when RangeType is FIXED or BATCH RANGE
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getMax()
Get The upper bound of each partition column when RangeType is LESS THAN
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPartitionName()
Get Partition name
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getRangeType()
Get Range partition type:
●FIXED: Define the left closed and right open interval of the partition.
|
String |
getRight()
Get The right open interval of each partition column when RangeType is FIXED or BATCH RANGE
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getStepLength()
Get RangeType is the step size of BATCH RANGE
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUnit()
Get Fill it in when RangeType is BATCH RANGE or automatic partitioning.
|
void |
setLeft(String Left)
Set The left-closed interval of each partition column when RangeType is FIXED or BATCH RANGE
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMax(String Max)
Set The upper bound of each partition column when RangeType is LESS THAN
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPartitionName(String PartitionName)
Set Partition name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRangeType(String RangeType)
Set Range partition type:
●FIXED: Define the left closed and right open interval of the partition.
|
void |
setRight(String Right)
Set The right open interval of each partition column when RangeType is FIXED or BATCH RANGE
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStepLength(Long StepLength)
Set RangeType is the step size of BATCH RANGE
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUnit(String Unit)
Set Fill it in when RangeType is BATCH RANGE or automatic partitioning.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RangeInfo()
public RangeInfo(RangeInfo source)
public String getRangeType()
public void setRangeType(String RangeType)
RangeType - Range partition type:
●FIXED: Define the left closed and right open interval of the partition.
●LESS THAN: Only define the upper bound of the partition.
●BATCH RANGE: Batch create RANGE partitions of numeric and time types, define the left closed and right open intervals of the partitions, and set the step size.
Note: This field may return null, indicating that no valid values can be obtained.public String getPartitionName()
public void setPartitionName(String PartitionName)
PartitionName - Partition name
Note: This field may return null, indicating that no valid values can be obtained.public String getLeft()
public void setLeft(String Left)
Left - The left-closed interval of each partition column when RangeType is FIXED or BATCH RANGE
Note: This field may return null, indicating that no valid values can be obtained.public String getRight()
public void setRight(String Right)
Right - The right open interval of each partition column when RangeType is FIXED or BATCH RANGE
Note: This field may return null, indicating that no valid values can be obtained.public String getMax()
public void setMax(String Max)
Max - The upper bound of each partition column when RangeType is LESS THAN
Note: This field may return null, indicating that no valid values can be obtained.public Long getStepLength()
public void setStepLength(Long StepLength)
StepLength - RangeType is the step size of BATCH RANGE
Note: This field may return null, indicating that no valid values can be obtained.public String getUnit()
public void setUnit(String Unit)
Unit - Fill it in when RangeType is BATCH RANGE or automatic partitioning. It indicates the step size unit when the partition column is of time type.
●YEAR: year
●MONTH: month
●WEEK: week
●DAY: day
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.