public class IndexInfo extends Object
Constructor and Description |
---|
IndexInfo(Map<String,Order> fieldSpec,
List<IndexField> indexFields,
String name,
boolean unique,
boolean dropDuplicates,
boolean sparse) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Map<String,Order> |
getFieldSpec()
Deprecated.
use
getIndexFields() instead as this Map does not contain geo indexes. |
List<IndexField> |
getIndexFields()
Returns the individual index fields of the index.
|
String |
getName() |
int |
hashCode() |
boolean |
isDropDuplicates() |
boolean |
isSparse() |
boolean |
isUnique() |
String |
toString() |
@Deprecated public Map<String,Order> getFieldSpec()
public List<IndexField> getIndexFields()
public String getName()
public boolean isUnique()
public boolean isDropDuplicates()
public boolean isSparse()
Copyright © 2012. All Rights Reserved.