public class AccumuloCustomMetricStore extends AccumuloMetricStore implements CustomMetricStore
DEFAULT_STORE_CONFIG, REVERSE_SUFFIX| Constructor and Description |
|---|
AccumuloCustomMetricStore(org.apache.accumulo.core.client.Connector connector) |
AccumuloCustomMetricStore(org.apache.accumulo.core.client.Connector connector,
String tableName,
StoreConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureTable(org.apache.accumulo.core.client.Connector connector,
String tableName)
Utility method to update the correct iterators to the table.
|
org.calrissian.mango.collect.CloseableIterable<Metric> |
query(Date start,
Date end,
String group,
String type,
String name,
MetricTimeUnit timeUnit,
Auths auths)
Query metrics back from the store.
|
<T> org.calrissian.mango.collect.CloseableIterable<CustomMetric<T>> |
queryCustom(Date start,
Date end,
String group,
String type,
String name,
Class<? extends MetricFunction<T>> function,
MetricTimeUnit timeUnit,
Auths auths)
Query metrics back from the store.
|
combine, metricScanner, save, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsavepublic AccumuloCustomMetricStore(org.apache.accumulo.core.client.Connector connector)
throws org.apache.accumulo.core.client.TableNotFoundException,
org.apache.accumulo.core.client.TableExistsException,
org.apache.accumulo.core.client.AccumuloSecurityException,
org.apache.accumulo.core.client.AccumuloException
org.apache.accumulo.core.client.TableNotFoundExceptionorg.apache.accumulo.core.client.TableExistsExceptionorg.apache.accumulo.core.client.AccumuloSecurityExceptionorg.apache.accumulo.core.client.AccumuloExceptionpublic AccumuloCustomMetricStore(org.apache.accumulo.core.client.Connector connector,
String tableName,
StoreConfig config)
throws org.apache.accumulo.core.client.TableNotFoundException,
org.apache.accumulo.core.client.TableExistsException,
org.apache.accumulo.core.client.AccumuloSecurityException,
org.apache.accumulo.core.client.AccumuloException
org.apache.accumulo.core.client.TableNotFoundExceptionorg.apache.accumulo.core.client.TableExistsExceptionorg.apache.accumulo.core.client.AccumuloSecurityExceptionorg.apache.accumulo.core.client.AccumuloExceptionprotected void configureTable(org.apache.accumulo.core.client.Connector connector,
String tableName)
throws org.apache.accumulo.core.client.AccumuloSecurityException,
org.apache.accumulo.core.client.AccumuloException,
org.apache.accumulo.core.client.TableNotFoundException
configureTable in class AccumuloMetricStoreorg.apache.accumulo.core.client.AccumuloSecurityExceptionorg.apache.accumulo.core.client.AccumuloExceptionorg.apache.accumulo.core.client.TableNotFoundExceptionpublic org.calrissian.mango.collect.CloseableIterable<Metric> query(Date start, Date end, String group, String type, String name, MetricTimeUnit timeUnit, Auths auths)
query in interface MetricStorequery in class AccumuloMetricStorepublic <T> org.calrissian.mango.collect.CloseableIterable<CustomMetric<T>> queryCustom(Date start, Date end, String group, String type, String name, Class<? extends MetricFunction<T>> function, MetricTimeUnit timeUnit, Auths auths) throws IllegalAccessException, InstantiationException
queryCustom in interface CustomMetricStoreIllegalAccessExceptionInstantiationExceptionCopyright © 2014 Calrissian. All Rights Reserved.