public class EntityRowKeyPrefix extends EntityRowKey implements RowKeyPrefix<EntityRowKey>
| Constructor and Description |
|---|
EntityRowKeyPrefix(String clusterId,
String userId,
String flowName,
Long flowRunId,
String appId)
Creates a prefix which generates the following rowKeyPrefixes for the
entity table:
userName!clusterId!flowName!flowRunId!AppId!entityType!entityId. |
EntityRowKeyPrefix(String clusterId,
String userId,
String flowName,
Long flowRunId,
String appId,
String entityType,
Long entityIdPrefix,
String entityId)
Creates a prefix which generates the following rowKeyPrefixes for the
entity table:
userName!clusterId!flowName!flowRunId!AppId!entityType!. |
| 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, getEntityId, getEntityIdPrefix, getEntityType, getFlowName, getFlowRunId, getRowKey, getRowKeyAsString, getUserId, parseRowKey, parseRowKeyFromStringpublic EntityRowKeyPrefix(String clusterId, String userId, String flowName, Long flowRunId, String appId, String entityType, Long entityIdPrefix, String entityId)
userName!clusterId!flowName!flowRunId!AppId!entityType!.clusterId - identifying the clusteruserId - identifying the userflowName - identifying the flowflowRunId - identifying the individual run of this flowappId - identifying the applicationentityType - which entity typeentityIdPrefix - for entityIdentityId - for an entitypublic EntityRowKeyPrefix(String clusterId, String userId, String flowName, Long flowRunId, String appId)
userName!clusterId!flowName!flowRunId!AppId!entityType!entityId.clusterId - identifying the clusteruserId - identifying the userflowName - identifying the flowflowRunId - identifying the individual run of this flowappId - identifying the applicationpublic byte[] getRowKeyPrefix()
RowKeyPrefixgetRowKeyPrefix in interface RowKeyPrefix<EntityRowKey>fist!second!...!last!Copyright © 2008–2022 Apache Software Foundation. All rights reserved.