public class StreamParser extends AppParser
StreamNode.| Constructor and Description |
|---|
StreamParser(String dsl)
Construct a
StreamParser without supplying the stream name up front. |
StreamParser(String name,
String dsl)
Construct a
StreamParser for a stream with the provided name. |
| Modifier and Type | Method and Description |
|---|---|
StreamNode |
parse()
Parse a stream definition.
|
String |
toString() |
eatApp, eatAppArgs, eatArgValue, eatDottedName, getTokens, isValidName, toData, tokenListToStringList, toLabelNode, toStringpublic StreamParser(String dsl)
StreamParser without supplying the stream name up front.
The stream name may be embedded in the definition; for example:
mystream = http | file.dsl - the stream definition DSL textpublic StreamNode parse()
ParseExceptionCopyright © 2016 Pivotal Software, Inc.. All rights reserved.