Interface Field

All Known Subinterfaces:
DocValuesField
All Known Implementing Classes:
EmptyField

public interface Field
A field in a document accessible via scripting.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of this field.
    boolean
    Returns true if this field has no values, otherwise false.
    int
    Returns the number of values this field has.
  • Method Details

    • getName

      String getName()
      Returns the name of this field.
    • isEmpty

      boolean isEmpty()
      Returns true if this field has no values, otherwise false.
    • size

      int size()
      Returns the number of values this field has.