Class Document.Entry

java.lang.Object
io.fluxcapacitor.common.search.Document.Entry
All Implemented Interfaces:
Comparable<Document.Entry>
Enclosing class:
Document

public static class Document.Entry extends Object implements Comparable<Document.Entry>
Represents a typed field value within a document (e.g. text, number, boolean).

Each entry is associated with one or more paths in the document and may be normalized for search.

  • Constructor Details

    • Entry

      public Entry()
  • Method Details

    • compareTo

      public int compareTo(@NonNull @NonNull Document.Entry o)
      Compares this entry with the specified entry for order. The comparison is primarily based on the type of the entries. If both entries are numeric, their numeric values are compared. Otherwise, their string values are compared case-insensitively.
      Specified by:
      compareTo in interface Comparable<Document.Entry>