public class ApplicationRowKeyPrefix extends ApplicationRowKey implements RowKeyPrefix<ApplicationRowKey>
Constructor and Description |
---|
ApplicationRowKeyPrefix(String clusterId,
String userId,
String flowName)
Creates a prefix which generates the following rowKeyPrefixes for the
application table:
clusterId!userName!flowName! . |
ApplicationRowKeyPrefix(String clusterId,
String userId,
String flowName,
Long flowRunId)
Creates a prefix which generates the following rowKeyPrefixes for the
application table:
clusterId!userName!flowName!flowRunId! . |
Modifier and Type | Method and Description |
---|---|
byte[] |
getRowKeyPrefix()
Create a row key prefix, meaning a partial rowkey that can be used in range
scans.
|
getAppId, getClusterId, getFlowName, getFlowRunId, getRowKey, getRowKeyAsString, getUserId, parseRowKey, parseRowKeyFromString
public ApplicationRowKeyPrefix(String clusterId, String userId, String flowName)
clusterId!userName!flowName!
.clusterId
- the cluster on which applications ranuserId
- the user that ran applicationsflowName
- the name of the flow that was run by the user on the
clusterpublic ApplicationRowKeyPrefix(String clusterId, String userId, String flowName, Long flowRunId)
clusterId!userName!flowName!flowRunId!
.clusterId
- identifying the clusteruserId
- identifying the userflowName
- identifying the flowflowRunId
- identifying the instance of this flowpublic byte[] getRowKeyPrefix()
RowKeyPrefix
getRowKeyPrefix
in interface RowKeyPrefix<ApplicationRowKey>
fist!second!...!last!
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.