java.lang.Object
org.apache.jena.sparql.lang.sparql_10.SPARQLParser10
- All Implemented Interfaces:
SPARQLParser10Constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.static org.slf4j.Loggerstatic final StringCurrent token.Generated Token Manager.Fields 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 org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal Exprfinal Exprfinal org.apache.jena.graph.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.getQuery()final TokengetToken(int index) Get the specific Token.final Elementfinal org.apache.jena.graph.Nodefinal Elementfinal org.apache.jena.graph.Nodefinal Elementfinal Elementfinal Elementfinal StringIRI_REF()final StringIRIref()final Exprfinal voidfinal voidfinal Exprfinal voidfinal Exprfinal org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal voidObject(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollectorMark acc) final voidObjectList(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollectorMark acc) final voidfinal Elementfinal voidfinal voidfinal ExprListfinal voidfinal Stringfinal Exprfinal voidProject()final voidPrologue()final voidPropertyList(org.apache.jena.graph.Node s, TripleCollectorMark acc) final voidPropertyListNotEmpty(org.apache.jena.graph.Node s, TripleCollectorMark acc) final voidQuery()final voidfinal org.apache.jena.graph.Nodefinal ExprvoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final Exprfinal voidvoidsetPrologue(Prologue prologue) voidvoidsetUpdate(Prologue prologue, UpdateSink sink) final voidfinal Stringfinal StringString()final voidstatic voidstatic voidthrowParseException(String msg, int line, int column) final Elementfinal org.apache.jena.graph.Nodefinal voidfinal Exprfinal Exprfinal VarVar()final org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal org.apache.jena.graph.NodeVerb()final void
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token. -
ParserLoggerName
- See Also:
-
parserLog
public static org.slf4j.Logger parserLog
-
-
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
public final void PropertyListNotEmpty(org.apache.jena.graph.Node s, TripleCollectorMark acc) throws ParseException - Throws:
ParseException
-
PropertyList
public final void PropertyList(org.apache.jena.graph.Node s, TripleCollectorMark acc) throws ParseException - Throws:
ParseException
-
ObjectList
public final void ObjectList(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollectorMark acc) throws ParseException - Throws:
ParseException
-
Object
public final void Object(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollectorMark acc) throws ParseException - Throws:
ParseException
-
Verb
- Throws:
ParseException
-
TriplesNode
- Throws:
ParseException
-
BlankNodePropertyList
public final org.apache.jena.graph.Node BlankNodePropertyList(TripleCollectorMark acc) throws ParseException - 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. -
setQuery
-
getQuery
-
setUpdate
-
setPrologue
-
getPrologue
-
throwParseException
-
throwParseException
-