Class Nc4ChunkingStrategy

    • Method Detail

      • factory

        public static Nc4Chunking factory​(Nc4Chunking.Strategy type,
                                          int deflateLevel,
                                          boolean shuffle)
        Parameters:
        type - Strategy type
        deflateLevel - 0 corresponds to no compression and 9 to maximum compression,
        shuffle - true to turn shuffling on which may improve compression. This option is ignored unless a non-zero deflation level is specified.
        Returns:
        Nc4Chunking implementation
      • getDeflateLevel

        public int getDeflateLevel​(Variable.Builder<?> vb)
        Description copied from interface: Nc4Chunking
        Get the deflation level. 0 corresponds to no compression and 9 to maximum compression.
        Specified by:
        getDeflateLevel in interface Nc4Chunking
      • isShuffle

        public boolean isShuffle​(Variable.Builder<?> vb)
        Description copied from interface: Nc4Chunking
        Set true to turn shuffling on which may improve compression. This option is ignored unless a non-zero deflation level is specified.
        Specified by:
        isShuffle in interface Nc4Chunking