com.espertech.esper.event
Class EventBeanReaderDefaultImpl

java.lang.Object
  extended by com.espertech.esper.event.EventBeanReaderDefaultImpl
All Implemented Interfaces:
EventBeanReader

public class EventBeanReaderDefaultImpl
extends java.lang.Object
implements EventBeanReader

Reader implementation that utilizes event property getters and thereby works with all event types regardsless of whether a type returns an event reader when asked for.


Constructor Summary
EventBeanReaderDefaultImpl(EventType eventType)
          Ctor.
 
Method Summary
 java.lang.Object[] read(EventBean theEvent)
          Returns all event properties in the exact order they appear as properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventBeanReaderDefaultImpl

public EventBeanReaderDefaultImpl(EventType eventType)
Ctor.

Parameters:
eventType - the type of events to read
Method Detail

read

public java.lang.Object[] read(EventBean theEvent)
Description copied from interface: EventBeanReader
Returns all event properties in the exact order they appear as properties.

Specified by:
read in interface EventBeanReader
Parameters:
theEvent - to read
Returns:
property values

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com