Java ByteBuffer Get getTableUuid(ByteBuffer rowKey)

Here you can find the source of getTableUuid(ByteBuffer rowKey)

Description

get Table Uuid

License

Apache License

Declaration

static long getTableUuid(ByteBuffer rowKey) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.nio.ByteBuffer;

public class Main {
    static long getTableUuid(ByteBuffer rowKey) {
        // Return the table UUID in bytes 1-8 inclusive
        return rowKey.getLong(rowKey.position() + 1);
    }//  w  ww.j  a v  a  2  s .c o  m
}

Related

  1. getSizePrefix(ByteBuffer bb)
  2. getSmallSmartInt(ByteBuffer buffer)
  3. getSmart(ByteBuffer buf)
  4. getSmartOld(ByteBuffer in)
  5. getSurrogateKey(byte[] data, ByteBuffer buffer)
  6. getTempByteBuffer()
  7. getTerminatedArray(ByteBuffer buf)
  8. getTriByte(ByteBuffer buf)
  9. getTruncatedInt(ByteBuffer bytes, int numBytes)