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
SeeOnPrimaryPath
.- Since:
- 2.2
- Author:
- Simon Baslé
-
-
Constructor Summary
Constructors Constructor Description DefaultOnPrimaryPath(AbstractPath parent)
-
Method Summary
All Methods Instance Methods Concrete Methods 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 Detail
-
DefaultOnPrimaryPath
public DefaultOnPrimaryPath(AbstractPath parent)
-
-
Method Detail
-
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 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
public UsingWithPath on(String keyspace)
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).
-
-