|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.Stream
public abstract class Stream
An abstract base class for a named or unnamed stream.
Named streams provide an as-name for the stream, for example "select * from MyEvents(id=10) as StreamZero". Unnamed streams provide no as-name for the stream, for example "select * from MyEvents(id=10)".
Constructor Summary | |
---|---|
protected |
Stream(String streamName)
Ctor. |
Method Summary | |
---|---|
String |
getStreamName()
Returns the stream name. |
void |
setStreamName(String streamName)
Sets the stream name. |
void |
toEPL(StringWriter writer)
Renders the clause in textual representation. |
abstract void |
toEPLStream(StringWriter writer)
Renders the stream in textual representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Stream(String streamName)
streamName
- is null for unnamed streams, or a stream name for named streams.Method Detail |
---|
public abstract void toEPLStream(StringWriter writer)
writer
- to output topublic String getStreamName()
public void setStreamName(String streamName)
streamName
- is the name of stream, or null if unnamed.public void toEPL(StringWriter writer)
writer
- to output to
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |