@InterfaceStability.Experimental @InterfaceAudience.Public public interface CreateIndexPath extends Path
Starting path of the Index creation DSL.
Modifier and Type | Method and Description |
---|---|
OnPath |
create(String indexName)
Create a secondary index.
|
OnPrimaryPath |
createPrimary()
Create a primary index.
|
OnPrimaryPath |
createPrimary(String customPrimaryName)
Create a primary index with a custom name.
|
OnPath create(String indexName)
Create a secondary index.
indexName
- the name of the secondary index to be created. It will automatically be escaped.OnPrimaryPath createPrimary()
Create a primary index.
OnPrimaryPath createPrimary(String customPrimaryName)
Create a primary index with a custom name.
customPrimaryName
- the custom name for the primary index.Copyright © 2015 Couchbase, Inc.