java.lang.Object
org.apache.jena.sparql.core.Quad
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Quad
AQuad
that has a wildcard in all fields.static final Node
Name of the default for explicit use in GRAPHstatic final Node
Name of the default graph as used by parsers and in quad form of algebra.static final Node
Name of the non-graph when a quad is really a triple - also parsing of triples formats (and the default graph when parsing N-Quads or TriG) Not for access to the default graph by name - use Quad.defaultGraphIRI.static final Node
Name of the merge of all named graphs (use this for the graph of all named graphs) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasTriple()
Get as a triple - useful because quads often come in blocks for the same graphstatic Quad
static Quad
boolean
final Node
getGraph()
final Node
final Node
final Node
int
hashCode()
boolean
boolean
Default, concrete graph (either generated or explicitly named)static boolean
isDefaultGraph
(Node node) Default, concrete graph (either generated or explicitly named) -- not triple-in-quadboolean
Default, concrete graph via generated URI (not explicitly, named)static boolean
isDefaultGraphExplicit
(Node node) Default, explicitly named concrete graphboolean
Default graph, explicitly named (not generated)static boolean
isDefaultGraphGenerated
(Node node) Test whether this is a quad for the default graph (not the default graphs by explicit name)boolean
Is this quad a legal data quad (legal data triple, IRI for graph)boolean
isTriple()
Is it really a triple?boolean
static boolean
isUnionGraph
(Node node) Default, concrete graph (either generated or explicitly named) -- not triple-in-quadboolean
toString()
-
Field Details
-
defaultGraphIRI
Name of the default for explicit use in GRAPH -
defaultGraphNodeGenerated
Name of the default graph as used by parsers and in quad form of algebra. Not for access to the default graph by name - use Quad.defaultGraphIRI. -
unionGraph
Name of the merge of all named graphs (use this for the graph of all named graphs) -
tripleInQuad
Name of the non-graph when a quad is really a triple - also parsing of triples formats (and the default graph when parsing N-Quads or TriG) Not for access to the default graph by name - use Quad.defaultGraphIRI. -
ANY
AQuad
that has a wildcard in all fields.
-
-
Constructor Details
-
Quad
-
Quad
-
-
Method Details
-
create
-
create
-
getGraph
-
getSubject
-
getPredicate
-
getObject
-
asTriple
Get as a triple - useful because quads often come in blocks for the same graph -
isConcrete
public boolean isConcrete() -
isDefaultGraphGenerated
Test whether this is a quad for the default graph (not the default graphs by explicit name) -
isDefaultGraphExplicit
Default, explicitly named concrete graph -
isDefaultGraph
Default, concrete graph (either generated or explicitly named) -- not triple-in-quad -
isUnionGraph
Default, concrete graph (either generated or explicitly named) -- not triple-in-quad -
isDefaultGraphExplicit
public boolean isDefaultGraphExplicit()Default, concrete graph via generated URI (not explicitly, named) -
isDefaultGraphGenerated
public boolean isDefaultGraphGenerated()Default graph, explicitly named (not generated) -
isDefaultGraph
public boolean isDefaultGraph()Default, concrete graph (either generated or explicitly named) -
isUnionGraph
public boolean isUnionGraph() -
isTriple
public boolean isTriple()Is it really a triple? -
isLegalAsData
public boolean isLegalAsData()Is this quad a legal data quad (legal data triple, IRI for graph) -
hashCode
public int hashCode() -
equals
-
matches
-
toString
-