Package org.apache.cassandra.cql3
Class CQLFragmentParser
java.lang.Object
org.apache.cassandra.cql3.CQLFragmentParser
Helper class to encapsulate common code that calls one of the generated methods in
CqlParser.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <R> RparseAny(CQLFragmentParser.CQLParserFunction<R> parserFunction, String input, String meaning) static <R> RparseAnyUnhandled(CQLFragmentParser.CQLParserFunction<R> parserFunction, String input) Just call a parser method inCqlParser- does not do any error handling.
-
Constructor Details
-
CQLFragmentParser
public CQLFragmentParser()
-
-
Method Details
-
parseAny
public static <R> R parseAny(CQLFragmentParser.CQLParserFunction<R> parserFunction, String input, String meaning) -
parseAnyUnhandled
public static <R> R parseAnyUnhandled(CQLFragmentParser.CQLParserFunction<R> parserFunction, String input) throws org.antlr.runtime.RecognitionException Just call a parser method inCqlParser- does not do any error handling.- Throws:
org.antlr.runtime.RecognitionException
-