Class H2CacheRow

    • Method Detail

      • getColumnCount

        public int getColumnCount()
        Specified by:
        getColumnCount in interface org.h2.result.SearchRow
      • getValue

        public org.h2.value.Value getValue​(int col)
        Specified by:
        getValue in interface org.h2.result.SearchRow
      • prepareValuesCache

        public void prepareValuesCache()
        Prepare values cache.
      • clearValuesCache

        public void clearValuesCache()
        Clear values cache.
      • getCached

        public org.h2.value.Value getCached​(int colIdx)
        Get cached value (if any).
        Parameters:
        colIdx - Column index.
        Returns:
        Value.
      • getRow

        public CacheDataRow getRow()
        Returns:
        Cache data row.
      • indexSearchRow

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

        public void setKey​(long key)
        Specified by:
        setKey in interface org.h2.result.SearchRow
        Overrides:
        setKey in class H2Row
      • setValue

        public void setValue​(int idx,
                             org.h2.value.Value v)
        Specified by:
        setValue in interface org.h2.result.SearchRow
      • hashCode

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

        public int size()
        Specified by:
        size in interface Storable