Class EmptyScheme

    • Method Detail

      • encode

        public AColGroup encode​(MatrixBlock data)
        Description copied from interface: ICLAScheme
        Encode the given matrix block into the scheme provided in the instance. The method returns null, if it is impossible to encode the input data with the given scheme.
        Specified by:
        encode in interface ICLAScheme
        Parameters:
        data - The data to encode
        Returns:
        A compressed column group or null.
      • encode

        public AColGroup encode​(MatrixBlock data,
                                IColIndex columns)
        Description copied from interface: ICLAScheme
        Encode a given matrix block into the scheme provided in the instance but overwrite what columns to use. The method returns null, if it is impossible to encode the input data with the given scheme.
        Specified by:
        encode in interface ICLAScheme
        Parameters:
        data - The data to encode
        columns - The columns to apply the scheme to, but must be of same number than the encoded scheme
        Returns:
        A compressed column group or null