Package akka.javasdk.client
Interface ViewStreamMethodRef1<A1,R>
- Type Parameters:
A1- The type of the view inputR- The type of entries in the view
- All Superinterfaces:
ComponentStreamMethodRef1<A1,R>
One argument streaming view query representation, the query is not executed until stream is
materialized. Cannot be deferred.
Not for user extension
-
Method Summary
Modifier and TypeMethodDescriptionakka.stream.javadsl.Source<EntryWithMetadata<R>, akka.NotUsed> entriesSource(A1 arg) akka.stream.javadsl.Source<EntryWithMetadata<R>, akka.NotUsed> entriesSource(A1 arg, Optional<Instant> updatedAfter) akka.stream.javadsl.Source<R, akka.NotUsed>
-
Method Details
-
source
- Specified by:
sourcein interfaceComponentStreamMethodRef1<A1,R> - Returns:
- A stream of view entries.
-
entriesSource
- Returns:
- A stream of view entries, including metadata.
-
entriesSource
akka.stream.javadsl.Source<EntryWithMetadata<R>,akka.NotUsed> entriesSource(A1 arg, Optional<Instant> updatedAfter) - Parameters:
arg- Query parametersupdatedAfter- If not empty, only return rows updated later than this time.- Returns:
- A stream of view entries, including metadata.
-