Skip to content

Module: expression_impl

The modules in this file should be accessed like the following:

import struct2tensor as s2t
from struct2tensor import expression_impl

s2t.expression_impl.apply_schema

Modules

apply_schema module: Apply a schema to an expression.

broadcast module: Methods for broadcasting a path in a tree.

depth_limit module: Caps the depth of an expression.

filter_expression module: Create a new expression that is a filtered version of an original one.

index module: get_positional_index and get_index_from_end methods.

map_prensor module: Arbitrary operations from sparse and ragged tensors to a leaf field.

map_prensor_to_prensor module: Arbitrary operations from prensors to prensors in an expression.

map_values module: Maps the values of various leaves of the same child to a single result.

parquet module: Apache Parquet Dataset.

placeholder module: Placeholder expression.

project module: project selects a subtree of an expression.

promote module: Promote an expression to be a child of its grandparent.

promote_and_broadcast module: promote_and_broadcast a set of nodes.

proto module: Expressions to parse a proto.

reroot module: Reroot to a subtree, maintaining an input proto index.

size module: Functions for creating new size or has expression.

slice_expression module: Implementation of slice.