Class ResultRowImpl

java.lang.Object
org.apache.jackrabbit.oak.query.ResultRowImpl
All Implemented Interfaces:
ResultRow

public class ResultRowImpl extends Object implements ResultRow
A query result row that keeps all data (for this row only) in memory.
  • Method Details

    • getPath

      public String getPath()
      Description copied from interface: ResultRow
      The path, assuming there is only one selector.
      Specified by:
      getPath in interface ResultRow
      Returns:
      the path
    • getPath

      public String getPath(String selectorName)
      Description copied from interface: ResultRow
      The path for the given selector name.
      Specified by:
      getPath in interface ResultRow
      Parameters:
      selectorName - the selector name (null if there is only one selector)
      Returns:
      the path
    • getTree

      public Tree getTree(String selectorName)
      Description copied from interface: ResultRow
      The tree for the given selector name.
      Specified by:
      getTree in interface ResultRow
      Parameters:
      selectorName - the selector name (null if there is only one selector)
      Returns:
      the tree
    • getValue

      public PropertyValue getValue(String columnName)
      Description copied from interface: ResultRow
      The property value.
      Specified by:
      getValue in interface ResultRow
      Parameters:
      columnName - the column name
      Returns:
      the value
    • getValues

      public PropertyValue[] getValues()
      Description copied from interface: ResultRow
      Get the list of values.
      Specified by:
      getValues in interface ResultRow
      Returns:
      the values
    • toString

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

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getComparator

      public static Comparator<ResultRowImpl> getComparator(OrderingImpl[] orderings)