MCPcopy
hub / github.com/OpenTSDB/opentsdb / getRowKeyUIDRegex

Method getRowKeyUIDRegex

src/query/QueryUtil.java:63–66  ·  view source on GitHub ↗

Crafts a regular expression for scanning over data table rows and filtering time series that the user doesn't want. At least one of the parameters must be set and have values. NOTE: This method will sort the group bys. @param group_bys An optional list of tag keys that we want to group on. May be nu

(final List<byte[]> group_bys, 
      final ByteMap<byte[][]> row_key_literals)

Source from the content-addressed store, hash-verified

61 * @return A regular expression string to pass to the storage layer.
62 */
63 public static String getRowKeyUIDRegex(final List<byte[]> group_bys,
64 final ByteMap<byte[][]> row_key_literals) {
65 return getRowKeyUIDRegex(group_bys, row_key_literals, false, null, null);
66 }
67
68 /**
69 * Crafts a regular expression for scanning over data table rows and filtering

Callers 1

Calls 13

SALT_WIDTHMethod · 0.95
metrics_widthMethod · 0.95
tagk_widthMethod · 0.95
tagv_widthMethod · 0.95
addIdMethod · 0.95
sizeMethod · 0.65
iteratorMethod · 0.65
hasNextMethod · 0.65
nextMethod · 0.65
appendMethod · 0.45
getValueMethod · 0.45
getKeyMethod · 0.45

Tested by

no test coverage detected