Skip to content

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 execute
  • PersistentQueryMetadataImpl is requested to initialize
  • TransientQueryMetadata is requested to isRunning
  • PersistentQuerySaturationMetrics is requested to measure
  • QueryMetricsUtil is requested to initializePullStreamMetricsCallback

getQueryType

KsqlConstants.KsqlQueryType getQueryType()

KsqlQueryType of this query

Used when:

  • QueryDescriptionFactory is requested to create a QueryDescription
  • ListQueriesExecutor is requested to getLocalSimple (for LIST QUERIES command)

getTopology

Topology getTopology()

Topology (Kafka Streams) of this query

Used when:

start

void start()

Starts this query

Used when:

Implementations