Class DefaultDocument

java.lang.Object
de.hybris.platform.solrfacetsearch.search.impl.DefaultDocument
All Implemented Interfaces:
Document, Serializable

public class DefaultDocument extends Object implements Document, Serializable
Default implementation of Document.
See Also:
  • Constructor Details

    • DefaultDocument

      public DefaultDocument()
      Creates an empty document.
  • Method Details

    • getFieldNames

      public Collection<String> getFieldNames()
      Description copied from interface: Document
      Returns the field names defined in this document.
      Specified by:
      getFieldNames in interface Document
      Returns:
      the field names defined in this document
    • getFieldValue

      public Object getFieldValue(String fieldName)
      Description copied from interface: Document
      Returns the value or collection of values for a given field.
      Specified by:
      getFieldValue in interface Document
      Returns:
      the value or collection of values for a given field
    • getFields

      public Map<String,Object> getFields()
      Description copied from interface: Document
      Returns the fields defined in this document.
      Specified by:
      getFields in interface Document
      Returns:
      the fields defined in this document
    • getTags

      public Set<String> getTags()
      Description copied from interface: Document
      Returns the tags defined in this document.
      Specified by:
      getTags in interface Document
      Returns:
      the tags defined in this document