Class DoubleArrayOptions
- All Implemented Interfaces:
Serializable
,Cloneable
Options for a field that contains an array of double-precision 64-bit
floating point values. Present if IndexFieldType
specifies the
field is of type double-array
. All options are enabled by
default.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A value to use for the field if the field isn't specified for a document.Whether facet information can be returned for the field.Whether the contents of the field can be returned in the search results.Whether the contents of the field are searchable.A list of source fields to map to the field.int
hashCode()
Whether facet information can be returned for the field.Whether the contents of the field can be returned in the search results.Whether the contents of the field are searchable.void
setDefaultValue
(Double defaultValue) A value to use for the field if the field isn't specified for a document.void
setFacetEnabled
(Boolean facetEnabled) Whether facet information can be returned for the field.void
setReturnEnabled
(Boolean returnEnabled) Whether the contents of the field can be returned in the search results.void
setSearchEnabled
(Boolean searchEnabled) Whether the contents of the field are searchable.void
setSourceFields
(String sourceFields) A list of source fields to map to the field.toString()
Returns a string representation of this object; useful for testing and debugging.withDefaultValue
(Double defaultValue) A value to use for the field if the field isn't specified for a document.withFacetEnabled
(Boolean facetEnabled) Whether facet information can be returned for the field.withReturnEnabled
(Boolean returnEnabled) Whether the contents of the field can be returned in the search results.withSearchEnabled
(Boolean searchEnabled) Whether the contents of the field are searchable.withSourceFields
(String sourceFields) A list of source fields to map to the field.
-
Constructor Details
-
DoubleArrayOptions
public DoubleArrayOptions()
-
-
Method Details
-
setDefaultValue
A value to use for the field if the field isn't specified for a document.- Parameters:
defaultValue
- A value to use for the field if the field isn't specified for a document.
-
getDefaultValue
A value to use for the field if the field isn't specified for a document.- Returns:
- A value to use for the field if the field isn't specified for a document.
-
withDefaultValue
A value to use for the field if the field isn't specified for a document.- Parameters:
defaultValue
- A value to use for the field if the field isn't specified for a document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSourceFields
A list of source fields to map to the field.
- Parameters:
sourceFields
- A list of source fields to map to the field.
-
getSourceFields
A list of source fields to map to the field.
- Returns:
- A list of source fields to map to the field.
-
withSourceFields
A list of source fields to map to the field.
- Parameters:
sourceFields
- A list of source fields to map to the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFacetEnabled
Whether facet information can be returned for the field.
- Parameters:
facetEnabled
- Whether facet information can be returned for the field.
-
getFacetEnabled
Whether facet information can be returned for the field.
- Returns:
- Whether facet information can be returned for the field.
-
withFacetEnabled
Whether facet information can be returned for the field.
- Parameters:
facetEnabled
- Whether facet information can be returned for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isFacetEnabled
Whether facet information can be returned for the field.
- Returns:
- Whether facet information can be returned for the field.
-
setSearchEnabled
Whether the contents of the field are searchable.
- Parameters:
searchEnabled
- Whether the contents of the field are searchable.
-
getSearchEnabled
Whether the contents of the field are searchable.
- Returns:
- Whether the contents of the field are searchable.
-
withSearchEnabled
Whether the contents of the field are searchable.
- Parameters:
searchEnabled
- Whether the contents of the field are searchable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSearchEnabled
Whether the contents of the field are searchable.
- Returns:
- Whether the contents of the field are searchable.
-
setReturnEnabled
Whether the contents of the field can be returned in the search results.
- Parameters:
returnEnabled
- Whether the contents of the field can be returned in the search results.
-
getReturnEnabled
Whether the contents of the field can be returned in the search results.
- Returns:
- Whether the contents of the field can be returned in the search results.
-
withReturnEnabled
Whether the contents of the field can be returned in the search results.
- Parameters:
returnEnabled
- Whether the contents of the field can be returned in the search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isReturnEnabled
Whether the contents of the field can be returned in the search results.
- Returns:
- Whether the contents of the field can be returned in the search results.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-