QueryMetadata¶
QueryMetadata
is an abstraction of query metadatas.
Contract (Subset)¶
getKafkaStreams¶
KafkaStreams getKafkaStreams()
KafkaStreams
(Kafka Streams) to execute this query
Used when:
SandboxedExecutionContext
is requested to executePersistentQueryMetadataImpl
is requested to initializeTransientQueryMetadata
is requested to isRunningPersistentQuerySaturationMetrics
is requested tomeasure
QueryMetricsUtil
is requested toinitializePullStreamMetricsCallback
getQueryType¶
KsqlConstants.KsqlQueryType getQueryType()
KsqlQueryType of this query
Used when:
QueryDescriptionFactory
is requested tocreate
aQueryDescription
ListQueriesExecutor
is requested togetLocalSimple
(forLIST QUERIES
command)
getTopology¶
Topology getTopology()
Topology
(Kafka Streams) of this query
Used when:
PersistentQueryMetadataImpl
is requested to initializeSandboxedSharedKafkaStreamsRuntimeImpl
is createdSharedKafkaStreamsRuntimeImpl
is requested to start a query and restartStreamsRuntime
start¶
void start()
Starts this query
Used when:
KsqlContext
is requested to sqlStandaloneExecutor
is requested to processesQueryFileCommandRunner
is requested to processPriorCommandsInteractiveStatementExecutor
is requested to executePlan