Class ColumnRandomWrapperStarTable

  • All Implemented Interfaces:
    StarTable

    public class ColumnRandomWrapperStarTable
    extends RandomWrapperStarTable
    RandomWrapperStarTable which works by storing the data in a set of fixed length arrays. This will be more efficient on memory used than storing it in rows if some of the columns have a primitive type, but it may make reading slower.
    Author:
    Mark Taylor (Starlink)
    See Also:
    RowRandomWrapperStarTable
    • Constructor Detail

      • ColumnRandomWrapperStarTable

        public ColumnRandomWrapperStarTable​(StarTable baseTable,
                                            int nrow)
                                     throws java.io.IOException
        Constructs a new table to store a given number of rows. The nrow argument supplied is the number that this table will have, which may or may not match that of the base table.
        Parameters:
        baseTable - base table
        nrow - number of rows in this table
        Throws:
        java.io.IOException