java.lang.Object
org.apache.jena.sparql.core.Quad
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QuadAQuadthat has a wildcard in all fields.static final NodeName of the default for explicit use in GRAPHstatic final NodeName of the default graph as used by parsers and in quad form of algebra.static final NodeName 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 NodeName 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 Quadstatic Quadbooleanfinal NodegetGraph()final Nodefinal Nodefinal NodeinthashCode()booleanbooleanDefault, concrete graph (either generated or explicitly named)static booleanisDefaultGraph(Node node) Default, concrete graph (either generated or explicitly named) -- not triple-in-quadbooleanDefault, concrete graph via generated URI (not explicitly, named)static booleanisDefaultGraphExplicit(Node node) Default, explicitly named concrete graphbooleanDefault graph, explicitly named (not generated)static booleanisDefaultGraphGenerated(Node node) Test whether this is a quad for the default graph (not the default graphs by explicit name)booleanIs this quad a legal data quad (legal data triple, IRI for graph)booleanisTriple()Is it really a triple?booleanstatic booleanisUnionGraph(Node node) Default, concrete graph (either generated or explicitly named) -- not triple-in-quadbooleantoString()
-
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
AQuadthat 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
-