public class SelectClauseStreamCompiledSpec extends java.lang.Object implements SelectClauseElementCompiled
SelectClauseStreamRawSpec
but added the stream number for the name.Type | Property and Description |
---|---|
boolean |
is
Gets the value of the property property.
|
Constructor and Description |
---|
SelectClauseStreamCompiledSpec(java.lang.String streamName,
java.lang.String optionalColumnName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOptionalName()
Returns the column name.
|
java.lang.Class |
getPropertyType()
Returns property type.
|
java.lang.String |
getStreamName()
Returns the stream name (e.g.
|
int |
getStreamNumber()
Returns the stream number of the stream for the stream name.
|
TableMetadata |
getTableMetadata() |
boolean |
isFragmentEvent()
Returns true to indicate that we are meaning to select a tagged event in a pattern, or false if
selecting an event from a stream.
|
boolean |
isProperty()
Gets the value of the property property.
|
void |
setFragmentEvent(boolean taggedEvent)
Sets a flag indicating whether the stream wildcard is for a tagged event in a pattern.
|
void |
setProperty(boolean property,
java.lang.Class propertyType)
Sets an indicate that a property was selected with wildcard.
|
void |
setStreamNumber(int streamNumber)
Sets the stream number of the selected stream within the context of the from-clause.
|
void |
setTableMetadata(TableMetadata tableMetadata) |
public SelectClauseStreamCompiledSpec(java.lang.String streamName, java.lang.String optionalColumnName)
streamName
- is the stream name of the stream to selectoptionalColumnName
- is the column namepublic java.lang.String getStreamName()
public java.lang.String getOptionalName()
public int getStreamNumber()
public boolean isFragmentEvent()
public void setStreamNumber(int streamNumber)
streamNumber
- to setpublic void setFragmentEvent(boolean taggedEvent)
taggedEvent
- in patternpublic void setProperty(boolean property, java.lang.Class propertyType)
property
- selectedpropertyType
- the return typepublic boolean isProperty()
public java.lang.Class getPropertyType()
public TableMetadata getTableMetadata()
public void setTableMetadata(TableMetadata tableMetadata)