java.lang.Object
org.apache.jena.sparql.lang.sparql_11.SPARQLParser11
- All Implemented Interfaces:
SPARQLParser11Constants
-
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_11.SPARQLParser11Constants
A2Z, A2ZN, ABS, ADD, AGG, ALL, AND, ANON, AS, ASC, ASK, AT, AVG, BANG, BASE, BIND, BLANK_NODE_LABEL, BNODE, BOM, 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, STDEV, STDEV_POP, STDEV_SAMP, 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, 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
ConstructorsConstructorDescriptionSPARQLParser11(InputStream stream) Constructor with InputStream.SPARQLParser11(InputStream stream, String encoding) Constructor with InputStream and supplied encodingSPARQLParser11(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal UpdateAdd()final Exprfinal Exprfinal ArgsArgList()final voidAskQuery()final voidBaseDecl()final ElementBind()final org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal Exprfinal Exprfinal voidfinal UpdateClear()final org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal Exprfinal Exprfinal Exprfinal voidfinal Templatefinal voidfinal UpdateCopy()final UpdateCreate()final voidfinal org.apache.jena.graph.Nodefinal voidfinal voidfinal voidfinal voidfinal Updatefinal voidfinal voidDisable tracing.final UpdateDrop()final voidEnable tracing.final Exprfinal Exprfinal ExprListfinal 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 org.apache.jena.graph.Nodefinal Targetfinal Elementfinal org.apache.jena.graph.NodeGraphRef()final Targetfinal org.apache.jena.graph.Nodefinal 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 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, TripleCollector acc) final voidObjectList(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollector acc) final voidObjectListPath(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, Path path, TripleCollector acc) final voidObjectPath(org.apache.jena.graph.Node s, org.apache.jena.graph.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(org.apache.jena.graph.Node s, TripleCollector acc) final voidPropertyListNotEmpty(org.apache.jena.graph.Node s, TripleCollector acc) final voidPropertyListPath(org.apache.jena.graph.Node s, TripleCollector acc) final voidPropertyListPathNotEmpty(org.apache.jena.graph.Node s, TripleCollector acc) final voidQuadData(QuadDataAccSink acc) final voidQuadPattern(QuadAcc acc) final voidQuads(QuadAccSink acc) final voidfinal voidQuery()final voidfinal org.apache.jena.graph.Nodefinal ExprvoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final Exprfinal voidfinal voidfinal ElementvoidsetPrologue(Prologue prologue) voidvoidsetUpdate(Prologue prologue, UpdateSink sink) final voidfinal Stringfinal StringString()final Exprfinal voidfinal Exprstatic voidstatic voidthrowParseException(String msg, int line, int column) final booleanTrace enabled.final Elementfinal org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal voidfinal voidfinal voidfinal Exprfinal voidUpdate()final voidUpdate1()final voidfinal voidUsingClause(UpdateWithUsing update) final Exprfinal voidfinal VarVar()final org.apache.jena.graph.Nodefinal org.apache.jena.graph.NodeVarOrIri()final org.apache.jena.graph.Nodefinal org.apache.jena.graph.NodeVerb()final PathVerbPath()final org.apache.jena.graph.Nodefinal 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
-
SPARQLParser11
Constructor with InputStream. -
SPARQLParser11
Constructor with InputStream and supplied encoding -
SPARQLParser11
Constructor. -
SPARQLParser11
Constructor with generated Token Manager.
-
-
Method Details
-
QueryUnit
- Throws:
ParseException
-
Query
- Throws:
ParseException
-
UpdateUnit
- Throws:
ParseException
-
ByteOrderMark
- 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
-
GraphNode
- Throws:
ParseException
-
GraphNodePath
public final org.apache.jena.graph.Node GraphNodePath(TripleCollectorMark acc) throws ParseException - Throws:
ParseException
-
VarOrTerm
- Throws:
ParseException
-
VarOrIri
- Throws:
ParseException
-
VarOrBlankNodeOrIri
- 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
-
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. -
setQuery
-
getQuery
-
setUpdate
-
setPrologue
-
getPrologue
-
throwParseException
-
throwParseException
-