12345678910111213141516171819202122 |
- #pragma once
- #include <yql/essentials/public/purecalc/common/processor_mode.h>
- #include <yql/essentials/core/yql_graph_transformer.h>
- namespace NYql {
- namespace NPureCalc {
- /**
- * A transformer which rewrite the root to respect block types.
- *
- * @param acceptsBlock allows using this transformer in pipeline and
- * skip this phase if no block output is required.
- * @param processorMode specifies the top-most container of the result.
- * @return a graph transformer for rewriting the root node.
- */
- TAutoPtr<IGraphTransformer> MakeRootToBlocks(
- bool acceptsBlocks,
- EProcessorMode processorMode
- );
- }
- }
|