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.
|
A2Z, A2ZN, ABS, ADD, AGG, ALL, AND, ANON, AS, ASC, ASK, AT, AVG, BANG, BASE, BIND, BLANK_NODE_LABEL, BNODE, 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, setUpdateSink
getPrologue, hex, setPrologue, stripChars, throwParseException, throwParseException, unescape, unescapePName, unescapeStr, unescapeStr
public 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
ParseException
public final void Query() throws ParseException
ParseException
public final void UpdateUnit() throws ParseException
ParseException
public final void Prologue() throws ParseException
ParseException
public final void BaseDecl() throws ParseException
ParseException
public final void PrefixDecl() throws ParseException
ParseException
public final void SelectQuery() throws ParseException
ParseException
public final void SubSelect() throws ParseException
ParseException
public final void SelectClause() throws ParseException
ParseException
public final void ConstructQuery() throws ParseException
ParseException
public final void DescribeQuery() throws ParseException
ParseException
public final void AskQuery() throws ParseException
ParseException
public final void DatasetClause() throws ParseException
ParseException
public final void DefaultGraphClause() throws ParseException
ParseException
public final void NamedGraphClause() throws ParseException
ParseException
public final String SourceSelector() throws ParseException
ParseException
public final void WhereClause() throws ParseException
ParseException
public final void SolutionModifier() throws ParseException
ParseException
public final void GroupClause() throws ParseException
ParseException
public final void GroupCondition() throws ParseException
ParseException
public final void HavingClause() throws ParseException
ParseException
public final void HavingCondition() throws ParseException
ParseException
public final void OrderClause() throws ParseException
ParseException
public final void OrderCondition() throws ParseException
ParseException
public final void LimitOffsetClauses() throws ParseException
ParseException
public final void LimitClause() throws ParseException
ParseException
public final void OffsetClause() throws ParseException
ParseException
public final void ValuesClause() throws ParseException
ParseException
public final void Update() throws ParseException
ParseException
public final void Update1() throws ParseException
ParseException
public final Update Load() throws ParseException
ParseException
public final Update Clear() throws ParseException
ParseException
public final Update Drop() throws ParseException
ParseException
public final Update Create() throws ParseException
ParseException
public final Update Add() throws ParseException
ParseException
public final Update Move() throws ParseException
ParseException
public final Update Copy() throws ParseException
ParseException
public final void InsertData() throws ParseException
ParseException
public final void DeleteData() throws ParseException
ParseException
public final Update DeleteWhere() throws ParseException
ParseException
public final Update Modify() throws ParseException
ParseException
public final void DeleteClause(UpdateModify up) throws ParseException
ParseException
public final void InsertClause(UpdateModify up) throws ParseException
ParseException
public final void UsingClause(UpdateWithUsing update) throws ParseException
ParseException
public final Target GraphOrDefault() throws ParseException
ParseException
public final Node GraphRef() throws ParseException
ParseException
public final Target GraphRefAll() throws ParseException
ParseException
public final void QuadPattern(QuadAcc acc) throws ParseException
ParseException
public final void QuadData(QuadDataAccSink acc) throws ParseException
ParseException
public final void Quads(QuadAccSink acc) throws ParseException
ParseException
public final void QuadsNotTriples(QuadAccSink acc) throws ParseException
ParseException
public final void TriplesTemplate(TripleCollector acc) throws ParseException
ParseException
public final Element GroupGraphPattern() throws ParseException
ParseException
public final Element GroupGraphPatternSub() throws ParseException
ParseException
public final Element TriplesBlock(ElementPathBlock acc) throws ParseException
ParseException
public final Element GraphPatternNotTriples() throws ParseException
ParseException
public final Element OptionalGraphPattern() throws ParseException
ParseException
public final Element GraphGraphPattern() throws ParseException
ParseException
public final Element ServiceGraphPattern() throws ParseException
ParseException
public final Element Bind() throws ParseException
ParseException
public final Element InlineData() throws ParseException
ParseException
public final void DataBlock() throws ParseException
ParseException
public final void InlineDataOneVar() throws ParseException
ParseException
public final void InlineDataFull() throws ParseException
ParseException
public final Node DataBlockValue() throws ParseException
ParseException
public final Element MinusGraphPattern() throws ParseException
ParseException
public final Element GroupOrUnionGraphPattern() throws ParseException
ParseException
public final Element Filter() throws ParseException
ParseException
public final Expr Constraint() throws ParseException
ParseException
public final Expr FunctionCall() throws ParseException
ParseException
public final ExprList ArgList() throws ParseException
ParseException
public final ExprList ExpressionList() throws ParseException
ParseException
public final Template ConstructTemplate() throws ParseException
ParseException
public final void ConstructTriples(TripleCollector acc) throws ParseException
ParseException
public final void TriplesSameSubject(TripleCollector acc) throws ParseException
ParseException
public final void PropertyList(Node s, TripleCollector acc) throws ParseException
ParseException
public final void PropertyListNotEmpty(Node s, TripleCollector acc) throws ParseException
ParseException
public final Node Verb() throws ParseException
ParseException
public final void ObjectList(Node s, Node p, Path path, TripleCollector acc) throws ParseException
ParseException
public final void Object(Node s, Node p, Path path, TripleCollector acc) throws ParseException
ParseException
public final void TriplesSameSubjectPath(TripleCollector acc) throws ParseException
ParseException
public final void PropertyListPath(Node s, TripleCollector acc) throws ParseException
ParseException
public final void PropertyListPathNotEmpty(Node s, TripleCollector acc) throws ParseException
ParseException
public final Path VerbPath() throws ParseException
ParseException
public final Node VerbSimple() throws ParseException
ParseException
public final void ObjectListPath(Node s, Node p, Path path, TripleCollector acc) throws ParseException
ParseException
public final void ObjectPath(Node s, Node p, Path path, TripleCollector acc) throws ParseException
ParseException
public final Path Path() throws ParseException
ParseException
public final Path PathAlternative() throws ParseException
ParseException
public final Path PathSequence() throws ParseException
ParseException
public final Path PathElt() throws ParseException
ParseException
public final Path PathEltOrInverse() throws ParseException
ParseException
public final Path PathMod(Path p) throws ParseException
ParseException
public final Path PathPrimary() throws ParseException
ParseException
public final Path PathNegatedPropertySet() throws ParseException
ParseException
public final P_Path0 PathOneInPropertySet() throws ParseException
ParseException
public final long Integer() throws ParseException
ParseException
public final Node TriplesNode(TripleCollectorMark acc) throws ParseException
ParseException
public final Node BlankNodePropertyList(TripleCollector acc) throws ParseException
ParseException
public final Node TriplesNodePath(TripleCollectorMark acc) throws ParseException
ParseException
public final Node BlankNodePropertyListPath(TripleCollector acc) throws ParseException
ParseException
public final Node Collection(TripleCollectorMark acc) throws ParseException
ParseException
public final Node CollectionPath(TripleCollectorMark acc) throws ParseException
ParseException
public final Node GraphNode(TripleCollectorMark acc) throws ParseException
ParseException
public final Node GraphNodePath(TripleCollectorMark acc) throws ParseException
ParseException
public final Node VarOrTerm() throws ParseException
ParseException
public final Node VarOrIri() throws ParseException
ParseException
public final Var Var() throws ParseException
ParseException
public final Node GraphTerm() throws ParseException
ParseException
public final Expr Expression() throws ParseException
ParseException
public final Expr ConditionalOrExpression() throws ParseException
ParseException
public final Expr ConditionalAndExpression() throws ParseException
ParseException
public final Expr ValueLogical() throws ParseException
ParseException
public final Expr RelationalExpression() throws ParseException
ParseException
public final Expr NumericExpression() throws ParseException
ParseException
public final Expr AdditiveExpression() throws ParseException
ParseException
public final Expr MultiplicativeExpression() throws ParseException
ParseException
public final Expr UnaryExpression() throws ParseException
ParseException
public final Expr PrimaryExpression() throws ParseException
ParseException
public final Expr BrackettedExpression() throws ParseException
ParseException
public final Expr BuiltInCall() throws ParseException
ParseException
public final Expr RegexExpression() throws ParseException
ParseException
public final Expr SubstringExpression() throws ParseException
ParseException
public final Expr StrReplaceExpression() throws ParseException
ParseException
public final Expr ExistsFunc() throws ParseException
ParseException
public final Expr NotExistsFunc() throws ParseException
ParseException
public final Expr Aggregate() throws ParseException
ParseException
public final Expr iriOrFunction() throws ParseException
ParseException
public final Node RDFLiteral() throws ParseException
ParseException
public final Node NumericLiteral() throws ParseException
ParseException
public final Node NumericLiteralUnsigned() throws ParseException
ParseException
public final Node NumericLiteralPositive() throws ParseException
ParseException
public final Node NumericLiteralNegative() throws ParseException
ParseException
public final Node BooleanLiteral() throws ParseException
ParseException
public final String String() throws ParseException
ParseException
public final String iri() throws ParseException
ParseException
public final String PrefixedName() throws ParseException
ParseException
public final Node BlankNode() throws ParseException
ParseException
public final String IRIREF() throws ParseException
ParseException
public 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