public class ApplicationRowKey extends Object
Constructor and Description |
---|
ApplicationRowKey(String clusterId,
String userId,
String flowName,
Long flowRunId,
String appId) |
Modifier and Type | Method and Description |
---|---|
String |
getAppId() |
String |
getClusterId() |
String |
getFlowName() |
Long |
getFlowRunId() |
byte[] |
getRowKey()
Constructs a row key for the application table as follows:
clusterId!userName!flowName!flowRunId!AppId . |
String |
getRowKeyAsString()
Constructs a row key for the application table as follows:
clusterId!userName!flowName!flowRunId!AppId . |
String |
getUserId() |
static ApplicationRowKey |
parseRowKey(byte[] rowKey)
Given the raw row key as bytes, returns the row key as an object.
|
static ApplicationRowKey |
parseRowKeyFromString(String encodedRowKey)
Given the encoded row key as string, returns the row key as an object.
|
public String getClusterId()
public String getUserId()
public String getFlowName()
public Long getFlowRunId()
public String getAppId()
public byte[] getRowKey()
clusterId!userName!flowName!flowRunId!AppId
.public static ApplicationRowKey parseRowKey(byte[] rowKey)
rowKey
- Byte representation of row key.public String getRowKeyAsString()
clusterId!userName!flowName!flowRunId!AppId
.public static ApplicationRowKey parseRowKeyFromString(String encodedRowKey)
encodedRowKey
- String representation of row key.Copyright © 2008–2020 Apache Software Foundation. All rights reserved.