|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.Stream
com.espertech.esper.client.soda.ProjectedStream
com.espertech.esper.client.soda.PatternStream
public class PatternStream
A stream of events that is generated by pattern matches.
Patterns matches are events that match pattern expressions. Pattern expressions are built using
Patterns
.
Constructor Summary | |
---|---|
PatternStream()
Ctor. |
|
PatternStream(PatternExpr expression)
Ctor. |
|
PatternStream(PatternExpr expression,
java.lang.String optStreamName)
Ctor. |
|
PatternStream(PatternExpr expression,
java.lang.String optStreamName,
AnnotationPart[] annotations)
Ctor. |
Method Summary | |
---|---|
static PatternStream |
create(PatternExpr expression)
Creates a pattern stream from a pattern expression. |
static PatternStream |
create(PatternExpr expression,
java.lang.String optStreamName)
Creates a named pattern stream from a pattern expression. |
AnnotationPart[] |
getAnnotations()
Returns the pattern-level annotations, if any |
PatternExpr |
getExpression()
Returns the pattern expression providing events to the stream. |
void |
setAnnotations(AnnotationPart[] annotations)
Sets the pattern-level annotations, if any |
void |
setExpression(PatternExpr expression)
Sets the pattern expression providing events to the stream. |
void |
toEPLProjectedStream(java.io.StringWriter writer,
EPStatementFormatter formatter)
Represent as textual. |
void |
toEPLProjectedStreamType(java.io.StringWriter writer)
Represent type as textual non complete. |
Methods inherited from class com.espertech.esper.client.soda.ProjectedStream |
---|
addView, addView, addView, addView, getViews, isRetainIntersection, isRetainUnion, isUnidirectional, setRetainIntersection, setRetainUnion, setUnidirectional, setViews, toEPLStream, toEPLStreamOptions, toEPLStreamType, toEPLViews, unidirectional |
Methods inherited from class com.espertech.esper.client.soda.Stream |
---|
getStreamName, setStreamName, toEPL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PatternStream()
public PatternStream(PatternExpr expression)
expression
- pattern expressionpublic PatternStream(PatternExpr expression, java.lang.String optStreamName)
expression
- pattern expressionoptStreamName
- is the pattern stream name (as-name)public PatternStream(PatternExpr expression, java.lang.String optStreamName, AnnotationPart[] annotations)
expression
- pattern expressionoptStreamName
- is the pattern stream name (as-name)annotations
- annotations on pattern-level, if anyMethod Detail |
---|
public static PatternStream create(PatternExpr expression)
expression
- pattern expression
public static PatternStream create(PatternExpr expression, java.lang.String optStreamName)
expression
- pattern expressionoptStreamName
- is the pattern stream name (as-name)
public PatternExpr getExpression()
public void setExpression(PatternExpr expression)
expression
- is the pattern expressionpublic AnnotationPart[] getAnnotations()
public void setAnnotations(AnnotationPart[] annotations)
annotations
- pattern-level annotationspublic void toEPLProjectedStream(java.io.StringWriter writer, EPStatementFormatter formatter)
ProjectedStream
toEPLProjectedStream
in class ProjectedStream
writer
- to output toformatter
- for newline-whitespace formattingpublic void toEPLProjectedStreamType(java.io.StringWriter writer)
ProjectedStream
toEPLProjectedStreamType
in class ProjectedStream
writer
- to output to
|
© 2006-2015 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 |