java.lang.Object
org.apache.jena.sparql.lang.QueryParserBase
org.apache.jena.sparql.lang.SPARQLParserBase
org.apache.jena.sparql.lang.sparql_10.SPARQLParser10
- All Implemented Interfaces:
SPARQLParser10Constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from class org.apache.jena.sparql.lang.QueryParserBase
ParserLoggerNameFields inherited from interface org.apache.jena.sparql.lang.sparql_10.SPARQLParser10Constants
A2Z, A2ZN, AND, ANON, ASC, ASK, AT, BANG, BASE, BLANK_NODE_LABEL, BOUND, BY, COLON, COMMA, CONSTRUCT, DATATYPE, DECIMAL, DECIMAL_NEGATIVE, DECIMAL_POSITIVE, DEFAULT, DESC, DESCRIBE, DIGITS, DISTINCT, DOT, DOUBLE, DOUBLE_NEGATIVE, DOUBLE_POSITIVE, DTYPE, ECHAR, EOF, EQ, EXPONENT, FALSE, FILTER, FROM, GE, GRAPH, GT, INTEGER, INTEGER_NEGATIVE, INTEGER_POSITIVE, IRIref, IS_BLANK, IS_IRI, IS_LITERAL, IS_URI, KW_A, LANG, LANGMATCHES, LANGTAG, LBRACE, LBRACKET, LE, LIMIT, LPAREN, LT, MINUS, NAMED, NE, NIL, OFFSET, OPTIONAL, ORDER, PLUS, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_PREFIX, PNAME_LN, PNAME_NS, PREFIX, QUOTE_3D, QUOTE_3S, RBRACE, RBRACKET, REDUCED, REGEX, RPAREN, SAME_TERM, SC_AND, SC_OR, SELECT, SEMICOLON, SINGLE_LINE_COMMENT, SLASH, STAR, STR, STRDT, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, STRLANG, TILDE, tokenImage, TRUE, UNION, UNKNOWN, VAR1, VAR2, VARNAME, WHERE, WS -
Constructor Summary
ConstructorsConstructorDescriptionSPARQLParser10(InputStream stream) Constructor with InputStream.SPARQLParser10(InputStream stream, String encoding) Constructor with InputStream and supplied encodingSPARQLParser10(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal Exprfinal ExprListArgList()final voidAskQuery()final voidBaseDecl()final Nodefinal Nodefinal Nodefinal Exprfinal Exprfinal Nodefinal Exprfinal Exprfinal Exprfinal voidfinal Templatefinal voidfinal voidfinal voidfinal voidfinal voidDisable tracing.final voidEnable tracing.final Exprfinal ElementFilter()final ExprGenerate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final Elementfinal Nodefinal Elementfinal Nodefinal Elementfinal Elementfinal Elementfinal StringIRI_REF()final StringIRIref()final Exprfinal voidfinal voidfinal Exprfinal voidfinal Exprfinal Nodefinal Nodefinal Nodefinal Nodefinal voidObject(Node s, Node p, Path path, TripleCollectorMark acc) final voidObjectList(Node s, Node p, Path path, TripleCollectorMark acc) final voidfinal Elementfinal voidfinal voidfinal ExprListfinal voidfinal Stringfinal Exprfinal voidProject()final voidPrologue()final voidPropertyList(Node s, TripleCollectorMark acc) final voidfinal voidQuery()final voidfinal Nodefinal ExprvoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final Exprfinal voidfinal voidfinal Stringfinal StringString()final voidfinal Elementfinal Nodefinal voidfinal Exprfinal Exprfinal VarVar()final Nodefinal Nodefinal NodeVerb()final voidMethods inherited from class org.apache.jena.sparql.lang.SPARQLParserBase
getQuery, setQuery, setUpdateMethods inherited from class org.apache.jena.sparql.lang.QueryParserBase
getPrologue, setPrologue, throwParseException, throwParseException
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
SPARQLParser10
Constructor with InputStream. -
SPARQLParser10
Constructor with InputStream and supplied encoding -
SPARQLParser10
Constructor. -
SPARQLParser10
Constructor with generated Token Manager.
-
-
Method Details
-
QueryUnit
- Throws:
ParseException
-
Query
- Throws:
ParseException
-
Prologue
- Throws:
ParseException
-
BaseDecl
- Throws:
ParseException
-
PrefixDecl
- Throws:
ParseException
-
SelectQuery
- Throws:
ParseException
-
SubSelect
- Throws:
ParseException
-
Project
- Throws:
ParseException
-
ConstructQuery
- Throws:
ParseException
-
DescribeQuery
- Throws:
ParseException
-
AskQuery
- Throws:
ParseException
-
DatasetClause
- Throws:
ParseException
-
DefaultGraphClause
- Throws:
ParseException
-
NamedGraphClause
- Throws:
ParseException
-
SourceSelector
- Throws:
ParseException
-
WhereClause
- Throws:
ParseException
-
SolutionModifier
- Throws:
ParseException
-
OrderClause
- Throws:
ParseException
-
OrderCondition
- Throws:
ParseException
-
LimitOffsetClauses
- Throws:
ParseException
-
LimitClause
- Throws:
ParseException
-
OffsetClause
- Throws:
ParseException
-
GroupGraphPattern
- Throws:
ParseException
-
GroupGraphPatternSub
- Throws:
ParseException
-
TriplesBlock
- Throws:
ParseException
-
GraphPatternNotTriples
- Throws:
ParseException
-
OptionalGraphPattern
- Throws:
ParseException
-
GraphGraphPattern
- Throws:
ParseException
-
GroupOrUnionGraphPattern
- Throws:
ParseException
-
Filter
- Throws:
ParseException
-
Constraint
- Throws:
ParseException
-
FunctionCall
- Throws:
ParseException
-
ArgList
- Throws:
ParseException
-
ParamList
- Throws:
ParseException
-
ConstructTemplate
- Throws:
ParseException
-
ConstructTriples
- Throws:
ParseException
-
TriplesSameSubject
- Throws:
ParseException
-
PropertyListNotEmpty
- Throws:
ParseException
-
PropertyList
- Throws:
ParseException
-
ObjectList
public final void ObjectList(Node s, Node p, Path path, TripleCollectorMark acc) throws ParseException - Throws:
ParseException
-
Object
- Throws:
ParseException
-
Verb
- Throws:
ParseException
-
TriplesNode
- Throws:
ParseException
-
BlankNodePropertyList
- Throws:
ParseException
-
Collection
- Throws:
ParseException
-
GraphNode
- Throws:
ParseException
-
VarOrTerm
- Throws:
ParseException
-
VarOrIRIref
- Throws:
ParseException
-
Var
- Throws:
ParseException
-
GraphTerm
- Throws:
ParseException
-
Expression
- Throws:
ParseException
-
ConditionalOrExpression
- Throws:
ParseException
-
ConditionalAndExpression
- Throws:
ParseException
-
ValueLogical
- Throws:
ParseException
-
RelationalExpression
- Throws:
ParseException
-
NumericExpression
- Throws:
ParseException
-
AdditiveExpression
- Throws:
ParseException
-
MultiplicativeExpression
- Throws:
ParseException
-
UnaryExpression
- Throws:
ParseException
-
PrimaryExpression
- Throws:
ParseException
-
BrackettedExpression
- Throws:
ParseException
-
BuiltInCall
- Throws:
ParseException
-
RegexExpression
- Throws:
ParseException
-
IRIrefOrFunction
- Throws:
ParseException
-
RDFLiteral
- Throws:
ParseException
-
NumericLiteral
- Throws:
ParseException
-
NumericLiteralUnsigned
- Throws:
ParseException
-
NumericLiteralPositive
- Throws:
ParseException
-
NumericLiteralNegative
- Throws:
ParseException
-
BooleanLiteral
- Throws:
ParseException
-
String
- Throws:
ParseException
-
IRIref
- Throws:
ParseException
-
PrefixedName
- Throws:
ParseException
-
BlankNode
- Throws:
ParseException
-
IRI_REF
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-