Abstract
Protected
constructorReadonly
beforeActor that must be registered in the bus before this actor.
Readonly
busThe bus this actor subscribes to.
Readonly
nameThe name for this actor.
{<rdf:subject>}
Readonly
operationProtected
getOptional
data: (() => any)Protected
logOptional
data: (() => any)Protected
logOptional
data: (() => any)Protected
logOptional
data: (() => any)Protected
logOptional
data: (() => any)Protected
logOptional
data: (() => any)Protected
logOptional
data: (() => any)Run the given action on this actor.
In most cases, this method should not be called directly. Instead, #runObservable should be called.
The action to run.
A promise that resolves to the run result.
Run the given action on this actor AND invokes the Bus#onRun method.
The action to run.
A promise that resolves to the run result.
Protected
Abstract
runCheck if this actor can run the given action, without actually running it.
The action to test.
A promise that resolves to the test result.
Protected
Abstract
testStatic
assignAssign a source wrapper to the given operation. The operation is copied and returned.
An operation.
A source wrapper.
Static
createCreate an existence resolver for usage within an expression context.
An action context.
A query operation mediator.
The bindings factory.
Static
doesCheck if the given shape accepts the given query operation.
A shape to test the query operation against.
A query operation to test.
Optional
options: { Additional options to consider.
Optional
filterIf additional bindings will be pushed down to the source for filtering.
Optional
joinIf additional bindings will be pushed down to the source for joining.
Static
getCreate an options object that can be used to construct a expression-evaluator asynchronous evaluator.
An action context.
A query query operation mediator for resolving exists
.
The bindings factory.
Protected
Static
getStatic
getGet the logger from the given context.
An optional context.
The logger or undefined.
Static
getCreate an options object that can be used to construct a expression-evaluator synchronous evaluator.
An action context.
Optional
_mediatorQueryOperation: MediatorQueryOperationAn optional query query operation mediator.
If defined, the existence resolver will be defined as exists
.
Static
getObtain the query source attached to the given operation.
An algebra operation.
Static
getSafely cast a query operation output to a bindings output. This will throw a runtime error if the output is of the incorrect type.
A query operation output.
A bindings query operation output.
Static
getSafely cast a query operation output to a boolean output. This will throw a runtime error if the output is of the incorrect type.
A query operation output.
A boolean query operation output.
Static
getSafely cast a query operation output to a quads output. This will throw a runtime error if the output is of the incorrect type.
A query operation output.
A quads query operation output.
Static
getSafely cast a query operation output to a void output. This will throw a runtime error if the output is of the incorrect type.
A query operation output.
A void query operation output.
Static
removeStatic
throwThrow an error if the context contains the readOnly flag.
An action context.
Static
validateThrow an error if the output type does not match the expected type.
A query operation output.
The expected output type.
Generated using TypeDoc
A base implementation for query operation actors for a specific operation type.