public class AGGraph extends GraphBase implements Graph, Closeable
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMITemptyGraph| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Capabilities |
getCapabilities() |
String |
getName() |
PrefixMapping |
getPrefixMapping() |
TransactionHandler |
getTransactionHandler() |
boolean |
isEmpty()
Answer true iff this graph contains no triples.
|
void |
performAdd(Triple t) |
void |
performDelete(Triple t) |
void |
remove(Node s,
Node p,
Node o) |
String |
toString() |
static String |
toString(String prefix,
Graph graph)
Returns a human-consumable representation of
graph. |
add, close, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getEventManager, getStatisticsHandler, isClosed, isIsomorphicWith, notifyAdd, notifyDelete, sizeequals, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, close, contains, contains, delete, dependsOn, find, find, getEventManager, getStatisticsHandler, isClosed, isIsomorphicWith, sizepublic static String toString(String prefix, Graph graph)
graph. The string
prefix will appear at the beginning of the string. Nodes
may be prefix-compressed using graph's prefix-mapping. This
default implementation will display all the triples exposed by the graph,
including reification triples.prefix - the prefix of the string returnedgraph - the Graph to render into a stringpublic String getName()
public Capabilities getCapabilities()
getCapabilities in interface GraphgetCapabilities in class GraphBasepublic PrefixMapping getPrefixMapping()
getPrefixMapping in interface GraphgetPrefixMapping in class GraphBasepublic TransactionHandler getTransactionHandler()
getTransactionHandler in interface GraphgetTransactionHandler in class GraphBasepublic void performAdd(Triple t)
performAdd in interface GraphWithPerformperformAdd in class GraphBasepublic void performDelete(Triple t)
performDelete in interface GraphWithPerformperformDelete in class GraphBasepublic boolean isEmpty()
Implemented using a SPARQL ASK for any triple in the graph's dataset; on large databases this is faster than determining whether the graph's size is zero.
public void clear()
Copyright © 2020 Franz Inc.. All rights reserved.