@InterfaceStability.Experimental @InterfaceAudience.Public public interface CreateIndexPath extends Path
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)
indexName
- the name of the secondary index to be created. It will automatically be escaped.OnPrimaryPath createPrimary()
OnPrimaryPath createPrimary(String customPrimaryName)
customPrimaryName
- the custom name for the primary index.Copyright © 2015 Couchbase, Inc.