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 GroupByPathwhere(Expression expression)Filter resulting rows based on the given expression.GroupByPathwhere(String expression)Filter resulting rows based on the given expression.Methods inherited from interface com.couchbase.client.java.query.dsl.path.GroupByPath
groupBy, groupByMethods inherited from interface com.couchbase.client.java.query.dsl.path.OffsetPath
offsetMethods inherited from interface com.couchbase.client.java.query.dsl.path.OrderByPath
orderByMethods 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.
-