public class CassandraSearcher extends Object implements org.opennms.newts.api.search.Searcher
| Constructor and Description |
|---|
CassandraSearcher(CassandraSession session,
com.codahale.metrics.MetricRegistry registry,
ContextConfigurations contextConfigurations) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getMetricNames(org.opennms.newts.api.Context context,
String resourceId) |
Map<String,String> |
getResourceAttributes(org.opennms.newts.api.Context context,
String resourceId) |
org.opennms.newts.api.search.SearchResults |
search(org.opennms.newts.api.Context context,
org.opennms.newts.api.search.Query query) |
org.opennms.newts.api.search.SearchResults |
search(org.opennms.newts.api.Context context,
org.opennms.newts.api.search.Query query,
boolean populateMetricsAndAttributes) |
@Inject public CassandraSearcher(CassandraSession session, @Named(value="newtsMetricRegistry") com.codahale.metrics.MetricRegistry registry, ContextConfigurations contextConfigurations)
public org.opennms.newts.api.search.SearchResults search(org.opennms.newts.api.Context context,
org.opennms.newts.api.search.Query query)
search in interface org.opennms.newts.api.search.Searcherpublic org.opennms.newts.api.search.SearchResults search(org.opennms.newts.api.Context context,
org.opennms.newts.api.search.Query query,
boolean populateMetricsAndAttributes)
search in interface org.opennms.newts.api.search.Searcherpublic Map<String,String> getResourceAttributes(org.opennms.newts.api.Context context, String resourceId)
public Collection<String> getMetricNames(org.opennms.newts.api.Context context, String resourceId)
Copyright © 2021. All rights reserved.