Class DefaultOnPath
java.lang.Object
com.couchbase.client.java.query.dsl.path.AbstractPath
com.couchbase.client.java.query.dsl.path.index.DefaultOnPath
@Experimental @Private public class DefaultOnPath extends AbstractPath implements OnPath
See
OnPath.- Since:
- 2.2
- Author:
- Simon Baslé
-
Constructor Summary
Constructors Constructor Description DefaultOnPath(AbstractPath parent) -
Method Summary
Modifier and Type Method Description WherePathon(String keyspace, Expression expression, Expression... additionalExpressions)Describes the target of a secondary N1QL index.WherePathon(String namespace, String keyspace, Expression expression, Expression... additionalExpressions)Describes the target of a secondary N1QL index.Methods inherited from class com.couchbase.client.java.query.dsl.path.AbstractPath
element, toString
-
Constructor Details
-
DefaultOnPath
-
-
Method Details
-
on
public WherePath on(String namespace, String keyspace, Expression expression, Expression... additionalExpressions)Description copied from interface:OnPathDescribes the target of a secondary N1QL index.- Specified by:
onin interfaceOnPath- Parameters:
namespace- optional prefix for the keyspace (it will be automatically escaped).keyspace- the keyspace (bucket name, it will be automatically escaped).expression- the base expression to be indexed (mandatory).additionalExpressions- additional expressions to be indexed (optional).
-
on
Description copied from interface:OnPathDescribes the target of a secondary N1QL index.
-