Skip to main content

Crate hawdb_sql

Crate hawdb_sql 

Source

Re-exports§

pub use timing::RelationalSqlStageTimings;

Modules§

syntax
timing

Structs§

AlterTableAddColumnStatement
BoundPgqColumn
BoundPgqExpression
BoundPgqGraphPattern
BoundPgqGraphTable
BoundPgqPath
BoundPgqPathFactor
BoundPgqVariable
CreateBranchStatement
CreateIndexStatement
CreateTableStatement
DeleteStatement
DropBranchStatement
Expr
An owned SQL expression shared by predicates, projections and ordering.
InsertStatement
PgqBindError
PgqBindingContext
PgqCreateBindError
PgqLoweringError
PgqSlotId
PgqSourceColumnSchema
PgqSourceForeignKeySchema
PgqSourceTableSchema
PostgresParameterMetadata
PreparedPostgresStatement
PropertyGraphCatalog
PropertyGraphElementSchema
PropertyGraphSchema
SelectStatement
ShowBranchStatement
ShowBranchesStatement
A bounded page over the durable branch catalog.
SqlAssignment
SqlColumnDefinition
SqlColumnRef
SqlExplainStatement
SqlForeignKeyReference
SqlIndexColumn
A column-only index DDL specification, independent of query order expressions.
SqlJoin
SqlOnConflict
SqlOrderItem
SqlSourceLocation
SqlSourceSpan
Contributing token locations supplied by the frontend, not an exact text slice. Zero locations represent expressions constructed without source information.
SqlTableName
SqlVectorIndexSearch
UpdateStatement

Enums§

BoundPgqExpressionKind
BoundPgqLiteral
BoundPgqPathPrimary
BranchSqlSelector
A typed selector avoids treating UUID-looking names as identifiers. The runtime validates Id values as UUIDs only after parameter binding.
BranchSqlStatement
A branch lifecycle command parsed by the PostgreSQL entrypoint.
BranchSqlValue
A branch name, UUID, or opaque selector parameter. Branch commands accept only string literals or PostgreSQL positional parameters, never SQL expression evaluation or interpolated text.
ExprKind
PgqBindErrorCode
PgqCreateBindErrorCode
PgqDataType
PgqElementKind
PgqLoweringErrorCode
SelectProjection
SqlArithmeticOperand
SqlArithmeticOperator
SqlAssignmentValue
SqlBound
SqlColumnDefault
SqlComparisonOp
SqlConflictAction
SqlDataType
SqlFunctionArgument
SqlGeneratedOrder
SqlJoinKind
SqlLikeEscape
SqlLockStrength
SqlNullOrder
SqlOrderDirection
SqlReferentialAction
SqlStatement
SqlTableConstraint
SqlTableStorage
SqlValue

Traits§

PgqCatalog
PgqSourceCatalog
A coherent, read-only source metadata snapshot for one creation binding. The caller resolves search paths and owns its lifetime; no rows are read.

Functions§

bind_postgres_create_property_graph
Validate a parsed creation against a source snapshot and return its schema.
bind_postgres_graph_tables
lower_bound_pgq_graph_table
Lowers the qualified executable SQL/PGQ subset into HawDB’s shared graph logical operators.
parse_postgres_sql
prepare_postgres_sql
sql_like_matches
Matches SQL LIKE patterns with locale-independent Unicode default case folding for ILIKE.

Type Aliases§

PgqLoweringParameters
SqlExpression
Compatibility name for the shared expression tree.
SqlPredicate
Compatibility name for expressions used in predicate positions.