Interface ViewStreamMethodRef<R>

Type Parameters:
R - The type of entries in the view
All Superinterfaces:
ComponentStreamMethodRef<R>

@DoNotInherit public interface ViewStreamMethodRef<R> extends ComponentStreamMethodRef<R>
Zero argument component call representation, query is not executed until stream is materialized. Cannot be deferred.

Not for user extension

  • Method Details

    • source

      akka.stream.javadsl.Source<R,akka.NotUsed> source()
      Specified by:
      source in interface ComponentStreamMethodRef<R>
      Returns:
      A stream of view entries.
    • entriesSource

      akka.stream.javadsl.Source<EntryWithMetadata<R>,akka.NotUsed> entriesSource()
      Returns:
      A stream of view entries, including metadata.
    • entriesSource

      akka.stream.javadsl.Source<EntryWithMetadata<R>,akka.NotUsed> entriesSource(Optional<Instant> updatedAfter)
      Parameters:
      updatedAfter - If not empty, only return rows updated later than this time.
      Returns:
      A stream of view entries, including metadata.