public class SnappyLoader extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
SnappyAvailable |
Constructor and Description |
---|
SnappyLoader() |
SnappyLoader(boolean verbose)
Constructs a new SnappyLoader which will check to see if snappy is available in the JVM/library path.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
wrapInputStream(InputStream inputStream)
Wrap an InputStream in a SnappyInputStream.
|
OutputStream |
wrapOutputStream(OutputStream outputStream)
Wrap an InputStream in a SnappyInputStream.
|
public SnappyLoader()
public SnappyLoader(boolean verbose)
verbose
- if true output a small number of debug messages to System.errpublic InputStream wrapInputStream(InputStream inputStream)
public OutputStream wrapOutputStream(OutputStream outputStream)