RowKeyPrefix<SubApplicationRowKey>public class SubApplicationRowKeyPrefix extends SubApplicationRowKey implements RowKeyPrefix<SubApplicationRowKey>
| Constructor | Description |
|---|---|
SubApplicationRowKeyPrefix(java.lang.String subAppUserId,
java.lang.String clusterId,
java.lang.String entityType,
java.lang.Long entityIdPrefix,
java.lang.String entityId,
java.lang.String userId) |
Creates a prefix which generates the following rowKeyPrefixes for the sub
application table:
subAppUserId!clusterId!entityType!entityPrefix!userId. |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
getRowKeyPrefix() |
Create a row key prefix, meaning a partial rowkey that can be used in range
scans.
|
getClusterId, getEntityId, getEntityIdPrefix, getEntityType, getRowKey, getRowKeyAsString, getSubAppUserId, getUserId, parseRowKey, parseRowKeyFromStringpublic SubApplicationRowKeyPrefix(java.lang.String subAppUserId,
java.lang.String clusterId,
java.lang.String entityType,
java.lang.Long entityIdPrefix,
java.lang.String entityId,
java.lang.String userId)
subAppUserId!clusterId!entityType!entityPrefix!userId.subAppUserId - identifying the subApp UserclusterId - identifying the clusterentityType - which entity typeentityIdPrefix - for entityIdentityId - for an entityuserId - for the user who runs the AM
subAppUserId is usually the doAsUser.
userId is the yarn user that the AM runs as.public byte[] getRowKeyPrefix()
RowKeyPrefixgetRowKeyPrefix in interface RowKeyPrefix<SubApplicationRowKey>fist!second!...!last!Copyright © 2008–2025 Apache Software Foundation. All rights reserved.