Interface ExecutionPlan
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A bounded Java-backed leaf plan returned by
TableProvider.scanWithArgs(ScanArgs).
Constructing the scan must not read source rows. Each execution opens a fresh independent reader whose schema is either the registered full schema or its requested projection. Reader buffers must use the supplied allocator or a child of it. DataFusion owns and closes the reader.
This is a Java-backed scan, not an API for arbitrary child-consuming physical operators.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.arrow.vector.ipc.ArrowReaderexecute(int partition, org.apache.arrow.memory.BufferAllocator allocator) Open an independent stream for a partition during physical execution.
-
Method Details
-
execute
org.apache.arrow.vector.ipc.ArrowReader execute(int partition, org.apache.arrow.memory.BufferAllocator allocator) Open an independent stream for a partition during physical execution.The current adapter executes only partition
0; the partition argument is explicit so supporting multi-partition plans later does not require changing this method's signature.
-