server
1.9.0
jvm
server
/
io.spine.server.tenant
/
QueryOperation
Query
Operation
public
abstract
class
QueryOperation
extends
ActorRequestOperation
A tenant-aware operation performed in response to a query.
Members
Constructors
Query
Operation
Link copied to clipboard
protected
void
QueryOperation
(
Query query
)
Creates new instance of the operation.
Functions
query
Link copied to clipboard
protected
Query
query
(
)
Obtains the query in response to which the operation is performed.
query
Id
Link copied to clipboard
protected
QueryId
queryId
(
)
Obtains the ID of the query.
Inherited functions
execute
Link copied to clipboard
public
void
execute
(
)
Executes the operation.
is
Tenant
Set
Link copied to clipboard
public
static
boolean
isTenantSet
(
)
Verifies whether a current tenant is set in the execution context.
run
Link copied to clipboard
public
abstract
void
run
(
)