public class SelectClauseStreamWildcard extends Object implements SelectClauseElement
For example:
select streamOne.* from StreamOne as streamOne, StreamTwo as streamTwo
Constructor and Description |
---|
SelectClauseStreamWildcard()
Ctor.
|
SelectClauseStreamWildcard(String streamName,
String optionalColumnName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getOptionalColumnName()
Returns the optional column name (e.g.
|
String |
getStreamName()
Returns the stream name (e.g.
|
void |
setOptionalColumnName(String optionalColumnName)
Sets the column name.
|
void |
setStreamName(String streamName)
Sets the stream name.
|
void |
toEPLElement(StringWriter writer)
Renders the element in textual representation.
|
public SelectClauseStreamWildcard()
public SelectClauseStreamWildcard(String streamName, String optionalColumnName)
streamName
- is the name assigned to a streamoptionalColumnName
- is the name to assign to the column carrying the streams generated events, or
null if the event should not appear in a columnpublic String getStreamName()
public String getOptionalColumnName()
public void setStreamName(String streamName)
streamName
- stream namepublic void setOptionalColumnName(String optionalColumnName)
optionalColumnName
- column namepublic void toEPLElement(StringWriter writer)
toEPLElement
in interface SelectClauseElement
writer
- to output to