Class MemoryColumnFactory

  • All Implemented Interfaces:
    CachedColumnFactory

    public class MemoryColumnFactory
    extends java.lang.Object
    implements CachedColumnFactory
    CachedColumnFactory implementation that stores data in arrays in memory.
    Since:
    5 Feb 2013
    Author:
    Mark Taylor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MemoryColumnFactory

        public MemoryColumnFactory()
    • Method Detail

      • createColumn

        public CachedColumn createColumn​(StorageType type,
                                         long nrow)
        Description copied from interface: CachedColumnFactory
        Creates a data storage object capable of storing a vector of a given type. Both fixed and unknown element counts are supported.
        Specified by:
        createColumn in interface CachedColumnFactory
        Parameters:
        type - data type of elements to be stored
        nrow - maximum number of elements to be stored; if a value <0 is supplied, an indeterminate number is permitted
        Returns:
        storage object