public final class ColumnHelper extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
getColumnQualifier(byte[] columnPrefixBytes,
byte[] qualifier) |
static byte[] |
getColumnQualifier(byte[] columnPrefixBytes,
long qualifier) |
static byte[] |
getColumnQualifier(byte[] columnPrefixBytes,
String qualifier) |
public static byte[] getColumnQualifier(byte[] columnPrefixBytes, String qualifier)
columnPrefixBytes
- The byte representation for the column prefix.
Should not contain Separator.QUALIFIERS
.qualifier
- for the remainder of the column.
Separator.QUALIFIERS
is permissible in the qualifier
as it is joined only with the column prefix bytes.public static byte[] getColumnQualifier(byte[] columnPrefixBytes, long qualifier)
columnPrefixBytes
- The byte representation for the column prefix.
Should not contain Separator.QUALIFIERS
.qualifier
- for the remainder of the column.public static byte[] getColumnQualifier(byte[] columnPrefixBytes, byte[] qualifier)
columnPrefixBytes
- The byte representation for the column prefix.
Should not contain Separator.QUALIFIERS
.qualifier
- the byte representation for the remainder of the column.Copyright © 2008–2021 Apache Software Foundation. All rights reserved.