QueriedViewReads

class QueriedViewReads(systemViews: StoredSystemViews, queries: () -> NodeQueryApi?) : ViewReads

The view reads of the view store's routes: the system views from systemViews, the saved views from the view snapshots. The snapshots are read as trusted code, the view store's own, which no access policy restricts, so each read keeps to its application here as the views' access policy does for a caller's query (ViewStoreConfiguration). A node whose backend serves no snapshot query reads no saved view.

Constructors

Link copied to clipboard
constructor(systemViews: StoredSystemViews, queries: () -> NodeQueryApi?)

Functions

Link copied to clipboard
open suspend override fun savedViews(tenantId: String, appId: String, id: String, owners: Set<String>): List<ViewEntry>
Link copied to clipboard
open suspend override fun systemView(tenantId: String, appId: String, id: String): SystemView?
Link copied to clipboard
open suspend override fun systemViews(tenantId: String, appId: String, definitionId: String?): List<SystemView>