Interface OnPrimaryPath

All Superinterfaces:
Path
All Known Implementing Classes:
DefaultOnPrimaryPath

@Experimental
@Public
public interface OnPrimaryPath
extends Path
On path in the primary Index creation DSL.
Since:
2.2
Author:
Simon Baslé
  • 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.
  • Method Details

    • on

      UsingWithPath on​(String keyspace)
      Describes on which keyspace (bucket name) to index.
      Parameters:
      keyspace - the keyspace targeted (it will automatically be escaped).
    • on

      UsingWithPath on​(String namespace, String keyspace)
      Describes on which keyspace (bucket name) to index, also prefixing the keyspace with a namespace.
      Parameters:
      namespace - the optional namespace prefix for the keyspace (it will automatically be escaped).
      keyspace - the keyspace targeted (it will automatically be escaped).