SubApplicationRowKeyPrefixpublic class SubApplicationRowKey
extends java.lang.Object
| Constructor | Description |
|---|---|
SubApplicationRowKey(java.lang.String subAppUserId,
java.lang.String clusterId,
java.lang.String entityType,
java.lang.Long entityIdPrefix,
java.lang.String entityId,
java.lang.String userId) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getClusterId() |
|
java.lang.String |
getEntityId() |
|
java.lang.Long |
getEntityIdPrefix() |
|
java.lang.String |
getEntityType() |
|
byte[] |
getRowKey() |
Constructs a row key for the sub app table as follows:
subAppUserId!clusterId!entityType
!entityPrefix!entityId!userId. |
java.lang.String |
getRowKeyAsString() |
Constructs a row key for the sub app table as follows:
|
java.lang.String |
getSubAppUserId() |
|
java.lang.String |
getUserId() |
|
static SubApplicationRowKey |
parseRowKey(byte[] rowKey) |
Given the raw row key as bytes, returns the row key as an object.
|
static SubApplicationRowKey |
parseRowKeyFromString(java.lang.String encodedRowKey) |
Given the encoded row key as string, returns the row key as an object.
|
public SubApplicationRowKey(java.lang.String subAppUserId,
java.lang.String clusterId,
java.lang.String entityType,
java.lang.Long entityIdPrefix,
java.lang.String entityId,
java.lang.String userId)
public java.lang.String getClusterId()
public java.lang.String getSubAppUserId()
public java.lang.String getEntityType()
public java.lang.String getEntityId()
public java.lang.Long getEntityIdPrefix()
public java.lang.String getUserId()
public byte[] getRowKey()
subAppUserId!clusterId!entityType
!entityPrefix!entityId!userId.
Typically used while querying a specific sub app.
subAppUserId is usually the doAsUser.
userId is the yarn user that the AM runs as.public static SubApplicationRowKey parseRowKey(byte[] rowKey)
rowKey - byte representation of row key.public java.lang.String getRowKeyAsString()
subAppUserId!clusterId!
entityType!entityIdPrefix!entityId!userId.
subAppUserId is usually the doAsUser.
userId is the yarn user that that the AM runs as.
public static SubApplicationRowKey parseRowKeyFromString(java.lang.String encodedRowKey)
encodedRowKey - String representation of row key.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.