Class DocPropertyOptions
- java.lang.Object
-
- io.ebeanservice.docstore.api.mapping.DocPropertyOptions
-
public class DocPropertyOptions extends Object
Options for mapping a property for document storage.
-
-
Constructor Summary
Constructors Constructor Description DocPropertyOptions()Construct with no values set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(io.ebean.annotation.DocMapping docMapping)Apply override mapping from the document level or embedded property level.voidapply(io.ebean.annotation.DocProperty docMapping)Apply the property level mapping options.DocPropertyOptionscopy()Create a copy of this such that it can be overridden on a per index basis.StringgetAnalyzer()FloatgetBoost()BooleangetCode()StringgetCopyTo()BooleangetDocValues()BooleangetEnabled()BooleangetIncludeInAll()BooleangetNorms()StringgetNullValue()io.ebean.annotation.DocProperty.OptiongetOptions()StringgetSearchAnalyzer()BooleangetSortable()BooleangetStore()booleanisCode()booleanisOptionsSet()Return true if the index options is set to a non-default value.booleanisSortable()voidsetAnalyzer(String analyzer)voidsetBoost(Float boost)voidsetCode(Boolean code)voidsetCopyTo(String copyTo)voidsetDocValues(Boolean docValues)voidsetEnabled(Boolean enabled)voidsetIncludeInAll(Boolean includeInAll)voidsetNorms(Boolean norms)voidsetNullValue(String nullValue)voidsetOptions(io.ebean.annotation.DocProperty.Option options)voidsetSearchAnalyzer(String searchAnalyzer)voidsetSortable(Boolean sortable)voidsetStore(Boolean store)StringtoString()
-
-
-
Constructor Detail
-
DocPropertyOptions
public DocPropertyOptions()
Construct with no values set.
-
-
Method Detail
-
isCode
public boolean isCode()
-
isSortable
public boolean isSortable()
-
getSortable
public Boolean getSortable()
-
setSortable
public void setSortable(Boolean sortable)
-
getNullValue
public String getNullValue()
-
setNullValue
public void setNullValue(String nullValue)
-
getIncludeInAll
public Boolean getIncludeInAll()
-
setIncludeInAll
public void setIncludeInAll(Boolean includeInAll)
-
getDocValues
public Boolean getDocValues()
-
setDocValues
public void setDocValues(Boolean docValues)
-
getAnalyzer
public String getAnalyzer()
-
setAnalyzer
public void setAnalyzer(String analyzer)
-
getSearchAnalyzer
public String getSearchAnalyzer()
-
setSearchAnalyzer
public void setSearchAnalyzer(String searchAnalyzer)
-
getEnabled
public Boolean getEnabled()
-
setEnabled
public void setEnabled(Boolean enabled)
-
isOptionsSet
public boolean isOptionsSet()
Return true if the index options is set to a non-default value.
-
getOptions
public io.ebean.annotation.DocProperty.Option getOptions()
-
setOptions
public void setOptions(io.ebean.annotation.DocProperty.Option options)
-
copy
public DocPropertyOptions copy()
Create a copy of this such that it can be overridden on a per index basis.
-
apply
public void apply(io.ebean.annotation.DocMapping docMapping)
Apply override mapping from the document level or embedded property level.
-
apply
public void apply(io.ebean.annotation.DocProperty docMapping)
Apply the property level mapping options.
-
-