ResultContinuation Class

  • java.lang.Object
    • com.microsoft.azure.storage.ResultContinuation

public class ResultContinuation

Represents a continuation token for listing operations. Continuation tokens are used in methods that return a ResultSegment<T> object, such as listBlobsSegmented().

Constructor Summary

Constructor Description
ResultContinuation()

Creates an instance of the class.

Method Summary

Modifier and Type Method and Description
ResultContinuationType getContinuationType()

Gets the type of the continuation token.

String getNextMarker()

Gets the next marker for continuing results of listing operations.

String getNextPartitionKey()

Gets the next partition key for TableServiceEntity enumeration operations.

String getNextRowKey()

Gets the next row key for TableServiceEntity enumeration operations.

String getNextTableName()

Gets the next table name for Table enumeration operations.

StorageLocation getTargetLocation()

Gets the location that the token applies to.

boolean hasContinuation()

Indicates whether continuation information is available.

void setContinuationType(final ResultContinuationType continuationType)

Sets the type of the continuation token.

void setNextMarker(final String nextMarker)

Sets the next marker for continuing results of listing operations.

void setNextPartitionKey(final String nextPartitionKey)

Sets the next partition key for TableServiceEntity enumeration operations.

void setNextRowKey(final String nextRowKey)

Sets the next row key for TableServiceEntity enumeration operations.

void setNextTableName(final String nextTableName)

Sets the next table name for Table enumeration operations.

void setTargetLocation(StorageLocation targetLocation)

Sets the location that the token applies to.

Constructor Details

ResultContinuation

public ResultContinuation()

Creates an instance of the class.

Method Details

getContinuationType

public ResultContinuationType getContinuationType()

Gets the type of the continuation token.

Returns:

getNextMarker

public String getNextMarker()

Gets the next marker for continuing results of listing operations.

Returns:

A String which represents the the next marker.

getNextPartitionKey

public String getNextPartitionKey()

Gets the next partition key for TableServiceEntity enumeration operations.

Returns:

A String which represents the the next partition key.

getNextRowKey

public String getNextRowKey()

Gets the next row key for TableServiceEntity enumeration operations.

Returns:

A String which represents the the next row key.

getNextTableName

public String getNextTableName()

Gets the next table name for Table enumeration operations.

Returns:

A String which represents the the next table name.

getTargetLocation

public StorageLocation getTargetLocation()

Gets the location that the token applies to.

Returns:

A StorageLocation value which indicates the location.

hasContinuation

public boolean hasContinuation()

Indicates whether continuation information is available.

Returns:

true if any continuation information is available; otherwise false.

setContinuationType

public void setContinuationType(final ResultContinuationType continuationType)

Sets the type of the continuation token.

Parameters:

continuationType - The ResultContinuationType value to set.

setNextMarker

public void setNextMarker(final String nextMarker)

Sets the next marker for continuing results of listing operations.

Parameters:

nextMarker - A String which represents the the next marker to set.

setNextPartitionKey

public void setNextPartitionKey(final String nextPartitionKey)

Sets the next partition key for TableServiceEntity enumeration operations.

Parameters:

nextPartitionKey - A String which represents the the next partition key to set.

setNextRowKey

public void setNextRowKey(final String nextRowKey)

Sets the next row key for TableServiceEntity enumeration operations.

Parameters:

nextRowKey - A String which represents the the next row key to set.

setNextTableName

public void setNextTableName(final String nextTableName)

Sets the next table name for Table enumeration operations.

Parameters:

nextTableName - A String which represents the the next table name to set.

setTargetLocation

public void setTargetLocation(StorageLocation targetLocation)

Sets the location that the token applies to.

Parameters:

targetLocation - A StorageLocation value which indicates the location to set.

Applies to