Class DefaultOnPrimaryPath

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

@Experimental
@Private
public class DefaultOnPrimaryPath
extends AbstractPath
implements OnPrimaryPath
Since:
2.2
Author:
Simon Baslé
  • Constructor Details

    • DefaultOnPrimaryPath

      public DefaultOnPrimaryPath​(AbstractPath parent)
  • Method Details

    • on

      public UsingWithPath on​(String namespace, String keyspace)
      Description copied from interface: OnPrimaryPath
      Describes on which keyspace (bucket name) to index, also prefixing the keyspace with a namespace.
      Specified by:
      on in interface OnPrimaryPath
      Parameters:
      namespace - the optional namespace prefix for the keyspace (it will automatically be escaped).
      keyspace - the keyspace targeted (it will automatically be escaped).
    • on

      public UsingWithPath on​(String keyspace)
      Description copied from interface: OnPrimaryPath
      Describes on which keyspace (bucket name) to index.
      Specified by:
      on in interface OnPrimaryPath
      Parameters:
      keyspace - the keyspace targeted (it will automatically be escaped).