public class SPARQLParser11 extends SPARQLParserBase implements SPARQLParser11Constants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
SPARQLParser11TokenManager |
token_source
Generated Token Manager.
|
ParserLoggerNameA2Z, A2ZN, ABS, ADD, AGG, ALL, AND, ANON, AS, ASC, ASK, AT, AVG, BANG, BASE, BIND, BLANK_NODE_LABEL, BNODE, BOM, BOUND, BY, CARAT, CEIL, CLEAR, COALESCE, COLON, COMMA, CONCAT, CONSTRUCT, CONTAINS, COPY, COUNT, CREATE, DATA, DATATYPE, DAY, DECIMAL, DECIMAL_NEGATIVE, DECIMAL_POSITIVE, DEFAULT, DELETE, DELETE_DATA, DELETE_WHERE, DESC, DESCRIBE, DFT, DIGITS, DISTINCT, DOT, DOUBLE, DOUBLE_NEGATIVE, DOUBLE_POSITIVE, DROP, DTYPE, ECHAR, ENCODE_FOR_URI, EOF, EQ, EXISTS, EXPONENT, FALSE, FILTER, FLOOR, FPATH, FROM, GE, GRAPH, GROUP, GROUP_CONCAT, GT, HAVING, HEX, HOURS, IF, IN, INSERT, INSERT_DATA, INTEGER, INTEGER_NEGATIVE, INTEGER_POSITIVE, INTO, IRI, IRIref, IS_BLANK, IS_IRI, IS_LITERAL, IS_NUMERIC, IS_URI, KW_A, LANG, LANGMATCHES, LANGTAG, LBRACE, LBRACKET, LCASE, LE, LIMIT, LOAD, LPAREN, LT, MAX, MD5, META, MIN, MINUS, MINUS_P, MINUTES, MONTH, MOVE, NAMED, NE, NIL, NOT, NOW, OFFSET, OPTIONAL, ORDER, PERCENT, PLUS, PLX, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_LOCAL_ESC, PN_PREFIX, PNAME_LN, PNAME_NS, PREFIX, QMARK, QUOTE_3D, QUOTE_3S, RAND, RBRACE, RBRACKET, REDUCED, REGEX, REPLACE, ROUND, RPAREN, RPATH, SAME_TERM, SAMPLE, SC_AND, SC_OR, SECONDS, SELECT, SEMICOLON, SEPARATOR, SERVICE, SHA1, SHA224, SHA256, SHA384, SHA512, SILENT, SINGLE_LINE_COMMENT, SLASH, STAR, STDDEV, STR, STRAFTER, STRBEFORE, STRDT, STRENDS, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, STRLANG, STRLEN, STRSTARTS, STRUUID, SUBSTR, SUM, TILDE, TIMEZONE, TO, tokenImage, TRUE, TZ, UCASE, UNDEF, UNION, UNKNOWN, URI, USING, UUID, VALUES, VAR1, VAR2, VARNAME, VBAR, WHERE, WITH, WS, WSC, YEAR| Constructor and Description |
|---|
SPARQLParser11(InputStream stream)
Constructor with InputStream.
|
SPARQLParser11(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
SPARQLParser11(Reader stream)
Constructor.
|
SPARQLParser11(SPARQLParser11TokenManager tm)
Constructor with generated Token Manager.
|
getQuery, setQuery, setUpdateSinkgetPrologue, hex, setPrologue, stripChars, throwParseException, throwParseException, unescape, unescapePName, unescapeStr, unescapeStrpublic SPARQLParser11TokenManager token_source
public Token token
public Token jj_nt
public SPARQLParser11(InputStream stream)
public SPARQLParser11(InputStream stream, String encoding)
public SPARQLParser11(Reader stream)
public SPARQLParser11(SPARQLParser11TokenManager tm)
public final void QueryUnit()
throws ParseException
ParseExceptionpublic final void Query()
throws ParseException
ParseExceptionpublic final void UpdateUnit()
throws ParseException
ParseExceptionpublic final void ByteOrderMark()
throws ParseException
ParseExceptionpublic final void Prologue()
throws ParseException
ParseExceptionpublic final void BaseDecl()
throws ParseException
ParseExceptionpublic final void PrefixDecl()
throws ParseException
ParseExceptionpublic final void SelectQuery()
throws ParseException
ParseExceptionpublic final void SubSelect()
throws ParseException
ParseExceptionpublic final void SelectClause()
throws ParseException
ParseExceptionpublic final void ConstructQuery()
throws ParseException
ParseExceptionpublic final void DescribeQuery()
throws ParseException
ParseExceptionpublic final void AskQuery()
throws ParseException
ParseExceptionpublic final void DatasetClause()
throws ParseException
ParseExceptionpublic final void DefaultGraphClause()
throws ParseException
ParseExceptionpublic final void NamedGraphClause()
throws ParseException
ParseExceptionpublic final String SourceSelector() throws ParseException
ParseExceptionpublic final void WhereClause()
throws ParseException
ParseExceptionpublic final void SolutionModifier()
throws ParseException
ParseExceptionpublic final void GroupClause()
throws ParseException
ParseExceptionpublic final void GroupCondition()
throws ParseException
ParseExceptionpublic final void HavingClause()
throws ParseException
ParseExceptionpublic final void HavingCondition()
throws ParseException
ParseExceptionpublic final void OrderClause()
throws ParseException
ParseExceptionpublic final void OrderCondition()
throws ParseException
ParseExceptionpublic final void LimitOffsetClauses()
throws ParseException
ParseExceptionpublic final void LimitClause()
throws ParseException
ParseExceptionpublic final void OffsetClause()
throws ParseException
ParseExceptionpublic final void ValuesClause()
throws ParseException
ParseExceptionpublic final void Update()
throws ParseException
ParseExceptionpublic final void Update1()
throws ParseException
ParseExceptionpublic final Update Load() throws ParseException
ParseExceptionpublic final Update Clear() throws ParseException
ParseExceptionpublic final Update Drop() throws ParseException
ParseExceptionpublic final Update Create() throws ParseException
ParseExceptionpublic final Update Add() throws ParseException
ParseExceptionpublic final Update Move() throws ParseException
ParseExceptionpublic final Update Copy() throws ParseException
ParseExceptionpublic final void InsertData()
throws ParseException
ParseExceptionpublic final void DeleteData()
throws ParseException
ParseExceptionpublic final Update DeleteWhere() throws ParseException
ParseExceptionpublic final Update Modify() throws ParseException
ParseExceptionpublic final void DeleteClause(UpdateModify up) throws ParseException
ParseExceptionpublic final void InsertClause(UpdateModify up) throws ParseException
ParseExceptionpublic final void UsingClause(UpdateWithUsing update) throws ParseException
ParseExceptionpublic final Target GraphOrDefault() throws ParseException
ParseExceptionpublic final Node GraphRef() throws ParseException
ParseExceptionpublic final Target GraphRefAll() throws ParseException
ParseExceptionpublic final void QuadPattern(QuadAcc acc) throws ParseException
ParseExceptionpublic final void QuadData(QuadDataAccSink acc) throws ParseException
ParseExceptionpublic final void Quads(QuadAccSink acc) throws ParseException
ParseExceptionpublic final void QuadsNotTriples(QuadAccSink acc) throws ParseException
ParseExceptionpublic final void TriplesTemplate(TripleCollector acc) throws ParseException
ParseExceptionpublic final Element GroupGraphPattern() throws ParseException
ParseExceptionpublic final Element GroupGraphPatternSub() throws ParseException
ParseExceptionpublic final Element TriplesBlock(ElementPathBlock acc) throws ParseException
ParseExceptionpublic final Element GraphPatternNotTriples() throws ParseException
ParseExceptionpublic final Element OptionalGraphPattern() throws ParseException
ParseExceptionpublic final Element GraphGraphPattern() throws ParseException
ParseExceptionpublic final Element ServiceGraphPattern() throws ParseException
ParseExceptionpublic final Element Bind() throws ParseException
ParseExceptionpublic final Element InlineData() throws ParseException
ParseExceptionpublic final void DataBlock()
throws ParseException
ParseExceptionpublic final void InlineDataOneVar()
throws ParseException
ParseExceptionpublic final void InlineDataFull()
throws ParseException
ParseExceptionpublic final Node DataBlockValue() throws ParseException
ParseExceptionpublic final Element MinusGraphPattern() throws ParseException
ParseExceptionpublic final Element GroupOrUnionGraphPattern() throws ParseException
ParseExceptionpublic final Element Filter() throws ParseException
ParseExceptionpublic final Expr Constraint() throws ParseException
ParseExceptionpublic final Expr FunctionCall() throws ParseException
ParseExceptionpublic final ExprList ArgList() throws ParseException
ParseExceptionpublic final ExprList ExpressionList() throws ParseException
ParseExceptionpublic final Template ConstructTemplate() throws ParseException
ParseExceptionpublic final void ConstructTriples(TripleCollector acc) throws ParseException
ParseExceptionpublic final void TriplesSameSubject(TripleCollector acc) throws ParseException
ParseExceptionpublic final void PropertyList(Node s, TripleCollector acc) throws ParseException
ParseExceptionpublic final void PropertyListNotEmpty(Node s, TripleCollector acc) throws ParseException
ParseExceptionpublic final Node Verb() throws ParseException
ParseExceptionpublic final void ObjectList(Node s, Node p, Path path, TripleCollector acc) throws ParseException
ParseExceptionpublic final void Object(Node s, Node p, Path path, TripleCollector acc) throws ParseException
ParseExceptionpublic final void TriplesSameSubjectPath(TripleCollector acc) throws ParseException
ParseExceptionpublic final void PropertyListPath(Node s, TripleCollector acc) throws ParseException
ParseExceptionpublic final void PropertyListPathNotEmpty(Node s, TripleCollector acc) throws ParseException
ParseExceptionpublic final Path VerbPath() throws ParseException
ParseExceptionpublic final Node VerbSimple() throws ParseException
ParseExceptionpublic final void ObjectListPath(Node s, Node p, Path path, TripleCollector acc) throws ParseException
ParseExceptionpublic final void ObjectPath(Node s, Node p, Path path, TripleCollector acc) throws ParseException
ParseExceptionpublic final Path Path() throws ParseException
ParseExceptionpublic final Path PathAlternative() throws ParseException
ParseExceptionpublic final Path PathSequence() throws ParseException
ParseExceptionpublic final Path PathElt() throws ParseException
ParseExceptionpublic final Path PathEltOrInverse() throws ParseException
ParseExceptionpublic final Path PathMod(Path p) throws ParseException
ParseExceptionpublic final Path PathPrimary() throws ParseException
ParseExceptionpublic final Path PathNegatedPropertySet() throws ParseException
ParseExceptionpublic final P_Path0 PathOneInPropertySet() throws ParseException
ParseExceptionpublic final long Integer()
throws ParseException
ParseExceptionpublic final Node TriplesNode(TripleCollectorMark acc) throws ParseException
ParseExceptionpublic final Node BlankNodePropertyList(TripleCollector acc) throws ParseException
ParseExceptionpublic final Node TriplesNodePath(TripleCollectorMark acc) throws ParseException
ParseExceptionpublic final Node BlankNodePropertyListPath(TripleCollector acc) throws ParseException
ParseExceptionpublic final Node Collection(TripleCollectorMark acc) throws ParseException
ParseExceptionpublic final Node CollectionPath(TripleCollectorMark acc) throws ParseException
ParseExceptionpublic final Node GraphNode(TripleCollectorMark acc) throws ParseException
ParseExceptionpublic final Node GraphNodePath(TripleCollectorMark acc) throws ParseException
ParseExceptionpublic final Node VarOrTerm() throws ParseException
ParseExceptionpublic final Node VarOrIri() throws ParseException
ParseExceptionpublic final Var Var() throws ParseException
ParseExceptionpublic final Node GraphTerm() throws ParseException
ParseExceptionpublic final Expr Expression() throws ParseException
ParseExceptionpublic final Expr ConditionalOrExpression() throws ParseException
ParseExceptionpublic final Expr ConditionalAndExpression() throws ParseException
ParseExceptionpublic final Expr ValueLogical() throws ParseException
ParseExceptionpublic final Expr RelationalExpression() throws ParseException
ParseExceptionpublic final Expr NumericExpression() throws ParseException
ParseExceptionpublic final Expr AdditiveExpression() throws ParseException
ParseExceptionpublic final Expr MultiplicativeExpression() throws ParseException
ParseExceptionpublic final Expr UnaryExpression() throws ParseException
ParseExceptionpublic final Expr PrimaryExpression() throws ParseException
ParseExceptionpublic final Expr BrackettedExpression() throws ParseException
ParseExceptionpublic final Expr BuiltInCall() throws ParseException
ParseExceptionpublic final Expr RegexExpression() throws ParseException
ParseExceptionpublic final Expr SubstringExpression() throws ParseException
ParseExceptionpublic final Expr StrReplaceExpression() throws ParseException
ParseExceptionpublic final Expr ExistsFunc() throws ParseException
ParseExceptionpublic final Expr NotExistsFunc() throws ParseException
ParseExceptionpublic final Expr Aggregate() throws ParseException
ParseExceptionpublic final Expr iriOrFunction() throws ParseException
ParseExceptionpublic final Node RDFLiteral() throws ParseException
ParseExceptionpublic final Node NumericLiteral() throws ParseException
ParseExceptionpublic final Node NumericLiteralUnsigned() throws ParseException
ParseExceptionpublic final Node NumericLiteralPositive() throws ParseException
ParseExceptionpublic final Node NumericLiteralNegative() throws ParseException
ParseExceptionpublic final Node BooleanLiteral() throws ParseException
ParseExceptionpublic final String String() throws ParseException
ParseExceptionpublic final String iri() throws ParseException
ParseExceptionpublic final String PrefixedName() throws ParseException
ParseExceptionpublic final Node BlankNode() throws ParseException
ParseExceptionpublic final String IRIREF() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(SPARQLParser11TokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Licenced under the Apache License, Version 2.0