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
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_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
ConstructorsConstructorDescriptionSPARQLParser12(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 UpdateAdd()final Exprfinal Exprfinal voidAnnotation(TripleCollector acc, Node s, Node p, Path path, Node o) final voidAnnotationPath(TripleCollector acc, Node s, Node p, Path path, Node o) final ArgsArgList()final voidAskQuery()final voidBaseDecl()final ElementBind()final Nodefinal Nodefinal Nodefinal Nodefinal Exprfinal Exprfinal UpdateClear()final Nodefinal Nodefinal Exprfinal Exprfinal Exprfinal voidfinal Templatefinal voidfinal UpdateCopy()final UpdateCreate()final voidfinal Nodefinal voidfinal Nodefinal voidfinal voidfinal voidfinal Updatefinal voidfinal voidDisable tracing.final UpdateDrop()final voidEnable tracing.final Exprfinal Exprfinal ExprListfinal Nodefinal Nodefinal ElementFilter()final ExprGenerate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final Elementfinal Nodefinal Nodefinal Targetfinal Elementfinal NodeGraphRef()final Targetfinal voidfinal voidfinal Elementfinal Elementfinal Elementfinal voidfinal voidfinal Elementfinal voidfinal voidfinal voidfinal voidfinal longInteger()final Stringiri()final Exprfinal StringIRIREF()final voidfinal voidfinal UpdateLoad()final Elementfinal UpdateModify()final UpdateMove()final Exprfinal voidfinal Exprfinal Exprfinal Nodefinal Nodefinal Nodefinal Nodefinal voidObject(Node s, Node p, Path path, TripleCollector acc) final voidObjectList(Node s, Node p, Path path, TripleCollector acc) final voidObjectListPath(Node s, Node p, Path path, TripleCollector acc) final voidObjectPath(Node s, Node p, Path path, TripleCollector acc) final voidfinal Elementfinal voidfinal voidfinal PathPath()final Pathfinal PathPathElt()final Pathfinal Pathfinal Pathfinal P_Path0final Pathfinal Pathfinal voidfinal Stringfinal Exprfinal voidPrologue()final voidPropertyList(Node s, TripleCollector acc) final voidPropertyListNotEmpty(Node s, TripleCollector acc) final voidPropertyListPath(Node s, TripleCollector acc) final voidfinal voidQuadData(QuadDataAccSink acc) final voidQuadPattern(QuadAcc acc) final voidQuads(QuadAccSink acc) final voidfinal voidQuery()final voidfinal Nodefinal Nodefinal Nodefinal ExprvoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final Exprfinal voidfinal voidfinal Elementfinal voidfinal Stringfinal StringString()final Exprfinal voidfinal Exprfinal booleanTrace enabled.final Elementfinal Nodefinal Nodefinal voidfinal voidfinal voidfinal Exprfinal voidUpdate()final voidUpdate1()final voidfinal voidUsingClause(UpdateWithUsing update) final Exprfinal voidfinal VarVar()final NodeVarOrIri()final Nodefinal NodeVerb()final PathVerbPath()final Nodefinal 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
-
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
- Throws:
ParseException
-
PropertyListNotEmpty
- Throws:
ParseException
-
Verb
- Throws:
ParseException
-
ObjectList
- Throws:
ParseException
-
Object
- Throws:
ParseException
-
TriplesSameSubjectPath
- Throws:
ParseException
-
PropertyListPath
- Throws:
ParseException
-
PropertyListPathNotEmpty
- Throws:
ParseException
-
VerbPath
- Throws:
ParseException
-
VerbSimple
- Throws:
ParseException
-
ObjectListPath
public final void ObjectListPath(Node s, Node p, Path path, TripleCollector acc) throws ParseException - Throws:
ParseException
-
ObjectPath
- 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
- Throws:
ParseException
-
TriplesNodePath
- Throws:
ParseException
-
BlankNodePropertyListPath
- Throws:
ParseException
-
Collection
- Throws:
ParseException
-
CollectionPath
- Throws:
ParseException
-
AnnotationPath
public final void AnnotationPath(TripleCollector acc, Node s, Node p, Path path, Node o) throws ParseException - Throws:
ParseException
-
Annotation
public final void Annotation(TripleCollector acc, Node s, Node p, Path path, Node o) throws ParseException - Throws:
ParseException
-
GraphNode
- Throws:
ParseException
-
GraphNodePath
- 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.
-