Package org.gridgain.internal.columnar
Class NativeLibraryLoader
java.lang.Object
org.gridgain.internal.columnar.NativeLibraryLoader
Helper class that does the best effort loading native library.
-
Method Summary
Modifier and TypeMethodDescriptionstatic NativeLibraryLoaderGets a reference to the NativeLibraryLoader.booleanTries to loads native library from classpath.
-
Method Details
-
getInstance
Gets a reference to the NativeLibraryLoader.- Returns:
- NativeLibraryLoader.
-
tryLoadLibrary
public boolean tryLoadLibrary()Tries to loads native library from classpath.If the library is in the classpath, it can possibly be inside the jar file, in this case we must first extract the file and put it in a temporary file.
- Returns:
trueif library has been successfully loaded,falseotherwise.
-