public class SimpleRowKeyGenerator extends Object
Constructor and Description |
---|
SimpleRowKeyGenerator() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
getNanoTimestampKey(String prefix) |
static byte[] |
getRandomKey(String prefix) |
static byte[] |
getTimestampKey(String prefix) |
static byte[] |
getUUIDKey(String prefix) |
public static byte[] getUUIDKey(String prefix) throws UnsupportedEncodingException
UnsupportedEncodingException
public static byte[] getRandomKey(String prefix) throws UnsupportedEncodingException
UnsupportedEncodingException
public static byte[] getTimestampKey(String prefix) throws UnsupportedEncodingException
UnsupportedEncodingException
public static byte[] getNanoTimestampKey(String prefix) throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.