org.springframework.data.mongodb.core.index
Class IndexInfo
java.lang.Object
org.springframework.data.mongodb.core.index.IndexInfo
public class IndexInfo
- extends Object
IndexInfo
public IndexInfo(Map<String,Order> fieldSpec,
String name,
boolean unique,
boolean dropDuplicates,
boolean sparse)
getFieldSpec
public Map<String,Order> getFieldSpec()
getName
public String getName()
isUnique
public boolean isUnique()
isDropDuplicates
public boolean isDropDuplicates()
isSparse
public boolean isSparse()
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2011. All Rights Reserved.