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 void
apply(io.ebean.annotation.DocMapping docMapping)
Apply override mapping from the document level or embedded property level.void
apply(io.ebean.annotation.DocProperty docMapping)
Apply the property level mapping options.DocPropertyOptions
copy()
Create a copy of this such that it can be overridden on a per index basis.String
getAnalyzer()
Float
getBoost()
Boolean
getCode()
String
getCopyTo()
Boolean
getDocValues()
Boolean
getEnabled()
Boolean
getIncludeInAll()
Boolean
getNorms()
String
getNullValue()
io.ebean.annotation.DocProperty.Option
getOptions()
String
getSearchAnalyzer()
Boolean
getSortable()
Boolean
getStore()
boolean
isCode()
boolean
isOptionsSet()
Return true if the index options is set to a non-default value.boolean
isSortable()
void
setAnalyzer(String analyzer)
void
setBoost(Float boost)
void
setCode(Boolean code)
void
setCopyTo(String copyTo)
void
setDocValues(Boolean docValues)
void
setEnabled(Boolean enabled)
void
setIncludeInAll(Boolean includeInAll)
void
setNorms(Boolean norms)
void
setNullValue(String nullValue)
void
setOptions(io.ebean.annotation.DocProperty.Option options)
void
setSearchAnalyzer(String searchAnalyzer)
void
setSortable(Boolean sortable)
void
setStore(Boolean store)
String
toString()
-
-
-
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.
-
-