Interface WherePath
- All Superinterfaces:
GroupByPath
,LimitPath
,OffsetPath
,OrderByPath
,Path
,SelectResultPath
,Statement
- All Known Subinterfaces:
AsPath
,FromPath
,HintPath
,JoinPath
,KeysPath
,LetPath
,NestPath
,UnnestPath
- All Known Implementing Classes:
DefaultAsPath
,DefaultFromPath
,DefaultHintPath
,DefaultJoinPath
,DefaultKeysPath
,DefaultLetPath
,DefaultNestPath
,DefaultUnnestPath
,DefaultWherePath
public interface WherePath extends GroupByPath
Filters resulting rows based on the given expression.
The where condition is evaluated for each resulting row, and only rows evaluating true are retained. All
method overloads which do not take an
Expression
will be converted to one internally.- Since:
- 2.0
- Author:
- Michael Nitschinger
-
Method Summary
Modifier and Type Method Description GroupByPath
where(Expression expression)
Filter resulting rows based on the given expression.GroupByPath
where(String expression)
Filter resulting rows based on the given expression.Methods inherited from interface com.couchbase.client.java.query.dsl.path.GroupByPath
groupBy, groupBy
Methods inherited from interface com.couchbase.client.java.query.dsl.path.OffsetPath
offset
Methods inherited from interface com.couchbase.client.java.query.dsl.path.OrderByPath
orderBy
Methods inherited from interface com.couchbase.client.java.query.dsl.path.SelectResultPath
except, except, exceptAll, exceptAll, intersect, intersect, intersectAll, intersectAll, union, union, unionAll, unionAll
-
Method Details
-
where
Filter resulting rows based on the given expression.- Parameters:
expression
- the filter expression.- Returns:
- the next possible steps.
-
where
Filter resulting rows based on the given expression. The given string will be converted into an expression internally.- Parameters:
expression
- the filter expression.- Returns:
- the next possible steps.
-