|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.vaevent.VAERevisionProcessorBase
public abstract class VAERevisionProcessorBase
Base revision processor.
Field Summary | |
---|---|
protected EventAdapterService |
eventAdapterService
For interogating nested properties. |
protected RevisionEventType |
revisionEventType
Revision event type. |
protected String |
revisionEventTypeAlias
Alias of type. |
protected RevisionSpec |
revisionSpec
Revision type specification. |
protected Map<EventType,RevisionTypeDesc> |
typeDescriptors
Map of participating type to descriptor. |
Constructor Summary | |
---|---|
protected |
VAERevisionProcessorBase(RevisionSpec revisionSpec,
String revisionEventTypeAlias,
EventAdapterService eventAdapterService)
Ctor. |
Method Summary | |
---|---|
RevisionEventType |
getValueAddEventType()
Returns the event type that this revision processor generates. |
void |
validateEventType(EventType eventType)
For use in checking insert-into statements, validates that the given type is eligible for revision event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.espertech.esper.event.vaevent.ValueAddEventProcessor |
---|
getSnapshot, getValueAddEventBean, onUpdate, removeOldData |
Field Detail |
---|
protected final RevisionSpec revisionSpec
protected final String revisionEventTypeAlias
protected RevisionEventType revisionEventType
protected EventAdapterService eventAdapterService
protected Map<EventType,RevisionTypeDesc> typeDescriptors
Constructor Detail |
---|
protected VAERevisionProcessorBase(RevisionSpec revisionSpec, String revisionEventTypeAlias, EventAdapterService eventAdapterService)
revisionSpec
- specificationrevisionEventTypeAlias
- alias of event typeeventAdapterService
- for nested property handlingMethod Detail |
---|
public RevisionEventType getValueAddEventType()
ValueAddEventProcessor
getValueAddEventType
in interface ValueAddEventProcessor
public void validateEventType(EventType eventType) throws ExprValidationException
ValueAddEventProcessor
validateEventType
in interface ValueAddEventProcessor
eventType
- the type of the event participating in revision event type (or not)
ExprValidationException
- if the validation fails
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |