public class EntityRowKey extends Object
| Constructor and Description | 
|---|
| EntityRowKey(String clusterId,
            String userId,
            String flowName,
            Long flowRunId,
            String appId,
            String entityType,
            Long entityIdPrefix,
            String entityId) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAppId() | 
| String | getClusterId() | 
| String | getEntityId() | 
| Long | getEntityIdPrefix() | 
| String | getEntityType() | 
| String | getFlowName() | 
| Long | getFlowRunId() | 
| byte[] | getRowKey()Constructs a row key for the entity table as follows:
  userName!clusterId!flowName!flowRunId!AppId!entityType!entityId. | 
| String | getRowKeyAsString()Constructs a row key for the entity table as follows: | 
| String | getUserId() | 
| static EntityRowKey | parseRowKey(byte[] rowKey)Given the raw row key as bytes, returns the row key as an object. | 
| static EntityRowKey | 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 String getEntityType()
public String getEntityId()
public Long getEntityIdPrefix()
public byte[] getRowKey()
userName!clusterId!flowName!flowRunId!AppId!entityType!entityId.
 Typically used while querying a specific entity.public static EntityRowKey parseRowKey(byte[] rowKey)
rowKey - byte representation of row key.public String getRowKeyAsString()
 userName!clusterId!flowName!flowRunId!AppId!
 entityType!entityIdPrefix!entityId.
 
public static EntityRowKey parseRowKeyFromString(String encodedRowKey)
encodedRowKey - String representation of row key.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.