public class DomainRowKey extends Object
Constructor and Description |
---|
DomainRowKey(String clusterId,
String domainId) |
Modifier and Type | Method and Description |
---|---|
String |
getClusterId() |
String |
getDomainId() |
byte[] |
getRowKey()
Constructs a row key prefix for the domain table.
|
String |
getRowKeyAsString()
Constructs a row key for the domain table as follows:
|
static DomainRowKey |
parseRowKey(byte[] rowKey)
Given the raw row key as bytes, returns the row key as an object.
|
static DomainRowKey |
parseRowKeyFromString(String encodedRowKey)
Given the encoded row key as string, returns the row key as an object.
|
public String getClusterId()
public String getDomainId()
public byte[] getRowKey()
public static DomainRowKey parseRowKey(byte[] rowKey)
rowKey
- a rowkey represented as a byte array.public String getRowKeyAsString()
clusterId!domainId
.
public static DomainRowKey parseRowKeyFromString(String encodedRowKey)
encodedRowKey
- String representation of row key.Copyright © 2008–2021 Apache Software Foundation. All rights reserved.