public interface EventView<E extends Event>
| Modifier and Type | Method and Description |
|---|---|
Long |
count(FilterExpression filter)
Returns the number of log-messages within this view which match the given
filter expression.
|
Map<String,Long> |
count(String variable,
FilterExpression filter)
Returns the counts of events grouped by the specified variable.
|
boolean |
delete(FilterExpression filter) |
boolean |
delete(String id)
Deprecated.
Use delete(FilterExpression) with a filter of TX_ID=id
|
E |
get(String id)
Retrieve the event with the given ID from the view.
|
List<String> |
getCompletions(String variable)
This method returns the list of values observed for the specified
variable.
|
Set<String> |
getIndexedVariables()
This method returns the set of variables which are indexed by a view.
|
Set<Operator> |
getSupportedOperators() |
Set<String> |
getVariables()
This method returns the variable names which are supported for filtering
by this view.
|
List<E> |
list(FilterExpression filter,
int offset,
int limit)
Returns the list of log-messages which match the given filter expression.
|
void |
tag(FilterExpression filter,
String tag) |
void |
untag(FilterExpression filter,
String tag) |
Set<String> getVariables()
Set<String> getIndexedVariables()
List<String> getCompletions(String variable)
variable - Long count(FilterExpression filter) throws Exception
filter - ExceptionMap<String,Long> count(String variable, FilterExpression filter) throws Exception
variable - filter - ExceptionList<E> list(FilterExpression filter, int offset, int limit) throws Exception
filter - offset - limit - ExceptionE get(String id) throws Exception
id - Exceptionboolean delete(String id) throws Exception
id - Exceptionboolean delete(FilterExpression filter) throws Exception
Exceptionvoid tag(FilterExpression filter, String tag) throws Exception
Exceptionvoid untag(FilterExpression filter, String tag) throws Exception
ExceptionCopyright © 2013 jwall.org. All Rights Reserved.