com.franz.ag
Class DefaultGraph
java.lang.Object
com.franz.ag.ValueObject
com.franz.ag.ValueNode
com.franz.ag.ResourceNode
com.franz.ag.DefaultGraph
- All Implemented Interfaces:
- java.lang.Comparable, Resource, java.io.Serializable, Value
- public class DefaultGraph
- extends ResourceNode
Instances of this class represent the marker that identifies
the default graph, or the null context, of a triple store.
The label of any DefaultGraph is the string "default graph".
The toString() method returns a string that is different for different triple stores.
Instances are created by the system as needed to represent the triples
returned from the store. There are no public constructors and no methods
to create instances from an application. When the default graph is mentioned in
a method call, it should be mentioned with a null argument or the empty string,
as specified in the method description.
In general, it is not advisable for applications to manipulate
DefaultGraph instances in any way.
See the note in the description of
AllegroGraphConnection.federate(String, AllegroGraph[], boolean)
for additional issues about default graphs.
It is likely (but not guaranteed)
that two instances representing the default graph of the same store will be
identical. They will necessarily return true from equals().
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
toString()
This method provides a string representation of the instance as the string
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
toString
public java.lang.String toString()
- This method provides a string representation of the instance as the string
<DefaultGraph aaa bbbbbb>
where aaa
is the triple store index (shown in the string
form of the AllegroGraph instance), and bbbbbb
is a hexadecimal
string that identifies the instance uniquely.