public static final class Collections.WhenBuilder extends Object
Modifier and Type | Method and Description |
---|---|
Collections.WhenBuilder |
in(String variable,
Expression expression)
Add an in-expression to the clause (a variable name and its associated expression)
|
Expression |
when(Expression condition)
Set a WHEN clause, a condition that must be satisfied by the array comprehension, and ends the comprehension.
|
Collections.WhenBuilder |
within(String variable,
Expression expression)
Add a within-expression to the clause (a variable name and its associated expression)
|
public Collections.WhenBuilder in(String variable, Expression expression)
public Collections.WhenBuilder within(String variable, Expression expression)
public Expression when(Expression condition)
Set a WHEN clause, a condition that must be satisfied by the array comprehension, and ends the comprehension. See end()
to avoid setting any condition.
Copyright © 2015 Couchbase, Inc.. All rights reserved.