net.esper.filter
Class FilterSpecValidator
java.lang.Object
net.esper.filter.FilterSpecValidator
public class FilterSpecValidator
- extends Object
Utility class for validating filter specifications.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterSpecValidator
public FilterSpecValidator()
validate
public static void validate(FilterSpec filterSpec,
Map<String,EventType> optionalTaggedEventTypes)
throws ASTFilterSpecValidationException
- Validates a filter specification.
- Parameters:
filterSpec
- is the filter spec to validateoptionalTaggedEventTypes
- is a optional list of result events and event types for filter specifications that
contain references to result events
- Throws:
IllegalArgumentException
- to indicate validation errors
ASTFilterSpecValidationException
- to indicate filter validation problem