Class NativeLibraryLoader

java.lang.Object
org.gridgain.internal.columnar.NativeLibraryLoader

public class NativeLibraryLoader extends Object
Helper class that does the best effort loading native library.
  • Method Details

    • getInstance

      public static NativeLibraryLoader 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:
      true if library has been successfully loaded, false otherwise.