FlowActivityRowKeyPrefixpublic class FlowActivityRowKey
extends java.lang.Object
| Modifier | Constructor | Description |
|---|---|---|
|
FlowActivityRowKey(java.lang.String clusterId,
java.lang.Long dayTs,
java.lang.String userId,
java.lang.String flowName) |
|
protected |
FlowActivityRowKey(java.lang.String clusterId,
java.lang.Long timestamp,
java.lang.String userId,
java.lang.String flowName,
boolean convertDayTsToTopOfDay) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getClusterId() |
|
java.lang.Long |
getDayTimestamp() |
|
java.lang.String |
getFlowName() |
|
byte[] |
getRowKey() |
Constructs a row key for the flow activity table as follows:
clusterId!dayTimestamp!user!flowName. |
java.lang.String |
getRowKeyAsString() |
Constructs a row key for the flow activity table as follows:
clusterId!dayTimestamp!user!flowName. |
java.lang.String |
getUserId() |
|
static FlowActivityRowKey |
parseRowKey(byte[] rowKey) |
Given the raw row key as bytes, returns the row key as an object.
|
static FlowActivityRowKey |
parseRowKeyFromString(java.lang.String encodedRowKey) |
Given the raw row key as string, returns the row key as an object.
|
public FlowActivityRowKey(java.lang.String clusterId,
java.lang.Long dayTs,
java.lang.String userId,
java.lang.String flowName)
clusterId - identifying the clusterdayTs - to be converted to the top of the day timestampuserId - identifying userflowName - identifying the flowprotected FlowActivityRowKey(java.lang.String clusterId,
java.lang.Long timestamp,
java.lang.String userId,
java.lang.String flowName,
boolean convertDayTsToTopOfDay)
clusterId - identifying the clustertimestamp - when the flow activity happened. May be converted to the
top of the day depending on the convertDayTsToTopOfDay argument.userId - identifying userflowName - identifying the flowconvertDayTsToTopOfDay - if true and timestamp isn't null, then
timestamp will be converted to the top-of-the day timestamppublic java.lang.String getClusterId()
public java.lang.Long getDayTimestamp()
public java.lang.String getUserId()
public java.lang.String getFlowName()
public byte[] getRowKey()
clusterId!dayTimestamp!user!flowName.public static FlowActivityRowKey parseRowKey(byte[] rowKey)
rowKey - Byte representation of row key.public java.lang.String getRowKeyAsString()
clusterId!dayTimestamp!user!flowName.public static FlowActivityRowKey parseRowKeyFromString(java.lang.String encodedRowKey)
encodedRowKey - String representation of row key.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.