irx.builder.lowering.nullable

irx.builder.lowering.nullable

Source: packages/irx/src/irx/builder/lowering/nullable.py

title: Lower resolved nullable operations through focused Arrow primitives.

Classes

NullableVisitorMixin(DataFrameVisitorMixin)

title: Materialize scalar validity and independently owned Series results.

Methods

column_operand(self, node: astx.AST, target: astx.DataType | None=None) -> list[ir.Value]
title: Encode either an opaque column or fixed-width scalar bits.
parameters:
  node:
    type: astx.AST
  target:
    type: astx.DataType | None
returns:
  type: list[ir.Value]
column_result(self, node: astx.AST, plan: ColumnOperation, bits: ir.Value, valid: ir.Value) -> None
title: Decode scalar bits only after native status success.
parameters:
  node:
    type: astx.AST
  plan:
    type: ColumnOperation
  bits:
    type: ir.Value
  valid:
    type: ir.Value
lower_column_operation(self, node: astx.AST) -> bool
title: Consume the semantic kernel plan without rediscovering types.
parameters:
  node:
    type: astx.AST
returns:
  type: bool
visit(self, node: astx.NullCheck) -> None
title: Lower a resolved null test.
parameters:
  node:
    type: astx.NullCheck
visit(self, node: astx.NullFill) -> None
title: Lower a resolved eager null replacement.
parameters:
  node:
    type: astx.NullFill
lower_series_slice(self, node: astx.SubscriptExpr) -> None
title: Lower resolved slice bounds without reading failed outputs.
parameters:
  node:
    type: astx.SubscriptExpr
visit(self, node: astx.SeriesReduction) -> None
title: Lower a fully resolved null-skipping Series reduction.
parameters:
  node:
    type: astx.SeriesReduction
lower_series_store(self, node: astx.BinaryOp, plan: ColumnOperation) -> None
title: Update one element without producing a statement value.
parameters:
  node:
    type: astx.BinaryOp
  plan:
    type: ColumnOperation
Back to top