|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.sparql.core.Quad
public class Quad
Field Summary | |
---|---|
static Node |
defaultGraphIRI
Name of the default for explict use in GRAPH |
static Node |
defaultGraphNodeGenerated
Name of the default graph as used by parsers and in quad form of algebra. |
static Node |
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. |
static Node |
unionGraph
Name of the merge of all named graphs (use this for the graph of all named graphs) |
Constructor Summary | |
---|---|
Quad(Node g,
Node s,
Node p,
Node o)
|
|
Quad(Node graph,
Triple triple)
|
Method Summary | |
---|---|
Triple |
asTriple()
Get as a triple - useful because quads often come in blocks for the same graph |
static Quad |
create(Node g,
Node s,
Node p,
Node o)
|
static Quad |
create(Node g,
Triple t)
|
boolean |
equals(Object other)
|
Node |
getGraph()
|
Node |
getObject()
|
Node |
getPredicate()
|
Node |
getSubject()
|
int |
hashCode()
|
boolean |
isConcrete()
|
boolean |
isDefaultGraph()
Default, concrete graph (either generated or explicitly named) |
static boolean |
isDefaultGraph(Node node)
Default, concrete graph (either generated or explicitly named) -- not triple-in-quad |
boolean |
isDefaultGraphExplicit()
Default, concrete graph via generated URI (not explciitly named) |
static boolean |
isDefaultGraphExplicit(Node node)
Default, concrete graph (either generated or explicitly named) -- not triple-in-quad |
boolean |
isDefaultGraphGenerated()
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 |
isLegalAsData()
Is this quad a legal data quad (legal data triple, IRI for graph) |
static boolean |
isQuadDefaultGraphGenerated(Node node)
Deprecated. use Quad.isDefaultGraphGenerated |
static boolean |
isQuadUnionGraph(Node node)
Deprecated. use Quad.isUnionGraph |
boolean |
isTriple()
Is it really a triple? |
boolean |
isUnionGraph()
node used for the RDF merge of named graphs |
static boolean |
isUnionGraph(Node node)
Default, concrete graph (either generated or explicitly named) -- not triple-in-quad |
boolean |
matches(Node g,
Node s,
Node p,
Node o)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Node defaultGraphNodeGenerated
public static final Node defaultGraphIRI
public static final Node unionGraph
public static final Node tripleInQuad
Constructor Detail |
---|
public Quad(Node graph, Triple triple)
public Quad(Node g, Node s, Node p, Node o)
Method Detail |
---|
public static Quad create(Node g, Node s, Node p, Node o)
public static Quad create(Node g, Triple t)
public final Node getGraph()
public final Node getSubject()
public final Node getPredicate()
public final Node getObject()
public Triple asTriple()
public boolean isConcrete()
@Deprecated public static boolean isQuadDefaultGraphGenerated(Node node)
public static boolean isDefaultGraphGenerated(Node node)
public static boolean isDefaultGraphExplicit(Node node)
public static boolean isDefaultGraph(Node node)
@Deprecated public static boolean isQuadUnionGraph(Node node)
public static boolean isUnionGraph(Node node)
public boolean isDefaultGraphExplicit()
public boolean isDefaultGraphGenerated()
public boolean isDefaultGraph()
public boolean isUnionGraph()
public boolean isTriple()
public boolean isLegalAsData()
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
public boolean matches(Node g, Node s, Node p, Node o)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |