Package com.bc.zarr
Class CompressorFactory.BloscCompressor
- java.lang.Object
-
- com.bc.zarr.Compressor
-
- com.bc.zarr.CompressorFactory.BloscCompressor
-
- Enclosing class:
- CompressorFactory
public static class CompressorFactory.BloscCompressor extends Compressor
-
-
Field Summary
Fields Modifier and Type Field Description static intdefaultBlocksizestatic intdefaultCLevelstatic StringdefaultCnamestatic intdefaultNumThreadsstatic Map<String,Object>defaultPropertiesstatic intdefaultShufflestatic StringkeyBlocksizestatic StringkeyClevelstatic StringkeyCnamestatic StringkeyNumThreadsstatic StringkeyShufflestatic String[]supportedCnamesstatic int[]supportedShuffle
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompress(InputStream is, OutputStream os)intgetBlocksize()intgetClevel()StringgetCname()StringgetId()intgetNumThreads()intgetShuffle()StringtoString()voiduncompress(InputStream is, OutputStream os)
-
-
-
Field Detail
-
keyCname
public static final String keyCname
- See Also:
- Constant Field Values
-
defaultCname
public static final String defaultCname
- See Also:
- Constant Field Values
-
keyClevel
public static final String keyClevel
- See Also:
- Constant Field Values
-
defaultCLevel
public static final int defaultCLevel
- See Also:
- Constant Field Values
-
keyShuffle
public static final String keyShuffle
- See Also:
- Constant Field Values
-
defaultShuffle
public static final int defaultShuffle
- See Also:
- Constant Field Values
-
keyBlocksize
public static final String keyBlocksize
- See Also:
- Constant Field Values
-
defaultBlocksize
public static final int defaultBlocksize
- See Also:
- Constant Field Values
-
keyNumThreads
public static final String keyNumThreads
- See Also:
- Constant Field Values
-
defaultNumThreads
public static final int defaultNumThreads
- See Also:
- Constant Field Values
-
supportedShuffle
public static final int[] supportedShuffle
-
supportedCnames
public static final String[] supportedCnames
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin classCompressor
-
getClevel
public int getClevel()
-
getBlocksize
public int getBlocksize()
-
getShuffle
public int getShuffle()
-
getCname
public String getCname()
-
getNumThreads
public int getNumThreads()
-
toString
public String toString()
- Specified by:
toStringin classCompressor
-
compress
public void compress(InputStream is, OutputStream os) throws IOException
- Specified by:
compressin classCompressor- Throws:
IOException
-
uncompress
public void uncompress(InputStream is, OutputStream os) throws IOException
- Specified by:
uncompressin classCompressor- Throws:
IOException
-
-