| Package | Description |
|---|---|
| org.apache.calcite.linq4j.tree |
Object model for Java expressions.
|
| Modifier and Type | Method and Description |
|---|---|
static SwitchCase |
Expressions.switchCase(Expression expression,
Expression... body)
Creates a SwitchCase for use in a SwitchExpression, with varargs.
|
static SwitchCase |
Expressions.switchCase(Expression expression,
Iterable<? extends Expression> body)
Creates a SwitchCase for use in a SwitchExpression.
|
| Modifier and Type | Method and Description |
|---|---|
static SwitchStatement |
Expressions.switch_(Expression switchValue,
Expression defaultBody,
Method method,
SwitchCase... cases)
Creates a SwitchExpression that represents a switch statement
that has a default case, using varargs.
|
static SwitchStatement |
Expressions.switch_(Expression switchValue,
Expression defaultBody,
SwitchCase... cases)
Creates a SwitchExpression that represents a switch statement
that has a default case.
|
static SwitchStatement |
Expressions.switch_(Expression switchValue,
SwitchCase... cases)
Creates a SwitchExpression that represents a switch statement
without a default case.
|
static SwitchStatement |
Expressions.switch_(Type type,
Expression switchValue,
Expression defaultBody,
Method method,
SwitchCase... cases)
Creates a SwitchExpression that represents a switch statement
that has a default case, using varargs.
|
| Modifier and Type | Method and Description |
|---|---|
static SwitchStatement |
Expressions.switch_(Expression switchValue,
Expression defaultBody,
Method method,
Iterable<? extends SwitchCase> cases)
Creates a SwitchExpression that represents a switch statement
that has a default case.
|
static SwitchStatement |
Expressions.switch_(Type type,
Expression switchValue,
Expression defaultBody,
Method method,
Iterable<? extends SwitchCase> cases)
Creates a SwitchExpression that represents a switch statement
that has a default case.
|
Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.