Class BitShuffleNative


  • public class BitShuffleNative
    extends java.lang.Object
    JNI interfaces of the BitShuffle implementation. The native method in this class is defined in BitShuffleNative.h (genereted by javah) and BitShuffleNative.cpp

    DO NOT USE THIS CLASS since the direct use of this class might break the native library code loading in SnappyLoader.

    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BitShuffleNative

        public BitShuffleNative()
    • 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