Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion::logical_expr - Rust
[go: Go Back, main page]

Module datafusion::logical_expr

source ·
Expand description

re-export of datafusion_expr crate

Modules§

Macros§

Structs§

  • Aggregates its input based on a set of grouping and aggregate expressions (e.g. SUM).
  • Logical representation of a user-defined aggregate function (UDAF).
  • Runs the actual plan, and then prints the physical plan with with execution metrics.
  • BETWEEN expression
  • Binary expression
  • CASE expression
  • Cast expression
  • Creates a catalog (aka “Database”).
  • Creates a schema.
  • Creates an external table.
  • Arguments passed to CREATE FUNCTION
  • Creates an in memory table.
  • Creates a view.
  • Apply Cross Join to two logical plans
  • Describe the schema of table
  • Removes duplicate rows from the input
  • The operator that modifies the content of a database (adapted from substrait WriteRel)
  • Drops a schema
  • Drops a table.
  • Drops a view.
  • Produces no rows: An empty relation with an empty schema
  • Produces a relation with string representations of various parts of the plan
  • Extension operator defined outside of DataFusion
  • Filters rows from its input that do not match an expression (essentially a WHERE clause with a predicate expression).
  • Join two logical plans on one or more join columns
  • LIKE expression
  • Produces the first n tuples from its input and discards the rest.
  • Builder for logical plans
  • Prepare a statement but do not execute it. Prepare statements can have 0 or more Expr::Placeholder expressions that are filled in during execution
  • Evaluates an arbitrary list of expressions (essentially a SELECT with an expression list) on its input.
  • A variadic query operation, Recursive CTE.
  • Repartition the plan based on a partitioning scheme.
  • Logical representation of a Scalar User Defined Function.
  • Set a Variable’s value – value in ConfigOptions
  • Defines the supported argument types (TypeSignature) and Volatility for a function.
  • Implements AggregateUDFImpl for functions that have a single signature and return type.
  • Implements ScalarUDFImpl for functions that have a single signature and return type.
  • Implements WindowUDFImpl for functions that have a single signature and return type.
  • Sorts its input according to a list of sort expressions.
  • SORT expression
  • Represents some sort of execution plan, in String form
  • Subquery
  • Aliased subquery
  • Produces rows from a table provider by reference or from the context
  • Indicator that any current transaction should be terminated
  • Indicator that the following statements should be committed or rolled back atomically
  • TryCast Expression
  • Union multiple inputs
  • Unnest a column that contains a nested list type. See UnnestOptions for more details.
  • Values expression. See Postgres VALUES documentation for more details.
  • Window its input based on a set of window spec and window function (e.g. SUM or RANK)
  • The frame specification determines which output rows are read by an aggregate window function. The ending frame boundary can be omitted if the BETWEEN and AND keywords that surround the starting frame boundary are also omitted, in which case the ending frame boundary defaults to CURRENT ROW.
  • Logical representation of a user-defined window function (UDWF) A UDWF is different from a UDF in that it is stateful across batches.

Enums§

Constants§

  • Constant that is used as a placeholder for any valid timezone. This is used where a function can accept a timestamp type with any valid timezone, it exists to avoid the need to enumerate all possible timezones. See TypeSignature for more details.
  • Default table name for unnamed table

Traits§

Functions§

  • Return a new expression with a logical AND
  • Create an expression to represent the array_agg() aggregate function
  • Return a new expression left <op> right
  • Return a new expression with bitwise AND
  • Return a new expression with bitwise OR
  • Return a new expression with bitwise SHIFT LEFT
  • Return a new expression with bitwise SHIFT RIGHT
  • Return a new expression with bitwise XOR
  • Creates a schema for a join operation. The fields from the left side are first
  • Create a CASE WHEN statement with literal WHEN expressions for comparison to the base expression.
  • Create a cast expression
  • Create a column expression based on a qualified or unqualified column name. Will normalize unquoted identifiers according to SQL rules (identifiers will become lowercase).
  • Creates a new UDAF with a specific signature, state type and return type. The signature and state type must match the Accumulator's implementation.
  • Convenience method to create a new user defined scalar function (UDF) with a specific signature and specific return type.
  • Creates a new UDWF with a specific signature, state type and return type.
  • Create a grouping set for all combination of exprs
  • Print the schema in a compact representation to buf
  • Create an EXISTS subquery expression
  • Create a grouping set
  • Create an unqualified column expression from the provided name, without normalizing the column.
  • Create an in_list expression
  • Create an IN subquery expression
  • Create is false expression
  • Create is not false expression
  • Create is not true expression
  • Create is not unknown expression
  • Create is null expression
  • Create is true expression
  • Create is unknown expression
  • Create a literal expression
  • Create a literal timestamp expression
  • Create an expression to represent the max() aggregate function
  • Create an expression to represent the min() aggregate function
  • Return a new expression with a logical NOT
  • Create a NOT EXISTS subquery expression
  • Create a NOT IN subquery expression
  • Return a new expression with a logical OR
  • Create an out reference column which hold a reference that has been resolved to a field outside of the current plan.
  • Create placeholder value that will be filled in (such as $1)
  • Computes the schema of the result produced by applying a projection to the input logical plan.
  • Create a grouping set for rollup
  • Create a scalar subquery expression
  • Create a LogicalPlanBuilder representing a scan of a table with the provided name and schema. This is mostly used for testing and documentation.
  • Create a try cast expression
  • Union two logical plans.
  • Create a Unnest expression
  • Create a CASE WHEN statement with boolean WHEN expressions and no base expression.
  • Create an ‘*’ Expr::Wildcard expression that matches all columns
  • Wrap projection for a plan, if the join keys contains normal expression.

Type Aliases§