Interface ArrayTable.Representation

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object freeze​(ColumnLoader.ValueSet valueSet, int[] sources)
      Converts a value set into a compact representation.
      int getInt​(java.lang.Object dataSet, int ordinal)  
      java.lang.Object getObject​(java.lang.Object dataSet, int ordinal)  
      ArrayTable.RepresentationType getType()
      Returns the representation type.
      java.lang.Object permute​(java.lang.Object dataSet, int[] sources)
      Creates a data set that is the same as a given data set but re-ordered.
      int size​(java.lang.Object dataSet)
      Returns the number of elements in a data set.
      java.lang.String toString​(java.lang.Object dataSet)
      Converts a data set to a string.
    • Method Detail

      • freeze

        java.lang.Object freeze​(ColumnLoader.ValueSet valueSet,
                                int[] sources)
        Converts a value set into a compact representation. If sources is not null, permutes.
      • getObject

        java.lang.Object getObject​(java.lang.Object dataSet,
                                   int ordinal)
      • getInt

        int getInt​(java.lang.Object dataSet,
                   int ordinal)
      • permute

        java.lang.Object permute​(java.lang.Object dataSet,
                                 int[] sources)
        Creates a data set that is the same as a given data set but re-ordered.
      • size

        int size​(java.lang.Object dataSet)
        Returns the number of elements in a data set. (Some representations return the capacity, which may be slightly larger than the actual size.)
      • toString

        java.lang.String toString​(java.lang.Object dataSet)
        Converts a data set to a string.