Class IndexDocumentsResult

    • Constructor Detail

      • IndexDocumentsResult

        public IndexDocumentsResult()
    • Method Detail

      • getFieldNames

        public List<String> getFieldNames()

        The names of the fields that are currently being indexed.

        Returns:
        The names of the fields that are currently being indexed.
      • setFieldNames

        public void setFieldNames​(Collection<String> fieldNames)

        The names of the fields that are currently being indexed.

        Parameters:
        fieldNames - The names of the fields that are currently being indexed.
      • withFieldNames

        public IndexDocumentsResult withFieldNames​(String... fieldNames)

        The names of the fields that are currently being indexed.

        NOTE: This method appends the values to the existing list (if any). Use setFieldNames(java.util.Collection) or withFieldNames(java.util.Collection) if you want to override the existing values.

        Parameters:
        fieldNames - The names of the fields that are currently being indexed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFieldNames

        public IndexDocumentsResult withFieldNames​(Collection<String> fieldNames)

        The names of the fields that are currently being indexed.

        Parameters:
        fieldNames - The names of the fields that are currently being indexed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object