Package org.partiql.lang

Types

Link copied to clipboard
interface CompilerPipeline

CompilerPipeline is the main interface for compiling PartiQL queries into instances of Expression which can be executed.

Link copied to clipboard
typealias ProcessingStep = (PartiqlAst.Statement, StepContext) -> PartiqlAst.Statement

ProcessingStep functions accept an PartiqlAst.Statement and StepContext as an arguments and processes them in some way and then returns either the original PartiqlAst.Statement or a modified PartiqlAst.Statement.

Link copied to clipboard
open class SqlException(message: String, errorCode: ErrorCode, errorContext: PropertyValueMap, cause: Throwable?) : RuntimeException

General exception class for the interpreter.

Link copied to clipboard
data class StepContext(compileOptions: CompileOptions, functions: @JvmSuppressWildcards Map<String, ExprFunction>, procedures: @JvmSuppressWildcards Map<String, StoredProcedure>)

Contains all information needed for processing steps.