MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / checkRowOrder

Method checkRowOrder

src/core/Span.java:387–392  ·  view source on GitHub ↗

Checks the sorted flag and sorts the rows if necessary. Should be called by any iteration method. Since 2.0

()

Source from the content-addressed store, hash-verified

385 * Since 2.0
386 */
387 private void checkRowOrder() {
388 if (!sorted) {
389 Collections.sort(rows, new RowSeq.RowSeqComparator());
390 sorted = true;
391 }
392 }
393
394 /** Package private iterator method to access it as a Span.Iterator. */
395 Span.Iterator spanIterator() {

Callers 7

iteratorMethod · 0.95
getIdxOffsetForMethod · 0.95
timestampMethod · 0.95
isIntegerMethod · 0.95
longValueMethod · 0.95
doubleValueMethod · 0.95
seekRowMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected