public class SnappyLoader extends Object
If you do not want to use folder java.io.tempdir, set the System property org.xerial.snappy.tempdir. For example, to use /tmp/leo as a temporary folder to copy native libraries, use -D option of JVM:
java -Dorg.xerial.snappy.tempdir="/tmp/leo" ...
Modifier and Type | Field and Description |
---|---|
static String |
KEY_SNAPPY_DISABLE_BUNDLED_LIBS |
static String |
KEY_SNAPPY_LIB_NAME |
static String |
KEY_SNAPPY_LIB_PATH |
static String |
KEY_SNAPPY_TEMPDIR |
static String |
KEY_SNAPPY_USE_SYSTEMLIB |
static String |
SNAPPY_SYSTEM_PROPERTIES_FILE |
Constructor and Description |
---|
SnappyLoader() |
Modifier and Type | Method and Description |
---|---|
static String |
getVersion()
Get the snappy-java version by reading pom.properties embedded in jar.
|
public static final String SNAPPY_SYSTEM_PROPERTIES_FILE
public static final String KEY_SNAPPY_LIB_PATH
public static final String KEY_SNAPPY_LIB_NAME
public static final String KEY_SNAPPY_TEMPDIR
public static final String KEY_SNAPPY_USE_SYSTEMLIB
public static final String KEY_SNAPPY_DISABLE_BUNDLED_LIBS
public static String getVersion()
Copyright © 2011–2024 xerial.org. All rights reserved.