Package org.apache.calcite.util
Interface Puffin.Program<G>
- Type Parameters:
G
- Type of state that is created when we start processing
- Enclosing class:
Puffin
public static interface Puffin.Program<G>
A Puffin program. You can execute it on a file.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
execute
(Stream<? extends Source> sources, OutputStream out) Executes this program, writing to an output stream such asSystem.out
.execute
(Stream<? extends Source> sources, PrintWriter out) Executes this program.default void
execute
(Source source, OutputStream out) Executes this program on a single source.
-
Method Details
-
execute
Executes this program. -
execute
Executes this program, writing to an output stream such asSystem.out
. -
execute
Executes this program on a single source.
-