Compartilhar via


FeedOptionsBase Class

  • java.lang.Object
    • com.microsoft.azure.documentdb.FeedOptionsBase

public abstract class FeedOptionsBase

Specifies the common options associated with feed methods (enumeration operations) in the Azure Cosmos DB database service.

Constructor Summary

Modifier Constructor Description
protected FeedOptionsBase()

Method Summary

Modifier and Type Method and Description
java.lang.Integer getPageSize()

Gets the maximum number of items to be returned in the enumeration operation.

java.lang.String getRequestContinuation()

Gets the request continuation token.

void setPageSize(Integer pageSize)

Sets the maximum number of items to be returned in the enumeration operation.

void setRequestContinuation(String requestContinuation)

Sets the request continuation token.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

FeedOptionsBase

protected FeedOptionsBase()

Method Details

getPageSize

public Integer getPageSize()

Gets the maximum number of items to be returned in the enumeration operation.

Returns:

the page size.

getRequestContinuation

public String getRequestContinuation()

Gets the request continuation token.

Returns:

the request continuation.

setPageSize

public void setPageSize(Integer pageSize)

Sets the maximum number of items to be returned in the enumeration operation.

Parameters:

pageSize - the page size.

setRequestContinuation

public void setRequestContinuation(String requestContinuation)

Sets the request continuation token.

Parameters:

requestContinuation - the request continuation.

Applies to