| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../generated/pyarrow.acero.Declaration.html | [Back] [Original] |
Section Navigation
Bases: _Weakrefable
Helper class for declaring the nodes of an ExecPlan.
A Declaration represents an unconstructed ExecNode, and potentially
more since its inputs may also be Declarations or when constructed
with from_sequence.
The possible ExecNodes to use are registered with a name, the factory name, and need to be specified using this name, together with its corresponding ExecNodeOptions subclass.
strThe ExecNode factory name, such as table_source, filter, project etc. See the ExecNodeOptions subclasses for the exact factory names to use.
ExecNodeOptionsCorresponding ExecNodeOptions subclass (matching the factory name).
list of Declaration, optionalInput nodes for this declaration. Optional if the node is a source
node, or when the declaration gets combined later with
from_sequence.
Methods
|
|
|
Convenience factory for the common case of a simple sequence of nodes. |
|
Run the declaration and return results as a RecordBatchReader. |
|
Run the declaration and collect the results into a table. |
Convenience factory for the common case of a simple sequence of nodes.
Each of the declarations will be appended to the inputs of the subsequent declaration, and the final modified declaration will be returned.
list of DeclarationRun the declaration and return results as a RecordBatchReader.
For details about the parameters, see to_table.
Run the declaration and collect the results into a table.
This method will implicitly add a sink node to the declaration to collect results into a table. It will then create an ExecPlan from the declaration, start the exec plan, block until the plan has finished, and return the created table.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |