public interface NestedBlockBuilder
RexNode
expressions.Modifier and Type | Method and Description |
---|---|
BlockBuilder |
currentBlock()
Returns the current code block
|
java.util.Map<RexNode,java.lang.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,
java.util.Map<RexNode,java.lang.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, java.util.Map<RexNode,java.lang.Boolean> nullables)
exitBlock()
call.block
- new code blocknullables
- map of expression to its nullability stateexitBlock()
BlockBuilder currentBlock()
java.util.Map<RexNode,java.lang.Boolean> currentNullables()
void exitBlock()
nestBlock()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.