Class XxHash64

java.lang.Object
io.airlift.slice.XxHash64

public final class XxHash64 extends Object
  • Constructor Details

    • XxHash64

      public XxHash64()
    • XxHash64

      public XxHash64(long seed)
  • Method Details

    • update

      public XxHash64 update(byte[] data)
    • update

      public XxHash64 update(byte[] data, int offset, int length)
    • update

      public XxHash64 update(Slice data)
    • update

      public XxHash64 update(Slice data, int offset, int length)
    • hash

      public long hash()
    • hash

      public static long hash(long value)
    • hash

      public static long hash(long seed, long value)
    • hash

      public static long hash(InputStream in) throws IOException
      Throws:
      IOException
    • hash

      public static long hash(long seed, InputStream in) throws IOException
      Throws:
      IOException
    • hash

      public static long hash(Slice data)
    • hash

      public static long hash(long seed, Slice data)
    • hash

      public static long hash(Slice data, int offset, int length)
    • hash

      public static long hash(long seed, Slice data, int offset, int length)