net.esper.eql.spec
Class InsertIntoDesc

java.lang.Object
  extended by net.esper.eql.spec.InsertIntoDesc

public class InsertIntoDesc
extends Object

Descriptor generated by INSERT-INTO clauses specified in expressions to insert the results of statement as a stream to further statements.


Constructor Summary
InsertIntoDesc(boolean isIStream, String eventTypeAlias)
          Ctor.
 
Method Summary
 void add(String columnName)
          Add a column name to the insert-into clause.
 List<String> getColumnNames()
          Returns a list of column names specified optionally in the insert-into clause, or empty if none specified.
 String getEventTypeAlias()
          Returns name of event type to use for insert-into stream.
 boolean isIStream()
          Returns true if insert (new data) events are fed, or false for remove (old data) events are fed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertIntoDesc

public InsertIntoDesc(boolean isIStream,
                      String eventTypeAlias)
Ctor.

Parameters:
isIStream - is true if insert (new data) events are fed, or false for remove (old data) events are fed
eventTypeAlias - is the event type alias name
Method Detail

isIStream

public boolean isIStream()
Returns true if insert (new data) events are fed, or false for remove (old data) events are fed.

Returns:
true for insert stream, false for remove stream

getEventTypeAlias

public String getEventTypeAlias()
Returns name of event type to use for insert-into stream.

Returns:
event type alias name

getColumnNames

public List<String> getColumnNames()
Returns a list of column names specified optionally in the insert-into clause, or empty if none specified.

Returns:
column names or empty list if none supplied

add

public void add(String columnName)
Add a column name to the insert-into clause.

Parameters:
columnName - to add