java.lang.Object
org.apache.jena.sparql.lang.QueryParserBase
org.apache.jena.sparql.lang.SPARQLParserBase
org.apache.jena.sparql.lang.sparql_12.SPARQLParser12
- All Implemented Interfaces:
SPARQLParser12Constants
-
Field Summary
Modifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from class org.apache.jena.sparql.lang.QueryParserBase
parserLog, ParserLoggerName
Fields inherited from interface org.apache.jena.sparql.lang.sparql_12.SPARQLParser12Constants
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, GT2, 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_TRIPLE, IS_URI, KW_A, L_ANN, LANG, LANGMATCHES, LANGTAG, LBRACE, LBRACKET, LCASE, LE, LIMIT, LOAD, LPAREN, LT, LT2, MAX, MD5, META, MIN, MINUS, MINUS_P, MINUTES, MONTH, MOVE, NAMED, NE, NIL, NOT, NOW, OBJECT, 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, PREDICATE, PREFIX, QMARK, QUOTE_3D, QUOTE_3S, R_ANN, 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, STDEV, STDEV_POP, STDEV_SAMP, STR, STRAFTER, STRBEFORE, STRDT, STRENDS, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, STRLANG, STRLEN, STRSTARTS, STRUUID, SUBJECT, SUBSTR, SUM, TILDE, TIMEZONE, TO, tokenImage, TRIPLE, TRUE, TZ, UCASE, UCHAR, UCHAR4, UCHAR8, UNDEF, UNION, UNKNOWN, URI, USING, UUID, VALUES, VAR_POP, VAR_SAMP, VAR1, VAR2, VARIANCE, VARNAME, VBAR, WHERE, WITH, WS, WSC, YEAR
-
Constructor Summary
ConstructorDescriptionSPARQLParser12
(InputStream stream) Constructor with InputStream.SPARQLParser12
(InputStream stream, String encoding) Constructor with InputStream and supplied encodingSPARQLParser12
(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal Update
Add()
final Expr
final Expr
final void
Annotation
(TripleCollector acc, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, org.apache.jena.graph.Node o) final void
AnnotationPath
(TripleCollector acc, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, org.apache.jena.graph.Node o) final Args
ArgList()
final void
AskQuery()
final void
BaseDecl()
final Element
Bind()
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final Expr
final Expr
final Update
Clear()
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final Expr
final Expr
final Expr
final void
final Template
final void
final Update
Copy()
final Update
Create()
final void
final org.apache.jena.graph.Node
final void
final org.apache.jena.graph.Node
final void
final void
final void
final Update
final void
final void
Disable tracing.final Update
Drop()
final void
Enable tracing.final Expr
final Expr
final ExprList
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final Element
Filter()
final Expr
Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.final Element
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final Target
final Element
final org.apache.jena.graph.Node
GraphRef()
final Target
final void
final void
final Element
final Element
final Element
final void
final void
final Element
final void
final void
final void
final void
final long
Integer()
final String
iri()
final Expr
final String
IRIREF()
final void
final void
final Update
Load()
final Element
final Update
Modify()
final Update
Move()
final Expr
final void
final Expr
final Expr
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final void
Object
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollector acc) final void
ObjectList
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollector acc) final void
ObjectListPath
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollector acc) final void
ObjectPath
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollector acc) final void
final Element
final void
final void
final Path
Path()
final Path
final Path
PathElt()
final Path
final Path
final Path
final P_Path0
final Path
final Path
final void
final String
final Expr
final void
Prologue()
final void
PropertyList
(org.apache.jena.graph.Node s, TripleCollector acc) final void
PropertyListNotEmpty
(org.apache.jena.graph.Node s, TripleCollector acc) final void
PropertyListPath
(org.apache.jena.graph.Node s, TripleCollector acc) final void
PropertyListPathNotEmpty
(org.apache.jena.graph.Node s, TripleCollector acc) final void
QuadData
(QuadDataAccSink acc) final void
QuadPattern
(QuadAcc acc) final void
Quads
(QuadAccSink acc) final void
final void
Query()
final void
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final Expr
void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.void
Reinitialise.final Expr
final void
final void
final Element
final void
final String
final String
String()
final Expr
final void
final Expr
final boolean
Trace enabled.final Element
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final void
final void
final void
final Expr
final void
Update()
final void
Update1()
final void
final void
UsingClause
(UpdateWithUsing update) final Expr
final void
final Var
Var()
final org.apache.jena.graph.Node
VarOrIri()
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
Verb()
final Path
VerbPath()
final org.apache.jena.graph.Node
final void
Methods inherited from class org.apache.jena.sparql.lang.SPARQLParserBase
getQuery, setQuery, setUpdate
Methods 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
-
SPARQLParser12
Constructor with InputStream. -
SPARQLParser12
Constructor with InputStream and supplied encoding -
SPARQLParser12
Constructor. -
SPARQLParser12
Constructor with generated Token Manager.
-
-
Method Details
-
QueryUnit
- Throws:
ParseException
-
Query
- Throws:
ParseException
-
UpdateUnit
- Throws:
ParseException
-
Prologue
- Throws:
ParseException
-
BaseDecl
- Throws:
ParseException
-
PrefixDecl
- Throws:
ParseException
-
SelectQuery
- Throws:
ParseException
-
SubSelect
- Throws:
ParseException
-
SelectClause
- 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
-
GroupClause
- Throws:
ParseException
-
GroupCondition
- Throws:
ParseException
-
HavingClause
- Throws:
ParseException
-
HavingCondition
- Throws:
ParseException
-
OrderClause
- Throws:
ParseException
-
OrderCondition
- Throws:
ParseException
-
LimitOffsetClauses
- Throws:
ParseException
-
LimitClause
- Throws:
ParseException
-
OffsetClause
- Throws:
ParseException
-
ValuesClause
- Throws:
ParseException
-
Update
- Throws:
ParseException
-
Update1
- Throws:
ParseException
-
Load
- Throws:
ParseException
-
Clear
- Throws:
ParseException
-
Drop
- Throws:
ParseException
-
Create
- Throws:
ParseException
-
Add
- Throws:
ParseException
-
Move
- Throws:
ParseException
-
Copy
- Throws:
ParseException
-
InsertData
- Throws:
ParseException
-
DeleteData
- Throws:
ParseException
-
DeleteWhere
- Throws:
ParseException
-
Modify
- Throws:
ParseException
-
DeleteClause
- Throws:
ParseException
-
InsertClause
- Throws:
ParseException
-
UsingClause
- Throws:
ParseException
-
GraphOrDefault
- Throws:
ParseException
-
GraphRef
- Throws:
ParseException
-
GraphRefAll
- Throws:
ParseException
-
QuadPattern
- Throws:
ParseException
-
QuadData
- Throws:
ParseException
-
Quads
- Throws:
ParseException
-
QuadsNotTriples
- Throws:
ParseException
-
TriplesTemplate
- Throws:
ParseException
-
GroupGraphPattern
- Throws:
ParseException
-
GroupGraphPatternSub
- Throws:
ParseException
-
TriplesBlock
- Throws:
ParseException
-
GraphPatternNotTriples
- Throws:
ParseException
-
OptionalGraphPattern
- Throws:
ParseException
-
GraphGraphPattern
- Throws:
ParseException
-
ServiceGraphPattern
- Throws:
ParseException
-
Bind
- Throws:
ParseException
-
InlineData
- Throws:
ParseException
-
DataBlock
- Throws:
ParseException
-
InlineDataOneVar
- Throws:
ParseException
-
InlineDataFull
- Throws:
ParseException
-
DataBlockValue
- Throws:
ParseException
-
MinusGraphPattern
- Throws:
ParseException
-
GroupOrUnionGraphPattern
- Throws:
ParseException
-
Filter
- Throws:
ParseException
-
Constraint
- Throws:
ParseException
-
FunctionCall
- Throws:
ParseException
-
ArgList
- Throws:
ParseException
-
ExpressionList
- Throws:
ParseException
-
ConstructTemplate
- Throws:
ParseException
-
ConstructTriples
- Throws:
ParseException
-
TriplesSameSubject
- Throws:
ParseException
-
PropertyList
public final void PropertyList(org.apache.jena.graph.Node s, TripleCollector acc) throws ParseException - Throws:
ParseException
-
PropertyListNotEmpty
public final void PropertyListNotEmpty(org.apache.jena.graph.Node s, TripleCollector acc) throws ParseException - Throws:
ParseException
-
Verb
- Throws:
ParseException
-
ObjectList
public final void ObjectList(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollector acc) throws ParseException - Throws:
ParseException
-
Object
public final void Object(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollector acc) throws ParseException - Throws:
ParseException
-
TriplesSameSubjectPath
- Throws:
ParseException
-
PropertyListPath
public final void PropertyListPath(org.apache.jena.graph.Node s, TripleCollector acc) throws ParseException - Throws:
ParseException
-
PropertyListPathNotEmpty
public final void PropertyListPathNotEmpty(org.apache.jena.graph.Node s, TripleCollector acc) throws ParseException - Throws:
ParseException
-
VerbPath
- Throws:
ParseException
-
VerbSimple
- Throws:
ParseException
-
ObjectListPath
public final void ObjectListPath(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollector acc) throws ParseException - Throws:
ParseException
-
ObjectPath
public final void ObjectPath(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollector acc) throws ParseException - Throws:
ParseException
-
Path
- Throws:
ParseException
-
PathAlternative
- Throws:
ParseException
-
PathSequence
- Throws:
ParseException
-
PathElt
- Throws:
ParseException
-
PathEltOrInverse
- Throws:
ParseException
-
PathMod
- Throws:
ParseException
-
PathPrimary
- Throws:
ParseException
-
PathNegatedPropertySet
- Throws:
ParseException
-
PathOneInPropertySet
- Throws:
ParseException
-
Integer
- Throws:
ParseException
-
TriplesNode
- Throws:
ParseException
-
BlankNodePropertyList
public final org.apache.jena.graph.Node BlankNodePropertyList(TripleCollector acc) throws ParseException - Throws:
ParseException
-
TriplesNodePath
public final org.apache.jena.graph.Node TriplesNodePath(TripleCollectorMark acc) throws ParseException - Throws:
ParseException
-
BlankNodePropertyListPath
public final org.apache.jena.graph.Node BlankNodePropertyListPath(TripleCollector acc) throws ParseException - Throws:
ParseException
-
Collection
- Throws:
ParseException
-
CollectionPath
public final org.apache.jena.graph.Node CollectionPath(TripleCollectorMark acc) throws ParseException - Throws:
ParseException
-
AnnotationPath
public final void AnnotationPath(TripleCollector acc, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, org.apache.jena.graph.Node o) throws ParseException - Throws:
ParseException
-
Annotation
public final void Annotation(TripleCollector acc, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, org.apache.jena.graph.Node o) throws ParseException - Throws:
ParseException
-
GraphNode
- Throws:
ParseException
-
GraphNodePath
public final org.apache.jena.graph.Node GraphNodePath(TripleCollectorMark acc) throws ParseException - Throws:
ParseException
-
VarOrTerm
- Throws:
ParseException
-
QuotedTriple
- Throws:
ParseException
-
QuotedTripleData
- Throws:
ParseException
-
DataValueTerm
- Throws:
ParseException
-
VarOrIri
- Throws:
ParseException
-
Var
- 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
-
ExprVarOrTerm
- Throws:
ParseException
-
ExprQuotedTriple
- Throws:
ParseException
-
BrackettedExpression
- Throws:
ParseException
-
BuiltInCall
- Throws:
ParseException
-
RegexExpression
- Throws:
ParseException
-
SubstringExpression
- Throws:
ParseException
-
StrReplaceExpression
- Throws:
ParseException
-
ExistsFunc
- Throws:
ParseException
-
NotExistsFunc
- Throws:
ParseException
-
Aggregate
- Throws:
ParseException
-
iriOrFunction
- Throws:
ParseException
-
RDFLiteral
- Throws:
ParseException
-
NumericLiteral
- Throws:
ParseException
-
NumericLiteralUnsigned
- Throws:
ParseException
-
NumericLiteralPositive
- Throws:
ParseException
-
NumericLiteralNegative
- Throws:
ParseException
-
BooleanLiteral
- Throws:
ParseException
-
String
- Throws:
ParseException
-
iri
- Throws:
ParseException
-
PrefixedName
- Throws:
ParseException
-
BlankNode
- Throws:
ParseException
-
IRIREF
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
trace_enabled
public final boolean trace_enabled()Trace enabled. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-