Viaduct

interface Viaduct(source)

A unified interface for configuring and executing queries against the Viaduct runtime

Functions

Link copied to clipboard
abstract fun execute(executionInput: ExecutionInput): ExecutionResult

Executes a query for the schema registry by using a Viaduct ExecutionInput.

Link copied to clipboard
abstract fun executeAsync(executionInput: ExecutionInput): CompletableFuture<ExecutionResult>

Executes a query for the schema registry by using a Viaduct ExecutionInput and wraps it on a CompletableFuture.

Link copied to clipboard
abstract fun getAppliedScopes(schemaId: String): Set<String>?

This function is used to get the applied scopes for a given schemaId

Link copied to clipboard
abstract fun getSchema(schemaId: String): ViaductSchema?

Temporary - Will be either private/or somewhere not exposed