Class H2PlainRow

  • All Implemented Interfaces:
    org.h2.result.Row, org.h2.result.SearchRow

    public class H2PlainRow
    extends H2Row
    Simple array based row.
    • Constructor Detail

      • H2PlainRow

        public H2PlainRow​(int colCnt,
                          org.h2.value.Value[] vals)
        Parameters:
        colCnt - Column count. H2 engine can add extra columns at the end of result set.
        vals - Values.
        See Also:
        ResultInterface.getVisibleColumnCount(), GridH2ValueMessageFactory.toMessages(Collection, int), ResultInterface.currentRow()
      • H2PlainRow

        public H2PlainRow​(int colCnt)
        Parameters:
        colCnt - Length.
    • Method Detail

      • getColumnCount

        public int getColumnCount()
      • getValue

        public org.h2.value.Value getValue​(int idx)
      • setValue

        public void setValue​(int idx,
                             org.h2.value.Value v)
      • indexSearchRow

        public boolean indexSearchRow()
        Specified by:
        indexSearchRow in class H2Row
        Returns:
        True for rows used for index search.