XtqlQuery

Types

Link copied to clipboard
@Serializable
data class Aggregate(val cols: List<Binding>) : XtqlQuery.QueryTail
Link copied to clipboard
@Serializable
data class Call(val ruleName: String, val args: List<Expr>, val bindings: List<Binding>? = null) : XtqlQuery.UnifyClause
Link copied to clipboard
@Serializable
data class DocsRelation(val documents: List<Map<String, Expr>>, val bindings: List<Binding>) : XtqlQuery.Relation
Link copied to clipboard
@Serializable
data class From(val table: String, val bindings: List<Binding>? = null, val forValidTime: TemporalFilter? = null, val forSystemTime: TemporalFilter? = null, val projectAllCols: Boolean = false) : XtqlQuery, XtqlQuery.UnifyClause
Link copied to clipboard
Link copied to clipboard
@Serializable
data class Join(val query: XtqlQuery, val args: List<Binding>? = null, val bindings: List<Binding>? = null) : XtqlQuery.IJoin
Link copied to clipboard
@Serializable
data class LeftJoin(val query: XtqlQuery, val args: List<Binding>? = null, val bindings: List<Binding>? = null) : XtqlQuery.IJoin
Link copied to clipboard
@Serializable
data class Limit(val length: Long) : XtqlQuery.QueryTail
Link copied to clipboard
@Serializable
data class Offset(val length: Long) : XtqlQuery.QueryTail
Link copied to clipboard
@Serializable
data class OrderBy(val orderSpecs: List<XtqlQuery.OrderSpec?>) : XtqlQuery.QueryTail
Link copied to clipboard
Link copied to clipboard
@Serializable
enum OrderNulls : Enum<XtqlQuery.OrderNulls>
Link copied to clipboard
@Serializable(with = XtqlQuery.OrderSpec.Serde::class)
data class OrderSpec(val expr: Expr, val direction: XtqlQuery.OrderDirection? = null, val nulls: XtqlQuery.OrderNulls? = null)
Link copied to clipboard
@Serializable
data class ParamRelation(val param: Expr.Param, val bindings: List<Binding?>) : XtqlQuery.Relation
Link copied to clipboard
@Serializable(with = XtqlQuery.Pipeline.Serde::class)
data class Pipeline(val query: XtqlQuery, val tails: List<XtqlQuery.QueryTail>) : XtqlQuery
Link copied to clipboard
@Serializable(with = XtqlQuery.QueryTail.Serde::class)
interface QueryTail
Link copied to clipboard
Link copied to clipboard
@Serializable
data class Return(val cols: List<Binding>) : XtqlQuery.QueryTail
Link copied to clipboard
@Serializable
data class Unify(val clauses: List<XtqlQuery.UnifyClause>) : XtqlQuery
Link copied to clipboard
interface UnifyClause
Link copied to clipboard
@Serializable
data class UnionAll(val queries: List<XtqlQuery>) : XtqlQuery
Link copied to clipboard
@Serializable
data class Unnest(val binding: Binding) : XtqlQuery.QueryTail, XtqlQuery.UnifyClause
Link copied to clipboard
@Serializable
data class Where(val preds: List<Expr>) : XtqlQuery.QueryTail, XtqlQuery.UnifyClause
Link copied to clipboard
@Serializable
data class With(val bindings: List<Binding>) : XtqlQuery.QueryTail, XtqlQuery.UnifyClause
Link copied to clipboard
@Serializable
data class Without(val cols: List<String>) : XtqlQuery.QueryTail