Share via


OrchestrationStatusQueryResult Class

  • java.lang.Object
    • com.microsoft.durabletask.OrchestrationStatusQueryResult

public final class OrchestrationStatusQueryResult

Class representing the results of a filtered orchestration metadata query.

Orchestration metadata can be queried with filters using the DurableTaskClient#queryInstances method.

Method Summary

Modifier and Type Method and Description
java.lang.String getContinuationToken()

Gets the continuation token to use with the next query or null if no more metadata records are found.

java.util.List<OrchestrationMetadata> getOrchestrationState()

Gets the list of orchestration metadata records that matched the DurableTaskClient#queryInstances query.

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

Method Details

getContinuationToken

public String getContinuationToken()

Gets the continuation token to use with the next query or null if no more metadata records are found.

Note that a non-null value does not always mean that there are more metadata records that can be returned by a query.

Returns:

the continuation token to use with the next query or null if no more metadata records are found.

getOrchestrationState

public List getOrchestrationState()

Gets the list of orchestration metadata records that matched the DurableTaskClient#queryInstances query.

Returns:

the list of orchestration metadata records that matched the DurableTaskClient#queryInstances query.

Applies to