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 UsingWithPathon(String keyspace)Describes on which keyspace (bucket name) to index.UsingWithPathon(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:OnPrimaryPathDescribes on which keyspace (bucket name) to index, also prefixing the keyspace with a namespace.- Specified by:
onin 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:OnPrimaryPathDescribes on which keyspace (bucket name) to index.- Specified by:
onin interfaceOnPrimaryPath- Parameters:
keyspace- the keyspace targeted (it will automatically be escaped).
-