CachedColumnFactory
public class SmartColumnFactory extends java.lang.Object implements CachedColumnFactory
Constructor | Description |
---|---|
SmartColumnFactory(CachedColumnFactory bulkColumnFactory) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
CachedColumn |
createColumn(StorageType type,
long nrow) |
Creates a data storage object capable of storing a vector of
a given type.
|
public SmartColumnFactory(CachedColumnFactory bulkColumnFactory)
bulkColumnFactory
- column factory that does the work of
storing varying columnspublic CachedColumn createColumn(StorageType type, long nrow)
CachedColumnFactory
createColumn
in interface CachedColumnFactory
type
- data type of elements to be storednrow
- number of elements to be stored;
if a value <0 is supplied,
an indeterminate number will be storedCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.