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, parseRowKeyFromString
public 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()
RowKeyPrefix
getRowKeyPrefix
in interface RowKeyPrefix<FlowActivityRowKey>
fist!second!...!last!
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.