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 classDefault implementation of row factory. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SearchRowCreate new row.abstract RowCreate a new row.createRowFactory(CastDataProvider provider, CompareMode compareMode, DataHandler handler, Typed[] columns, IndexColumn[] indexColumns, boolean storeKeys) Create a new row factory.abstract intabstract TypeInfo[]static RowFactory.DefaultRowFactoryabstract int[]abstract RowDataTypestatic RowFactoryabstract 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()
-