|
||||||||||
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 java.lang.String |
revisionEventTypeName
Name of type. |
protected RevisionSpec |
revisionSpec
Revision type specification. |
protected java.util.Map<EventType,RevisionTypeDesc> |
typeDescriptors
Map of participating type to descriptor. |
Constructor Summary | |
---|---|
protected |
VAERevisionProcessorBase(RevisionSpec revisionSpec,
java.lang.String revisioneventTypeName,
EventAdapterService eventAdapterService)
Ctor. |
Method Summary | |
---|---|
EventAdapterService |
getEventAdapterService()
|
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 java.lang.String revisionEventTypeName
protected RevisionEventType revisionEventType
protected EventAdapterService eventAdapterService
protected java.util.Map<EventType,RevisionTypeDesc> typeDescriptors
Constructor Detail |
---|
protected VAERevisionProcessorBase(RevisionSpec revisionSpec, java.lang.String revisioneventTypeName, EventAdapterService eventAdapterService)
revisionSpec
- specificationrevisioneventTypeName
- name 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 failspublic EventAdapterService getEventAdapterService()
|
© 2006-2015 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 |