public class ByteStoreColumnFactory extends Object implements CachedColumnFactory
| Constructor and Description |
|---|
ByteStoreColumnFactory(StoragePolicy storage)
Constructs a ByteStoreColumnFactory based on a StoragePolicy.
|
ByteStoreColumnFactory(java.util.function.Supplier<ByteStore> byteStoreSupplier)
Constructs a ByteStoreColumnFactory based on a ByteStore supplier.
|
| Modifier and Type | Method and Description |
|---|---|
CachedColumn |
createColumn(StorageType type,
long nrow)
Creates a data storage object capable of storing a vector of
a given type.
|
public ByteStoreColumnFactory(StoragePolicy storage)
storage - storage policypublic ByteStoreColumnFactory(java.util.function.Supplier<ByteStore> byteStoreSupplier)
byteStoreSupplier - supplierpublic CachedColumn createColumn(StorageType type, long nrow)
CachedColumnFactorycreateColumn in interface CachedColumnFactorytype - data type of elements to be storednrow - maximum number of elements to be stored;
if a value <0 is supplied,
an indeterminate number is permittedCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.