MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / extractDataPoints

Method extractDataPoints

src/core/Internal.java:216–220  ·  view source on GitHub ↗

Extracts the data points from a single column. While it's meant for use on a compacted column, you can pass any other type of column and it will be returned. If the column represents a data point, a single cell will be returned. If the column contains an annotation or other object, the result will b

(final KeyValue column)

Source from the content-addressed store, hash-verified

214 * @since 2.0
215 */
216 public static ArrayList<Cell> extractDataPoints(final KeyValue column) {
217 final ArrayList<KeyValue> row = new ArrayList<KeyValue>(1);
218 row.add(column);
219 return extractDataPoints(row, column.qualifier().length / 2);
220 }
221
222 /**
223 * Breaks down all the values in a row into individual {@link Cell}s sorted on

Calls 9

getQualifierLengthMethod · 0.95
fixFloatingPointValueMethod · 0.95
fixQualifierFlagsMethod · 0.95
inMillisecondsMethod · 0.95
extractQualifierMethod · 0.95
addMethod · 0.45
qualifierMethod · 0.45
valueMethod · 0.45