com.espertech.esper.core
Class EPQueryResultImpl

java.lang.Object
  extended by com.espertech.esper.core.EPQueryResultImpl
All Implemented Interfaces:
EPQueryResult

public class EPQueryResultImpl
extends Object
implements EPQueryResult

Query result.


Constructor Summary
EPQueryResultImpl(EPPreparedQueryResult queryResult)
          Ctor.
 
Method Summary
 EventBean[] getArray()
          Returns an array representing query result rows.
 EventType getEventType()
          Returns the event type of the result.
 Iterator<EventBean> iterator()
          Returns an iterator representing query result rows.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPQueryResultImpl

public EPQueryResultImpl(EPPreparedQueryResult queryResult)
Ctor.

Parameters:
queryResult - is the prepared query
Method Detail

iterator

public Iterator<EventBean> iterator()
Description copied from interface: EPQueryResult
Returns an iterator representing query result rows.

Specified by:
iterator in interface EPQueryResult
Returns:
result row iterator

getArray

public EventBean[] getArray()
Description copied from interface: EPQueryResult
Returns an array representing query result rows.

Specified by:
getArray in interface EPQueryResult
Returns:
result array

getEventType

public EventType getEventType()
Description copied from interface: EPQueryResult
Returns the event type of the result.

Specified by:
getEventType in interface EPQueryResult
Returns:
type

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com