com.espertech.esper.core.service
Class EPQueryResultImpl

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

public class EPQueryResultImpl
extends java.lang.Object
implements EPOnDemandQueryResult

Query result.


Constructor Summary
EPQueryResultImpl(EPPreparedQueryResult queryResult)
          Ctor.
 
Method Summary
 EventBean[] getArray()
          Returns an array representing query result rows, may return a null value or empty array to indicate an empty result set.
 EventType getEventType()
          Returns the event type of the result.
 java.util.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 java.util.Iterator<EventBean> iterator()
Description copied from interface: EPOnDemandQueryResult
Returns an iterator representing query result rows.

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

getArray

public EventBean[] getArray()
Description copied from interface: EPOnDemandQueryResult
Returns an array representing query result rows, may return a null value or empty array to indicate an empty result set.

Specified by:
getArray in interface EPOnDemandQueryResult
Returns:
result array

getEventType

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

Specified by:
getEventType in interface EPOnDemandQueryResult
Returns:
event type of result row

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