Package org.xerial.snappy
Class BitShuffleNative
- java.lang.Object
-
- org.xerial.snappy.BitShuffleNative
-
public class BitShuffleNative extends java.lang.Object
JNI interfaces of theBitShuffle
implementation. The native method in this class is defined in BitShuffleNative.h (genereted by javah) and BitShuffleNative.cppDO NOT USE THIS CLASS since the direct use of this class might break the native library code loading in
SnappyLoader
.
-
-
Constructor Summary
Constructors Constructor Description BitShuffleNative()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
shuffle(java.lang.Object input, int inputOffset, int typeSize, int byteLength, java.lang.Object output, int outputOffset)
int
shuffleDirectBuffer(java.nio.ByteBuffer input, int inputOffset, int typeSize, int byteLength, java.nio.ByteBuffer output, int outputOffset)
int
unshuffle(java.lang.Object input, int inputOffset, int typeSize, int byteLength, java.lang.Object output, int outputOffset)
int
unshuffleDirectBuffer(java.nio.ByteBuffer input, int inputOffset, int typeSize, int byteLength, java.nio.ByteBuffer output, int outputOffset)
-
-
-
Method Detail
-
shuffle
public int shuffle(java.lang.Object input, int inputOffset, int typeSize, int byteLength, java.lang.Object output, int outputOffset) throws java.io.IOException
- Throws:
java.io.IOException
-
shuffleDirectBuffer
public int shuffleDirectBuffer(java.nio.ByteBuffer input, int inputOffset, int typeSize, int byteLength, java.nio.ByteBuffer output, int outputOffset) throws java.io.IOException
- Throws:
java.io.IOException
-
unshuffle
public int unshuffle(java.lang.Object input, int inputOffset, int typeSize, int byteLength, java.lang.Object output, int outputOffset) throws java.io.IOException
- Throws:
java.io.IOException
-
unshuffleDirectBuffer
public int unshuffleDirectBuffer(java.nio.ByteBuffer input, int inputOffset, int typeSize, int byteLength, java.nio.ByteBuffer output, int outputOffset) throws java.io.IOException
- Throws:
java.io.IOException
-
-