#pragma once #include #include 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 MakeRootToBlocks( bool acceptsBlocks, EProcessorMode processorMode ); } }