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
See
OnPrimaryPath
.- Since:
- 2.2
- Author:
- Simon Baslé
-
Constructor Summary
Constructors Constructor Description DefaultOnPrimaryPath(AbstractPath parent)
-
Method Summary
Modifier and Type Method Description UsingWithPath
on(String keyspace)
Describes on which keyspace (bucket name) to index.UsingWithPath
on(String namespace, String keyspace)
Describes on which keyspace (bucket name) to index, also prefixing the keyspace with a namespace.Methods inherited from class com.couchbase.client.java.query.dsl.path.AbstractPath
element, toString
-
Constructor Details
-
DefaultOnPrimaryPath
-
-
Method Details
-
on
Description copied from interface:OnPrimaryPath
Describes on which keyspace (bucket name) to index, also prefixing the keyspace with a namespace.- Specified by:
on
in interfaceOnPrimaryPath
- Parameters:
namespace
- the optional namespace prefix for the keyspace (it will automatically be escaped).keyspace
- the keyspace targeted (it will automatically be escaped).
-
on
Description copied from interface:OnPrimaryPath
Describes on which keyspace (bucket name) to index.- Specified by:
on
in interfaceOnPrimaryPath
- Parameters:
keyspace
- the keyspace targeted (it will automatically be escaped).
-