Class Row

java.lang.Object
dev.frostlake.storage.Row

public class Row extends Object
  • Constructor Details

  • Method Details

    • of

      public static Row of(List<Object> values)
      Create a Row backed directly by the given list, WITHOUT a defensive copy. Use only when the caller has freshly built the list and will not mutate or reuse it (e.g. join/projection output) — avoids a redundant per-row copy on the hot path.
    • getValues

      public List<Object> getValues()
    • getValue

      public Object getValue(int index)
    • setValue

      public void setValue(int index, Object value)
    • size

      public int size()
    • toString

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

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

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

      public Row copy()