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

Method numColumns

test/storage/MockBase.java:448–450  ·  view source on GitHub ↗

Total number of columns in the given row across all column families in the default table @param key The row to search for @return -1 if the row did not exist, otherwise the number of columns.

(final byte[] key)

Source from the content-addressed store, hash-verified

446 * @return -1 if the row did not exist, otherwise the number of columns.
447 */
448 public long numColumns(final byte[] key) {
449 return numColumns(default_table, key);
450 }
451
452 /**
453 * Total number of columns in the given row across all column families in the

Callers 15

dumpRawAndDeleteMethod · 0.80
dumpImportAndDeleteMethod · 0.80
badRowKeyMethod · 0.80
badRowKeyFixMethod · 0.80
badCompactTooShortFixMethod · 0.80
badCompactTooLongFixMethod · 0.80
rowOfBadValuesFixMethod · 0.80
runCompactPostQueryMethod · 0.80

Calls 3

valuesMethod · 0.65
sizeMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected