| Package | Description |
|---|---|
| org.apache.calcite.linq4j.tree |
Object model for Java expressions.
|
| Modifier and Type | Method and Description |
|---|---|
static TryStatement |
Expressions.makeTry(Type type,
Expression body,
Expression finally_,
Expression fault,
CatchBlock... handlers)
Creates a TryExpression representing a try block with the
specified elements, using varargs.
|
static TryStatement |
Expressions.makeTry(Type type,
Expression body,
Expression finally_,
Expression fault,
Iterable<? extends CatchBlock> handlers)
Creates a TryExpression representing a try block with the
specified elements.
|
static TryStatement |
Expressions.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 TryStatement |
Expressions.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 TryStatement |
Expressions.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 TryStatement |
Expressions.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 TryStatement |
Expressions.tryFinally(Statement body,
Statement finally_)
Creates a TryExpression representing a try block with a
finally block and no catch statements.
|
| Modifier and Type | Method and Description |
|---|---|
Shuttle |
Shuttle.preVisit(TryStatement tryStatement) |
R |
VisitorImpl.visit(TryStatement tryStatement) |
R |
Visitor.visit(TryStatement tryStatement) |
Statement |
Shuttle.visit(TryStatement tryStatement,
Statement body,
List<CatchBlock> catchBlocks,
Statement fynally) |
Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.