Did you try with as simple as
select * from User
This should match incoming EventRequest of actual User type given inheritance of your event classes
Alex
On Tue, Sep 15, 2009 at 9:04 PM, Bcuthbe
<ben_cuthbert@...> wrote:
Good evening all
I have have objects that come into esper as EventRequest and my class
structure is the following
UserRequest extends User -> extends EventRequest
How do I use the instanceof query to look for User based on events coming in
as EventRequest
select * from EventRequest.class.getCanonicalName where
instanceof(User.class.getCanonicalName())
--
View this message in context: http://www.nabble.com/instanceof-query-syntax-tp25459868p25459868.html
Sent from the Esper User list mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email