Class DoubleArrayOptions

    • Method Detail

      • defaultValue

        public final Double defaultValue()
        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.
      • sourceFields

        public final String sourceFields()

        A list of source fields to map to the field.

        Returns:
        A list of source fields to map to the field.
      • facetEnabled

        public final Boolean facetEnabled()

        Whether facet information can be returned for the field.

        Returns:
        Whether facet information can be returned for the field.
      • searchEnabled

        public final Boolean searchEnabled()

        Whether the contents of the field are searchable.

        Returns:
        Whether the contents of the field are searchable.
      • returnEnabled

        public final Boolean returnEnabled()

        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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)