public abstract class RowFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RowFactory.DefaultRowFactory
Default implementation of row factory.
|
Constructor and Description |
---|
RowFactory() |
Modifier and Type | Method and Description |
---|---|
abstract SearchRow |
createRow()
Create new row.
|
abstract Row |
createRow(Value[] data,
int memory)
Create a new row.
|
RowFactory |
createRowFactory(CastDataProvider provider,
CompareMode compareMode,
DataHandler handler,
Typed[] columns,
IndexColumn[] indexColumns,
boolean storeKeys)
Create a new row factory.
|
abstract int |
getColumnCount() |
abstract TypeInfo[] |
getColumnTypes() |
static RowFactory.DefaultRowFactory |
getDefaultRowFactory() |
abstract int[] |
getIndexes() |
abstract RowDataType |
getRowDataType() |
static RowFactory |
getRowFactory() |
abstract boolean |
getStoreKeys() |
public static RowFactory.DefaultRowFactory getDefaultRowFactory()
public static RowFactory getRowFactory()
public RowFactory createRowFactory(CastDataProvider provider, CompareMode compareMode, DataHandler handler, Typed[] columns, IndexColumn[] indexColumns, boolean storeKeys)
provider
- the cast providercompareMode
- the compare modehandler
- the data handlercolumns
- the list of columnsindexColumns
- the list of index columnsstoreKeys
- whether row keys are storedpublic abstract Row createRow(Value[] data, int memory)
data
- the valuesmemory
- the estimated memory usage in bytespublic abstract SearchRow createRow()
public abstract RowDataType getRowDataType()
public abstract int[] getIndexes()
public abstract TypeInfo[] getColumnTypes()
public abstract int getColumnCount()
public abstract boolean getStoreKeys()