Package org.h2.result

Class RowFactory

    • Constructor Detail

      • RowFactory

        public RowFactory()
    • Method Detail

      • getRowFactory

        public static RowFactory getRowFactory()
      • createRowFactory

        public RowFactory createRowFactory​(CastDataProvider provider,
                                           CompareMode compareMode,
                                           DataHandler handler,
                                           Typed[] columns,
                                           IndexColumn[] indexColumns,
                                           boolean storeKeys)
        Create a new row factory.
        Parameters:
        provider - the cast provider
        compareMode - the compare mode
        handler - the data handler
        columns - the list of columns
        indexColumns - the list of index columns
        storeKeys - whether row keys are stored
        Returns:
        the (possibly new) row factory
      • createRow

        public abstract Row createRow​(Value[] data,
                                      int memory)
        Create a new row.
        Parameters:
        data - the values
        memory - the estimated memory usage in bytes
        Returns:
        the created row
      • createRow

        public abstract SearchRow createRow()
        Create new row.
        Returns:
        the created row
      • getRowDataType

        public abstract RowDataType getRowDataType()
      • getIndexes

        public abstract int[] getIndexes()
      • getColumnTypes

        public abstract TypeInfo[] getColumnTypes()
      • getColumnCount

        public abstract int getColumnCount()
      • getStoreKeys

        public abstract boolean getStoreKeys()