Example usage for org.apache.hadoop.io.compress Lz4Codec isNativeCodeLoaded

List of usage examples for org.apache.hadoop.io.compress Lz4Codec isNativeCodeLoaded

Introduction

In this page you can find the example usage for org.apache.hadoop.io.compress Lz4Codec isNativeCodeLoaded.

Prototype

public static boolean isNativeCodeLoaded() 

Source Link

Document

Are the native lz4 libraries loaded & initialized?

Usage

From source file:org.apache.tajo.storage.TestCompressionStorages.java

License:Apache License

@Test
public void testLz4CodecCompressionData() throws IOException {
    if (NativeCodeLoader.isNativeCodeLoaded() && Lz4Codec.isNativeCodeLoaded())
        storageCompressionTest(storeType, Lz4Codec.class);
}