public class InsertIntoDesc extends Object implements MetaDefItem, Serializable
Constructor and Description |
---|
InsertIntoDesc(SelectClauseStreamSelectorEnum streamSelector,
String eventTypeName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(String columnName)
Add a column name to the insert-into clause.
|
static InsertIntoDesc |
fromColumns(String streamName,
List<String> columns) |
List<String> |
getColumnNames()
Returns a list of column names specified optionally in the insert-into clause, or empty if none specified.
|
String |
getEventTypeName()
Returns name of event type to use for insert-into stream.
|
SelectClauseStreamSelectorEnum |
getStreamSelector()
Returns the stream(s) selected for inserting into.
|
public InsertIntoDesc(SelectClauseStreamSelectorEnum streamSelector, String eventTypeName)
streamSelector
- selects insert, remove or insert+remove streameventTypeName
- is the event type namepublic SelectClauseStreamSelectorEnum getStreamSelector()
public String getEventTypeName()
public List<String> getColumnNames()
public void add(String columnName)
columnName
- to addpublic static InsertIntoDesc fromColumns(String streamName, List<String> columns)