|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventView<E extends Event>
This interface defines a view for a set of log events. It allows for filtering and counting log events based on filter expressions.
| Method Summary | |
|---|---|
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)
Delete the event with the given ID from the view (and the underlying storage). |
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)
|
| Method Detail |
|---|
Set<String> getVariables()
Set<String> getIndexedVariables()
List<String> getCompletions(String variable)
variable -
Long count(FilterExpression filter)
throws Exception
filter -
Exception
Map<String,Long> count(String variable,
FilterExpression filter)
throws Exception
variable - filter -
Exception
List<E> list(FilterExpression filter,
int offset,
int limit)
throws Exception
filter - offset - limit -
Exception
E get(String id)
throws Exception
id -
Exception
boolean delete(String id)
throws Exception
id -
Exception
boolean delete(FilterExpression filter)
throws Exception
Exception
void tag(FilterExpression filter,
String tag)
throws Exception
Exception
void untag(FilterExpression filter,
String tag)
throws Exception
ExceptionSet<Operator> getSupportedOperators()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||