107 строки
12 KiB
YAML
107 строки
12 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.cosmos.util.CosmosPagedIterable"
|
|
fullName: "com.azure.cosmos.util.CosmosPagedIterable<T>"
|
|
name: "CosmosPagedIterable<T>"
|
|
nameWithType: "CosmosPagedIterable<T>"
|
|
summary: "Cosmos implementation of <xref uid=\"com.azure.core.util.paging.ContinuablePagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.azure.core.util.paging.ContinuablePagedIterable\"></xref>."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.IterableStream?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.azure.core.util.IterableStream?alt=com.azure.core.util.IterableStream&text=IterableStream\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.core.util.IterableStream.<T>of(java.lang.Iterable<T>)?alt=com.azure.core.util.IterableStream.<T>of&text=<T>of\" data-throw-if-not-resolved=\"False\" />"
|
|
- classRef: "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable?alt=com.azure.core.util.paging.ContinuablePagedIterable&text=ContinuablePagedIterable\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable.iterableByPage()?alt=com.azure.core.util.paging.ContinuablePagedIterable.iterableByPage&text=iterableByPage\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable.iterableByPage(C)?alt=com.azure.core.util.paging.ContinuablePagedIterable.iterableByPage&text=iterableByPage\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable.iterableByPage(C,int)?alt=com.azure.core.util.paging.ContinuablePagedIterable.iterableByPage&text=iterableByPage\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable.iterableByPage(int)?alt=com.azure.core.util.paging.ContinuablePagedIterable.iterableByPage&text=iterableByPage\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable.iterator()?alt=com.azure.core.util.paging.ContinuablePagedIterable.iterator&text=iterator\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable.stream()?alt=com.azure.core.util.paging.ContinuablePagedIterable.stream&text=stream\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable.streamByPage()?alt=com.azure.core.util.paging.ContinuablePagedIterable.streamByPage&text=streamByPage\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable.streamByPage(C)?alt=com.azure.core.util.paging.ContinuablePagedIterable.streamByPage&text=streamByPage\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable.streamByPage(C,int)?alt=com.azure.core.util.paging.ContinuablePagedIterable.streamByPage&text=streamByPage\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.paging.ContinuablePagedIterable.streamByPage(int)?alt=com.azure.core.util.paging.ContinuablePagedIterable.streamByPage&text=streamByPage\" data-throw-if-not-resolved=\"False\" />"
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **CosmosPagedIterable<T>**</br> extends <xref href=\"com.azure.core.util.paging.ContinuablePagedIterable?alt=com.azure.core.util.paging.ContinuablePagedIterable&text=ContinuablePagedIterable\" data-throw-if-not-resolved=\"False\" /><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />,<xref href=\"com.azure.cosmos.models.FeedResponse?alt=com.azure.cosmos.models.FeedResponse&text=FeedResponse\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>>"
|
|
constructors:
|
|
- uid: "com.azure.cosmos.util.CosmosPagedIterable.CosmosPagedIterable(com.azure.cosmos.util.CosmosPagedFlux<T>)"
|
|
fullName: "com.azure.cosmos.util.CosmosPagedIterable<T>.CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux)"
|
|
name: "CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux)"
|
|
nameWithType: "CosmosPagedIterable<T>.CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux)"
|
|
summary: "Creates instance given <xref uid=\"com.azure.cosmos.util.CosmosPagedFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosPagedFlux\"></xref>."
|
|
parameters:
|
|
- description: "the paged flux use as iterable"
|
|
name: "cosmosPagedFlux"
|
|
type: "<xref href=\"com.azure.cosmos.util.CosmosPagedFlux?alt=com.azure.cosmos.util.CosmosPagedFlux&text=CosmosPagedFlux\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux)"
|
|
desc: "Creates instance given <xref uid=\"com.azure.cosmos.util.CosmosPagedFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosPagedFlux\"></xref>."
|
|
- uid: "com.azure.cosmos.util.CosmosPagedIterable.CosmosPagedIterable(com.azure.cosmos.util.CosmosPagedFlux<T>,int)"
|
|
fullName: "com.azure.cosmos.util.CosmosPagedIterable<T>.CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux, int pageSize)"
|
|
name: "CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux, int pageSize)"
|
|
nameWithType: "CosmosPagedIterable<T>.CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux, int pageSize)"
|
|
summary: "Creates instance given <xref uid=\"com.azure.cosmos.util.CosmosPagedFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosPagedFlux\"></xref>."
|
|
parameters:
|
|
- description: "the paged flux use as iterable"
|
|
name: "cosmosPagedFlux"
|
|
type: "<xref href=\"com.azure.cosmos.util.CosmosPagedFlux?alt=com.azure.cosmos.util.CosmosPagedFlux&text=CosmosPagedFlux\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
- description: "the preferred pageSize to be used when pulling data from the service"
|
|
name: "pageSize"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux, int pageSize)"
|
|
desc: "Creates instance given <xref uid=\"com.azure.cosmos.util.CosmosPagedFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosPagedFlux\"></xref>."
|
|
- uid: "com.azure.cosmos.util.CosmosPagedIterable.CosmosPagedIterable(com.azure.cosmos.util.CosmosPagedFlux<T>,int,int)"
|
|
fullName: "com.azure.cosmos.util.CosmosPagedIterable<T>.CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux, int pageSize, int pagePrefetchCount)"
|
|
name: "CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux, int pageSize, int pagePrefetchCount)"
|
|
nameWithType: "CosmosPagedIterable<T>.CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux, int pageSize, int pagePrefetchCount)"
|
|
summary: "Creates instance given <xref uid=\"com.azure.cosmos.util.CosmosPagedFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosPagedFlux\"></xref>."
|
|
parameters:
|
|
- description: "the paged flux use as iterable"
|
|
name: "cosmosPagedFlux"
|
|
type: "<xref href=\"com.azure.cosmos.util.CosmosPagedFlux?alt=com.azure.cosmos.util.CosmosPagedFlux&text=CosmosPagedFlux\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
- description: "the preferred pageSize to be used when pulling data from the service"
|
|
name: "pageSize"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the number of pages prefetched from the paged flux - note that this might be interpolated\n by Reactor - for example all numbers > 1 but < 8 will result in at least prefetching 8 pages. See\n `reactor.util.concurrent.Queues.get(int)` for more details"
|
|
name: "pagePrefetchCount"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public CosmosPagedIterable(CosmosPagedFlux<T> cosmosPagedFlux, int pageSize, int pagePrefetchCount)"
|
|
desc: "Creates instance given <xref uid=\"com.azure.cosmos.util.CosmosPagedFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosPagedFlux\"></xref>."
|
|
methods:
|
|
- uid: "com.azure.cosmos.util.CosmosPagedIterable.handle(java.util.function.Consumer<com.azure.cosmos.models.FeedResponse<T>>)"
|
|
fullName: "com.azure.cosmos.util.CosmosPagedIterable<T>.handle(Consumer<FeedResponse<T>> feedResponseConsumer)"
|
|
name: "handle(Consumer<FeedResponse<T>> feedResponseConsumer)"
|
|
nameWithType: "CosmosPagedIterable<T>.handle(Consumer<FeedResponse<T>> feedResponseConsumer)"
|
|
summary: "Handle for invoking \"side-effects\" on each Feed<wbr>Response returned by Cosmos<wbr>Paged<wbr>Iterable"
|
|
parameters:
|
|
- description: "handler"
|
|
name: "feedResponseConsumer"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html\">Consumer</a><<xref href=\"com.azure.cosmos.models.FeedResponse?alt=com.azure.cosmos.models.FeedResponse&text=FeedResponse\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>>"
|
|
syntax: "public CosmosPagedIterable<T> handle(Consumer<FeedResponse<T>> feedResponseConsumer)"
|
|
desc: "Handle for invoking \"side-effects\" on each FeedResponse returned by CosmosPagedIterable"
|
|
returns:
|
|
description: "CosmosPagedIterable instance with attached handler"
|
|
type: "<xref href=\"com.azure.cosmos.util.CosmosPagedIterable?alt=com.azure.cosmos.util.CosmosPagedIterable&text=CosmosPagedIterable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
type: "class"
|
|
typeParameters:
|
|
- description: "The type of elements in a <xref uid=\"com.azure.core.util.paging.ContinuablePage\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.azure.core.util.paging.ContinuablePage\"></xref>"
|
|
name: "T"
|
|
desc: "Cosmos implementation of <xref uid=\"com.azure.core.util.paging.ContinuablePagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.azure.core.util.paging.ContinuablePagedIterable\"></xref>.\n\nThis type is a <xref uid=\"com.azure.core.util.IterableStream\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.azure.core.util.IterableStream\"></xref> that provides the ability to operate on pages of type <xref uid=\"com.azure.cosmos.models.FeedResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"FeedResponse\"></xref> and individual items in such pages. This type supports <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"String\"></xref> type continuation tokens, allowing for restarting from a previously-retrieved continuation token.\n\nFor more information on the base type, refer <xref uid=\"com.azure.core.util.paging.ContinuablePagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.azure.core.util.paging.ContinuablePagedIterable\"></xref>"
|
|
metadata: {}
|
|
package: "com.azure.cosmos.util"
|
|
artifact: com.azure:azure-cosmos:4.63.3
|