Attempts to fetch the timeseries meta data and associated UIDMeta objects from storage. Note: Until we have a caching layer implemented, this will make at least 4 reads to the storage system, 1 for the TSUID meta, 1 for the metric UIDMeta and 1 each for every tagk/tagv UIDMeta object. See
(final TSDB tsdb, final String tsuid)
| 387 | * @throws NoSuchUniqueName if one of the UIDMeta objects does not exist |
| 388 | */ |
| 389 | public static Deferred<TSMeta> getTSMeta(final TSDB tsdb, final String tsuid) { |
| 390 | return getFromStorage(tsdb, UniqueId.stringToUid(tsuid)) |
| 391 | .addCallbackDeferring(new LoadUIDs(tsdb, tsuid)); |
| 392 | } |
| 393 | |
| 394 | /** |
| 395 | * Parses a TSMeta object from the given column, optionally loading the |