public abstract class IndexDef
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IndexDef.IndexType |
Constructor and Description |
---|
IndexDef() |
Modifier and Type | Method and Description |
---|---|
static IndexDef |
create(java.lang.String indexName) |
abstract java.util.Collection<java.lang.String> |
getFieldNames()
Returns a collection of field names that make up the index in the order provided
|
abstract IndexDef.IndexType |
getIndexType() |
abstract java.lang.String |
getName()
Returns the name of the index
|
abstract IndexDef |
setFieldNames(java.lang.String... fieldNames)
List of the names of the fields that make up the index
|
abstract IndexDef |
setIndexType(IndexDef.IndexType indexType) |
abstract IndexDef |
setName(java.lang.String name)
Sets the index name
|
public static IndexDef create(java.lang.String indexName)
public abstract IndexDef setName(java.lang.String name)
name
- The name of the indexpublic abstract java.lang.String getName()
public abstract IndexDef setIndexType(IndexDef.IndexType indexType)
public abstract IndexDef.IndexType getIndexType()
public abstract java.util.Collection<java.lang.String> getFieldNames()
public abstract IndexDef setFieldNames(java.lang.String... fieldNames)
fieldNames
- List of the names of the fields that make up the indexCopyright (c) 2014 Cloud Software Group, Inc. All rights reserved.