Class DefaultOnPath

java.lang.Object
com.couchbase.client.java.query.dsl.path.AbstractPath
com.couchbase.client.java.query.dsl.path.index.DefaultOnPath
All Implemented Interfaces:
OnPath, Path

@Experimental
@Private
public class DefaultOnPath
extends AbstractPath
implements OnPath
See OnPath.
Since:
2.2
Author:
Simon Baslé
  • Constructor Details

    • DefaultOnPath

      public DefaultOnPath​(AbstractPath parent)
  • Method Details

    • on

      public WherePath on​(String namespace, String keyspace, Expression expression, Expression... additionalExpressions)
      Description copied from interface: OnPath
      Describes the target of a secondary N1QL index.
      Specified by:
      on in interface OnPath
      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

      public WherePath on​(String keyspace, Expression expression, Expression... additionalExpressions)
      Description copied from interface: OnPath
      Describes the target of a secondary N1QL index.
      Specified by:
      on in interface OnPath
      Parameters:
      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).