ResultContinuation 类
- java.
lang. Object - com.
microsoft. azure. storage. ResultContinuation
- com.
public class ResultContinuation
表示列表操作的继续标记。 在返回 ResultSegment<T> 对象的方法(如 ) listBlobsSegmented()中使用延续标记。
构造函数摘要
| 构造函数 | 说明 |
|---|---|
| ResultContinuation() |
创建 类的实例。 |
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
|
Result |
getContinuationType()
获取延续标记的类型。 |
| String |
getNextMarker()
获取列出操作的后续结果的下一个标记。 |
| String |
getNextPartitionKey()
获取枚举操作的 TableServiceEntity 下一个分区键。 |
| String |
getNextRowKey()
获取枚举操作的 TableServiceEntity 下一行键。 |
| String |
getNextTableName()
获取 Table 枚举操作的下一个表名称。 |
|
Storage |
getTargetLocation()
获取标记适用的位置。 |
| boolean |
hasContinuation()
指示是否提供延续信息。 |
| void |
setContinuationType(final ResultContinuationType continuationType)
设置延续标记的类型。 |
| void |
setNextMarker(final String nextMarker)
为列出操作的后续结果设置下一个标记。 |
| void |
setNextPartitionKey(final String nextPartitionKey)
设置枚举操作的 TableServiceEntity 下一个分区键。 |
| void |
setNextRowKey(final String nextRowKey)
设置枚举操作的 TableServiceEntity 下一行键。 |
| void |
setNextTableName(final String nextTableName)
设置表枚举操作的下一个表名称。 |
| void |
setTargetLocation(StorageLocation targetLocation)
设置标记适用的位置。 |
构造函数详细信息
ResultContinuation
public ResultContinuation()
创建 类的实例。
方法详细信息
getContinuationType
getNextMarker
public String getNextMarker()
获取列出操作的后续结果的下一个标记。
Returns:
String ,它表示下一个标记。getNextPartitionKey
public String getNextPartitionKey()
获取枚举操作的 TableServiceEntity 下一个分区键。
Returns:
String ,它表示下一个分区键。getNextRowKey
public String getNextRowKey()
获取枚举操作的 TableServiceEntity 下一行键。
Returns:
String ,它表示下一个行键。getNextTableName
public String getNextTableName()
获取 Table 枚举操作的下一个表名称。
Returns:
String 它表示下一个表名称。getTargetLocation
hasContinuation
public boolean hasContinuation()
指示是否提供延续信息。
Returns:
true 如果有任何延续信息可用,则为 ;否则为 false。
setContinuationType
public void setContinuationType(final ResultContinuationType continuationType)
设置延续标记的类型。
Parameters:
setNextMarker
public void setNextMarker(final String nextMarker)
为列出操作的后续结果设置下一个标记。
Parameters:
String ,它表示要设置的下一个标记。
setNextPartitionKey
public void setNextPartitionKey(final String nextPartitionKey)
设置枚举操作的 TableServiceEntity 下一个分区键。
Parameters:
String 它表示要设置的下一个分区键。
setNextRowKey
public void setNextRowKey(final String nextRowKey)
设置枚举操作的 TableServiceEntity 下一行键。
Parameters:
String 它表示要设置的下一个行键。
setNextTableName
public void setNextTableName(final String nextTableName)
设置表枚举操作的下一个表名称。
Parameters:
String 它表示要设置的下一个表名称。
setTargetLocation
public void setTargetLocation(StorageLocation targetLocation)
设置标记适用的位置。
Parameters: