Skip to content

intel/qat-java

Repository files navigation

Java* Native Interface Binding for Intel® QuickAssist Technology

Qat-Java is a library that accelerates data compression using Intel® QuickAssist Technology (QAT).
For more details on Intel® QAT and installation instructions, refer to the QAT Documentation.

Qat-Java currently supports the following compression algorithms:

  • DEFLATE
  • LZ4
  • Zstandard (ZSTD)

Prerequisites

This release was validated with the following tools and libraries:

Build

To build Qat-Java, run:

mvn clean package

Additional Maven Targets

In addition to mvn clean package, the following Maven goals are available:

  • clean — Cleans the build directory.
  • compile — Compiles the source code.
  • test — Compiles and runs all unit tests.
  • package — Packages the compiled classes into JAR files (in the target/ directory).
  • javadoc:javadoc — Generates Javadoc API documentation.
  • spotless:check — Checks that the source code is properly formatted.
  • spotless:apply — Automatically fixes code formatting issues.
  • site — Generates Surefire test reports in target/site/.

Testing

To run all unit tests:

mvn test

Fuzz Testing

To enable fuzz testing, install the Jazzer tool and run:

mvn test -Dfuzzing=true

Examples

To run an example from the com.intel.qat.examples package, use the following command:

java -cp .:./target/classes/:path/to/zstd-jni-1.5.6-1.jar com.intel.qat.examples.<ExampleClass>

Authors

Zstandard compression contributions by:

  • Jacob Greenfield
  • Matthew West
  • Tommy Parisi

Contributing

Thank you for your interest in contributing!
Please refer to the CONTRIBUTING.md document for details on how to get involved.

Contact

For questions or more information about this library, contact:

* Java is a registered trademark of Oracle and/or its affiliates.

About

A library for accelerating data compression using Intel® QAT.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •