public interface NestedBlockBuilder
RexNode expressions.| Modifier and Type | Method and Description |
|---|---|
BlockBuilder |
currentBlock()
Returns the current code block
|
Map<RexNode,Boolean> |
currentNullables()
Returns the current nullability state of rex nodes.
|
void |
exitBlock()
Leaves the current code block.
|
BlockBuilder |
nestBlock()
Starts nested code block.
|
void |
nestBlock(BlockBuilder block)
Uses given block as the new code context.
|
void |
nestBlock(BlockBuilder block,
Map<RexNode,Boolean> nullables)
Uses given block as the new code context and the map of nullability.
|
BlockBuilder nestBlock()
void nestBlock(BlockBuilder block)
exitBlock() call.block - new code blockexitBlock()void nestBlock(BlockBuilder block, Map<RexNode,Boolean> nullables)
exitBlock() call.block - new code blocknullables - map of expression to its nullability stateexitBlock()BlockBuilder currentBlock()
Map<RexNode,Boolean> currentNullables()
void exitBlock()
nestBlock()Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.