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
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 Details
-
DocPropertyOptions
public DocPropertyOptions()Construct with no values set.
-
-
Method Details
-
toString
-
isCode
-
getCode
-
setCode
-
isSortable
-
getSortable
-
setSortable
-
getBoost
-
setBoost
-
getNullValue
-
setNullValue
-
getStore
-
setStore
-
getIncludeInAll
-
setIncludeInAll
-
getDocValues
-
setDocValues
-
getAnalyzer
-
setAnalyzer
-
getSearchAnalyzer
-
setSearchAnalyzer
-
getCopyTo
-
setCopyTo
-
getEnabled
-
setEnabled
-
getNorms
-
setNorms
-
isOptionsSet
Return true if the index options is set to a non-default value. -
getOptions
-
setOptions
-
copy
Create a copy of this such that it can be overridden on a per index basis. -
apply
Apply override mapping from the document level or embedded property level. -
apply
Apply the property level mapping options.
-