public class FlowActivityRowKeyPrefix extends FlowActivityRowKey implements RowKeyPrefix<FlowActivityRowKey>
| Constructor and Description |
|---|
FlowActivityRowKeyPrefix(String clusterId)
Constructs a row key prefix for the flow activity table as follows:
clusterId!. |
FlowActivityRowKeyPrefix(String clusterId,
Long dayTs)
Constructs a row key prefix for the flow activity table as follows:
clusterId!dayTimestamp!. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getRowKeyPrefix()
Create a row key prefix, meaning a partial rowkey that can be used in range
scans.
|
getClusterId, getDayTimestamp, getFlowName, getRowKey, getRowKeyAsString, getUserId, parseRowKey, parseRowKeyFromStringpublic FlowActivityRowKeyPrefix(String clusterId, Long dayTs)
clusterId!dayTimestamp!.clusterId - Cluster Id.dayTs - Start of the day timestamp.public FlowActivityRowKeyPrefix(String clusterId)
clusterId!.clusterId - identifying the clusterpublic byte[] getRowKeyPrefix()
RowKeyPrefixgetRowKeyPrefix in interface RowKeyPrefix<FlowActivityRowKey>fist!second!...!last!Copyright © 2008–2023 Apache Software Foundation. All rights reserved.