Package org.h2.result
Class RowFactory
java.lang.Object
org.h2.result.RowFactory
- Direct Known Subclasses:
RowFactory.DefaultRowFactory
Creates rows.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Default implementation of row factory.private static final class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SearchRow
Create new row.abstract Row
Create a new row.createRowFactory
(CastDataProvider provider, CompareMode compareMode, DataHandler handler, Typed[] columns, IndexColumn[] indexColumns, boolean storeKeys) Create a new row factory.abstract int
abstract TypeInfo[]
static RowFactory.DefaultRowFactory
abstract int[]
abstract RowDataType
static RowFactory
abstract boolean
-
Constructor Details
-
RowFactory
public RowFactory()
-
-
Method Details
-
getDefaultRowFactory
-
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 providercompareMode
- the compare modehandler
- the data handlercolumns
- the list of columnsindexColumns
- the list of index columnsstoreKeys
- whether row keys are stored- Returns:
- the (possibly new) row factory
-
createRow
Create a new row.- Parameters:
data
- the valuesmemory
- the estimated memory usage in bytes- Returns:
- the created row
-
createRow
Create new row.- Returns:
- the created row
-
getRowDataType
-
getIndexes
public abstract int[] getIndexes() -
getColumnTypes
-
getColumnCount
public abstract int getColumnCount() -
getStoreKeys
public abstract boolean getStoreKeys()
-