Class FieldSet

java.lang.Object
com.yahoo.search.schema.FieldSet
All Implemented Interfaces:
FieldInfo

public class FieldSet extends Object implements FieldInfo
A set of fields which can be queried as one.
Author:
bratseth
  • Method Details

    • name

      public String name()
      Description copied from interface: FieldInfo
      Returns the name of this field or field set.
      Specified by:
      name in interface FieldInfo
    • type

      public Field.Type type()
      Specified by:
      type in interface FieldInfo
    • isAttribute

      public boolean isAttribute()
      Returns whether this field or field set is attribute(s), i.e. does indexing: attribute.
      Specified by:
      isAttribute in interface FieldInfo
    • isIndex

      public boolean isIndex()
      Returns whether this field is index(es), i.e. does indexing: index.
      Specified by:
      isIndex in interface FieldInfo
    • fieldNames

      public Set<String> fieldNames()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object