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, toString
public 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()
ParseException
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.