| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../generated/../api/../../cpp/api/gandiva.html | [Back] [Original] |
Tree Builder for a nested expression.
Public Static Functions
create a node on a literal.
create a node on a null literal.
returns null if data_type is null or if its not a supported datatype.
create a node on arrow field.
returns null if input is null.
create a node with a function.
returns null if return_type is null
create a node with an if-else expression.
returns null if any of the inputs is null.
create a node with a boolean AND expression.
create a node with a boolean OR expression.
create an expression with the specified root_node, and the result written to result_field.
returns null if the result_field is null.
convenience function for simple function expressions.
returns null if the out_field is null.
create a condition with the specified root_node
convenience function for simple function conditions.
creates an in expression
creates an in expression for float
creates an in expression for double
Date as s/millis since epoch.
Date as millis/us/ns since epoch.
Time as s/millis of day.
Time as millis/us/ns of day.
Timestamp as millis since epoch.
Represents a node in the expression tree.
Validity and value are in a joined state.
Subclassed by gandiva::BooleanNode, gandiva::FieldNode, gandiva::FunctionNode, gandiva::IfNode, gandiva::InExpressionNode< Type >, gandiva::InExpressionNode< gandiva::DecimalScalar128 >, gandiva::LiteralNode
Public Functions
Derived classes should simply invoke the Visit api of the visitor.
An expression tree with a root node, and a result field.
Subclassed by gandiva::Condition
A condition expression.
Signature for a function : includes the base name, input param types and output types.
Public Functions
calculated based on name, datatype id of parameters and datatype id of return type.
Get the list of all function signatures.
runtime config for gandiva
It contains elements to customize gandiva execution at run time.
configuration builder for gandiva
Provides a default configuration and convenience methods to override specific values and build a custom instance
projection using expressions.
A projector is built for a specific schema and vector of expressions. Once the projector is built, it can be used to evaluate many row batches.
Public Functions
Evaluate the specified record batch, and return the allocated and populated output arrays.
The output arrays will be allocated from the memory pool pool, and added to the vector output.
batch [in] the record batch. schema should be the same as the one in Make
pool [in] memory pool used to allocate output arrays (if required).
output [out] the vector of allocated/populated arrays.
Evaluate the specified record batch, and populate the output arrays.
The output arrays of sufficient capacity must be allocated by the caller.
batch [in] the record batch. schema should be the same as the one in Make
output [inout] vector of arrays, the arrays are allocated by the caller and populated by Evaluate.
Evaluate the specified record batch, and return the allocated and populated output arrays.
The output arrays will be allocated from the memory pool pool, and added to the vector output.
batch [in] the record batch. schema should be the same as the one in Make
selection_vector [in] selection vector which has filtered row positions.
pool [in] memory pool used to allocate output arrays (if required).
output [out] the vector of allocated/populated arrays.
Evaluate the specified record batch, and populate the output arrays at the filtered positions.
The output arrays of sufficient capacity must be allocated by the caller.
batch [in] the record batch. schema should be the same as the one in Make
selection_vector [in] selection vector which has the filtered row positions
output [inout] vector of arrays, the arrays are allocated by the caller and populated by Evaluate.
Public Static Functions
Build a default projector for the given schema to evaluate the vector of expressions.
schema [in] schema for the record batches, and the expressions.
exprs [in] vector of expressions.
projector [out] the returned projector object
Build a projector for the given schema to evaluate the vector of expressions.
Customize the projector with runtime configuration.
schema [in] schema for the record batches, and the expressions.
exprs [in] vector of expressions.
configuration [in] run time configuration.
projector [out] the returned projector object
Build a projector for the given schema to evaluate the vector of expressions.
Customize the projector with runtime configuration.
schema [in] schema for the record batches, and the expressions.
exprs [in] vector of expressions.
selection_vector_mode [in] mode of selection vector
configuration [in] run time configuration.
projector [out] the returned projector object
filter records based on a condition.
A filter is built for a specific schema and condition. Once the filter is built, it can be used to evaluate many row batches.
Public Functions
Evaluate the specified record batch, and populate output selection vector.
batch [in] the record batch. schema should be the same as the one in Make
out_selection [inout] the selection array with indices of rows that match the condition.
Public Static Functions
Build a filter for the given schema and condition, with the default configuration.
schema [in] schema for the record batches, and the condition.
condition [in] filter condition.
filter [out] the returned filter object
Build a filter for the given schema and condition.
Customize the filter with runtime configuration.
schema [in] schema for the record batches, and the condition.
condition [in] filter conditions.
config [in] run time configuration.
filter [out] the returned filter object
Selection Vector : vector of indices in a row-batch for a selection, backed by an arrow-array.
Subclassed by gandiva::SelectionVectorImpl< C_TYPE, A_TYPE, mode >
Public Functions
Get the value at a given index.
Set the value at a given index.
The maximum slots (capacity) of the selection vector.
The number of slots (size) of the selection vector.
Set the number of slots in the selection vector.
Convert to arrow-array.
Mode of SelectionVector.
populate selection vector for all the set bits in the bitmap.
bitmap [in] the bitmap
bitmap_size [in] size of the bitmap in bytes
max_bitmap_index [in] max valid index in bitmap (can be lesser than capacity in the bitmap, due to alignment/padding).
Public Static Functions
make selection vector with int16 type records.
max_slots [in] max number of slots
buffer [in] buffer sized to accommodate max_slots
selection_vector [out] selection vector backed by buffer
max_slots [in] max number of slots
pool [in] memory pool to allocate buffer
selection_vector [out] selection vector backed by a buffer allocated from the pool.
creates a selection vector with pre populated buffer.
num_slots [in] size of the selection vector
buffer [in] pre-populated buffer
selection_vector [out] selection vector backed by buffer
make selection vector with int32 type records.
max_slots [in] max number of slots
buffer [in] buffer sized to accommodate max_slots
selection_vector [out] selection vector backed by buffer
make selection vector with int32 type records.
max_slots [in] max number of slots
pool [in] memory pool to allocate buffer
selection_vector [out] selection vector backed by a buffer allocated from the pool.
creates a selection vector with pre populated buffer.
num_slots [in] size of the selection vector
buffer [in] pre-populated buffer
selection_vector [out] selection vector backed by buffer
make selection vector with int64 type records.
max_slots [in] max number of slots
buffer [in] buffer sized to accommodate max_slots
selection_vector [out] selection vector backed by buffer
make selection vector with int64 type records.
max_slots [in] max number of slots
pool [in] memory pool to allocate buffer
selection_vector [out] selection vector backed by a buffer allocated from the pool.
| Web Proxy Viewer | New URL | Original Page |