public class ComputeSplitsBySizeResponse extends Response implements Jsonizable
| 构造器和说明 |
|---|
ComputeSplitsBySizeResponse(Response meta)
internal use
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addPrimaryKeySchema(PrimaryKeySchema key)
Add a primary key column definition.
|
void |
addPrimaryKeySchema(String name,
PrimaryKeyType type)
Add a primary key column definition.
|
void |
addPrimaryKeySchema(String name,
PrimaryKeyType type,
PrimaryKeyOption option)
Add a primary key column definition.
|
void |
addPrimaryKeySchemas(List<PrimaryKeySchema> pks)
Add a set of primary key column definitions.
|
void |
addPrimaryKeySchemas(PrimaryKeySchema[] pks)
Add a set of primary key column definitions.
|
void |
addSplit(Split split)
Add a data chunk.
|
ConsumedCapacity |
getConsumedCapacity()
Get the CU value consumed by the ComputeSplitsBySize operation.
|
List<PrimaryKeySchema> |
getPrimaryKeySchema()
Get the primary key column definition.
|
List<Split> |
getSplits()
Get the list of data chunks returned in the response.
|
String |
jsonize() |
void |
jsonize(StringBuilder sb,
String newline) |
void |
setConsumedCapacity(ConsumedCapacity consumedCapacity)
Sets the CU value parameter consumed by the ComputeSplitsBySize operation.
|
void |
setPrimaryKeySchema(List<PrimaryKeySchema> primaryKeySchema)
Set the primary key column definition.
|
void |
setSplits(List<Split> splits)
Sets the data split list in the response.
|
getRequestId, getTraceId, setRequestId, setTraceIdpublic ComputeSplitsBySizeResponse(Response meta)
public String jsonize()
jsonize 在接口中 Jsonizablepublic void jsonize(StringBuilder sb, String newline)
jsonize 在接口中 Jsonizablepublic void setSplits(List<Split> splits)
splits - The data split list to be set.public void addSplit(Split split)
split - The data chunk to be added.public ConsumedCapacity getConsumedCapacity()
public void setConsumedCapacity(ConsumedCapacity consumedCapacity)
consumedCapacity - The CU value parameter consumed by the ComputeSplitsBySize operation.public List<PrimaryKeySchema> getPrimaryKeySchema()
public void setPrimaryKeySchema(List<PrimaryKeySchema> primaryKeySchema)
primaryKeySchema - The list of primary key column definitions.public void addPrimaryKeySchema(String name, PrimaryKeyType type)
name - The name of the primary key column.type - The data type of the primary key column.public void addPrimaryKeySchema(String name, PrimaryKeyType type, PrimaryKeyOption option)
name - The name of the primary key column.type - The data type of the primary key column.option - The attribute of the primary key column.public void addPrimaryKeySchema(PrimaryKeySchema key)
key - the definition of the primary key columnpublic void addPrimaryKeySchemas(List<PrimaryKeySchema> pks)
pks - the definition of primary key columnspublic void addPrimaryKeySchemas(PrimaryKeySchema[] pks)
pks - the definitions of primary key columnsCopyright © 2025. All Rights Reserved.