PartiQLPlanner

interface PartiQLPlanner

PartiQLPlanner is responsible for transforming a PartiqlAst.Statement representation of a query into an equivalent PartiqlPhysical.Plan representation of the query.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Options(allowedUndefinedVariables: Boolean, typedOpBehavior: TypedOpBehavior)

Options which control PartiQLPlanner behavior.

Link copied to clipboard
data class PlanningDetails(ast: PartiqlAst.Statement?, astNormalized: PartiqlAst.Statement?, logical: PartiqlLogical.Plan?, logicalResolved: PartiqlLogicalResolved.Plan?, physical: PartiqlPhysical.Plan?, physicalTransformed: PartiqlPhysical.Plan?)
Link copied to clipboard
sealed class Result

TODO move Result.Success/Result.Error variant to the PartiQLCompiler

Functions

Link copied to clipboard
abstract fun plan(statement: PartiqlAst.Statement): PartiQLPlanner.Result

Transforms the given statement to an equivalent expression tree with each SELECT-FROM-WHERE block expanded into its relational algebra form.