QirQueryPlan
classin packageklyn.data.internal.qir
public final class QirQueryPlan:
QirQueryPlan

Immutable canonical single-source query plan shared by all KQL providers.

The class is internal implementation detail. Public provider extensions use the reduced SPI view rather than depending on this representation.

windowed = plan.withWindow(20, 10)
Properties
Modifier and Type Member Description
public readonly property alias
alias as String
Lexical range alias.
public readonly property distinct
distinct as Boolean
Whether duplicate projected values are eliminated.
public readonly property limit
limit as Long
Maximum result rows, or -1 when unbounded.
public readonly property offset
offset as Long
Number of result rows skipped.
public readonly property orders
orders as ArrayList<QirOrder>
Stable canonical sort items.
public readonly property predicate
predicate as QirExpression
Canonical filtering expression.
public readonly property projection
projection as QirExpression
Canonical projection expression.
public readonly property resultType
resultType as String
Exact projected row type.
public readonly property sourceType
sourceType as String
Exact source row type.
Constructors
Modifier and Type Member Description
public QirQueryPlan
QirQueryPlan( sourceType as String, resultType as String, alias as String, predicate as QirExpression, projection as QirExpression, orders as IList<QirOrder>, offset as Long, limit as Long, distinct as Boolean ):
Creates one immutable canonical query plan.
Methods
Modifier and Type Member Description
public withWindow
withWindow(windowOffset as Long, windowLimit as Long) as QirQueryPlan:
Returns a relative result window while retaining the original boundary.