Uses of Class
org.apache.calcite.linq4j.tree.Statement
-
Packages that use Statement Package Description org.apache.calcite.linq4j.tree Object model for Java expressions. -
-
Uses of Statement in org.apache.calcite.linq4j.tree
Subclasses of Statement in org.apache.calcite.linq4j.tree Modifier and Type Class Description classBlockStatementRepresents a block that contains a sequence of expressions where variables can be defined.classConditionalStatementRepresents an expression that has a conditional operator.classDeclarationStatementExpression that declares and optionally initializes a variable.classForStatementRepresents an infinite loop.classGotoStatementRepresents an unconditional jump.classLabelStatementRepresents a label, which can be put in anyExpressioncontext.classSwitchStatementRepresents a control expression that handles multiple selections by passing control toSwitchCase.classThrowStatementRepresents athrowstatement.classTryStatementRepresents atry ... catch ... finallyblock.classWhileStatementRepresents a "while" statement.Fields in org.apache.calcite.linq4j.tree declared as Statement Modifier and Type Field Description StatementCatchBlock. bodyStatementForStatement. bodyStatementTryStatement. bodyStatementWhileStatement. bodystatic StatementOptimizeShuttle. EMPTY_STATEMENTStatementTryStatement. fynallyFields in org.apache.calcite.linq4j.tree with type parameters of type Statement Modifier and Type Field Description (package private) List<Statement>BlockBuilder. statementsList<Statement>BlockStatement. statementsMethods in org.apache.calcite.linq4j.tree with type parameters of type Statement Modifier and Type Method Description (package private) static <T extends Statement>
StatementExpressions. accept(T node, Shuttle shuttle)Methods in org.apache.calcite.linq4j.tree that return Statement Modifier and Type Method Description StatementConditionalStatement. accept(Shuttle shuttle)(package private) static <T extends Statement>
StatementExpressions. accept(T node, Shuttle shuttle)StatementGotoStatement. accept(Shuttle shuttle)abstract StatementStatement. accept(Shuttle shuttle)StatementSwitchStatement. accept(Shuttle shuttle)StatementThrowStatement. accept(Shuttle shuttle)StatementTryStatement. accept(Shuttle shuttle)StatementWhileStatement. accept(Shuttle shuttle)static StatementExpressions. statement(Expression expression)Creates a statement that executes an expression.StatementOptimizeShuttle. visit(ConditionalStatement conditionalStatement, List<Node> list)StatementShuttle. visit(ConditionalStatement conditionalStatement, List<Node> list)StatementShuttle. visit(GotoStatement gotoStatement, Expression expression)StatementShuttle. visit(SwitchStatement switchStatement)StatementShuttle. visit(ThrowStatement throwStatement, Expression expression)StatementShuttle. visit(TryStatement tryStatement)StatementShuttle. visit(WhileStatement whileStatement, Expression condition, Statement body)Methods in org.apache.calcite.linq4j.tree that return types with arguments of type Statement Modifier and Type Method Description (package private) static List<Statement>Expressions. acceptStatements(List<Statement> statements, Shuttle shuttle)Methods in org.apache.calcite.linq4j.tree with parameters of type Statement Modifier and Type Method Description voidBlockBuilder. add(Statement statement)static BlockStatementExpressions. block(Type type, Statement... statements)Creates a BlockExpression that contains the given statements and has a specific result type, using varargs.static BlockStatementExpressions. block(Statement... statements)Creates a BlockExpression that contains the given statements, using varargs.static CatchBlockExpressions. catch_(ParameterExpression parameter, Statement statement)Creates a CatchBlock representing a catch statement with a reference to the caught Exception object for use in the handler body.static BlockStatementBlocks. create(Statement statement, BlockStatement block)Prepends a statement to a block.static ForStatementExpressions. for_(Iterable<? extends DeclarationStatement> declarations, Expression condition, Expression post, Statement body)Creates a LoopExpression with the given body.static ForStatementExpressions. for_(DeclarationStatement declaration, Expression condition, Expression post, Statement body)Creates a LoopExpression with the given body.static TryStatementExpressions. tryCatch(Statement body, Iterable<? extends CatchBlock> handlers)Creates a TryExpression representing a try block with any number of catch statements and neither a fault nor finally block.static TryStatementExpressions. tryCatch(Statement body, CatchBlock... handlers)Creates a TryExpression representing a try block with any number of catch statements and neither a fault nor finally block, with varargs.static TryStatementExpressions. tryCatchFinally(Statement body, Iterable<? extends CatchBlock> handlers, Statement finally_)Creates a TryExpression representing a try block with any number of catch statements and a finally block.static TryStatementExpressions. tryCatchFinally(Statement body, Statement finally_, CatchBlock... handlers)Creates a TryExpression representing a try block with any number of catch statements and a finally block, with varargs.static TryStatementExpressions. tryFinally(Statement body, Statement finally_)Creates a TryExpression representing a try block with a finally block and no catch statements.ForStatementShuttle. visit(ForStatement forStatement, List<DeclarationStatement> declarations, Expression condition, Expression post, Statement body)StatementShuttle. visit(WhileStatement whileStatement, Expression condition, Statement body)static WhileStatementExpressions. while_(Expression condition, Statement body)Creates a WhileExpression representing a while loop.Method parameters in org.apache.calcite.linq4j.tree with type arguments of type Statement Modifier and Type Method Description (package private) static List<Statement>Expressions. acceptStatements(List<Statement> statements, Shuttle shuttle)static BlockStatementExpressions. block(Iterable<? extends Statement> statements)Creates a BlockExpression that contains the given statements.static BlockStatementExpressions. block(Type type, Iterable<? extends Statement> expressions)Creates a BlockExpression that contains the given expressions, has no variables and has specific result type.BlockStatementShuttle. visit(BlockStatement blockStatement, List<Statement> statements)Constructors in org.apache.calcite.linq4j.tree with parameters of type Statement Constructor Description CatchBlock(ParameterExpression parameter, Statement body)ForStatement(List<DeclarationStatement> declarations, Expression condition, Expression post, Statement body)TryStatement(Statement body, List<CatchBlock> catchBlocks, Statement fynally)WhileStatement(Expression condition, Statement body)Constructor parameters in org.apache.calcite.linq4j.tree with type arguments of type Statement Constructor Description BlockStatement(List<Statement> statements, Type type)
-