Package de.caluga.morphium
Class IndexDescription
- java.lang.Object
-
- de.caluga.morphium.IndexDescription
-
public class IndexDescription extends Object
-
-
Constructor Summary
Constructors Constructor Description IndexDescription()
-
Method Summary
-
-
-
Method Detail
-
fromMaps
public static IndexDescription fromMaps(Map<String,Object> key, Map<String,Object> options)
-
fromMap
public static IndexDescription fromMap(Map<String,Object> incoming)
-
getName
public String getName()
-
setName
public IndexDescription setName(String name)
-
getBackground
public Boolean getBackground()
-
setBackground
public IndexDescription setBackground(Boolean background)
-
getUnique
public Boolean getUnique()
-
setUnique
public IndexDescription setUnique(Boolean unique)
-
setKey
public IndexDescription setKey(Map<String,Object> key)
-
getSparse
public Boolean getSparse()
-
setSparse
public IndexDescription setSparse(Boolean sparse)
-
getExpireAfterSeconds
public Integer getExpireAfterSeconds()
-
setExpireAfterSeconds
public IndexDescription setExpireAfterSeconds(Integer expireAfterSeconds)
-
getHidden
public Boolean getHidden()
-
setHidden
public IndexDescription setHidden(Boolean hidden)
-
setPartialFilterExpression
public IndexDescription setPartialFilterExpression(Map<String,Object> partialFilterExpression)
-
setStorageEngine
public IndexDescription setStorageEngine(Map<String,Object> storageEngine)
-
getDefaultLanguage
public String getDefaultLanguage()
-
setDefaultLanguage
public IndexDescription setDefaultLanguage(String defaultLanguage)
-
getLanguageOverride
public String getLanguageOverride()
-
setLanguageOverride
public IndexDescription setLanguageOverride(String languageOverride)
-
getTextIndexVersion
public Integer getTextIndexVersion()
-
setTextIndexVersion
public IndexDescription setTextIndexVersion(Integer textIndexVersion)
-
get_2dsphereIndexVersion
public Integer get_2dsphereIndexVersion()
-
set_2dsphereIndexVersion
public IndexDescription set_2dsphereIndexVersion(Integer _2dsphereIndexVersion)
-
getBits
public Integer getBits()
-
setBits
public IndexDescription setBits(Integer bits)
-
getMin
public Integer getMin()
-
setMin
public IndexDescription setMin(Integer min)
-
getMax
public Integer getMax()
-
setMax
public IndexDescription setMax(Integer max)
-
setWeights
public IndexDescription setWeights(Map<String,Object> weights)
-
setCollation
public IndexDescription setCollation(Map<String,Object> collation)
-
setWildcardProjection
public IndexDescription setWildcardProjection(Map<String,Object> wildcardProjection)
-
-