|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.telemetry.analyzer.language.parser.TelemetryLanguageParser
public class TelemetryLanguageParser
Parser for telemetry language. All static methods in this class are thread-safe.
Method Summary | |
---|---|
static java.util.List<TelemetryDefinition> |
parse(java.lang.String string)
Parsing full telemetry streams and charts definitions. |
static TelemetryChartDefinition |
parseChartDef(java.lang.String string)
Parses telemetry "chart" object definition. |
static TelemetryChartYAxisDefinition |
parseChartYAxisDef(java.lang.String string)
Parses telemetry "chart y-axis" object definition. |
static TelemetryReportDefinition |
parseReportDef(java.lang.String string)
Parses telemetry "report" object definition. |
static TelemetryStreamsDefinition |
parseStreamsDef(java.lang.String string)
Parses telemetry "streams" object definition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List<TelemetryDefinition> parse(java.lang.String string) throws ParsingException
string
- The definitions.
TelemetryDefinition
objects in the order appeared.
ParsingException
- If there is parsing error.public static TelemetryStreamsDefinition parseStreamsDef(java.lang.String string) throws ParsingException
string
- A telemetry query statement that defines a telemetry "streams" object.
Note that you should not include the final semi-colon.
ParsingException
- If the input is not grammatically correct.public static TelemetryChartDefinition parseChartDef(java.lang.String string) throws ParsingException
string
- A telemetry query statement that defines a telemetry "chart" object.
Note that you should not include the final semi-colon.
ParsingException
- If the input is not gramatically correct.public static TelemetryChartYAxisDefinition parseChartYAxisDef(java.lang.String string) throws ParsingException
string
- A telemetry query statement that defines a telemetry "chart y-axis" object.
Note that you should not include the final semi-colon.
ParsingException
- If the input is not gramatically correct.public static TelemetryReportDefinition parseReportDef(java.lang.String string) throws ParsingException
string
- A telemetry query statement that defines a telemetry "report" object.
Note that you should not include the final semi-colon.
ParsingException
- If the input is not gramatically correct.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |