org.wso2.siddhi.query.api.definition
Class StreamDefinition

java.lang.Object
  extended by org.wso2.siddhi.query.api.definition.AbstractDefinition
      extended by org.wso2.siddhi.query.api.definition.StreamDefinition
All Implemented Interfaces:
ExecutionPlan

public class StreamDefinition
extends AbstractDefinition


Field Summary
 
Fields inherited from class org.wso2.siddhi.query.api.definition.AbstractDefinition
attributeList, id
 
Constructor Summary
StreamDefinition()
           
 
Method Summary
 StreamDefinition attribute(String attributeName, Attribute.Type type)
           
 String getStreamId()
           
 StreamDefinition name(String streamId)
           
 String toString()
           
 
Methods inherited from class org.wso2.siddhi.query.api.definition.AbstractDefinition
checkAttribute, getAttributeList, getAttributeNameArray, getAttributePosition, getAttributeType, getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StreamDefinition

public StreamDefinition()
Method Detail

name

public StreamDefinition name(String streamId)

attribute

public StreamDefinition attribute(String attributeName,
                                  Attribute.Type type)

getStreamId

public String getStreamId()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All rights reserved.