Class SimpleField

java.lang.Object
org.springframework.data.solr.core.query.SimpleField
All Implemented Interfaces:
Field
Direct Known Subclasses:
FieldWithQueryParameters, SimpleUpdateField

public class SimpleField extends Object implements Field
The most trivial implementation of a Field
  • Constructor Details

    • SimpleField

      public SimpleField(String name)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Field
      Get the name of the field used in schema.xml of solr server
      Specified by:
      getName in interface Field
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object