public class AGGraph extends GraphBase implements Graph, Closeable
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMIT
emptyGraph
Modifier and Type | Method and Description |
---|---|
BulkUpdateHandler |
getBulkUpdateHandler() |
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) |
String |
toString() |
static String |
toString(String prefix,
Graph graph)
Returns a human-consumable representation of
graph . |
add, clear, close, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getEventManager, getStatisticsHandler, isClosed, isIsomorphicWith, notifyAdd, notifyDelete, remove, size
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public String getName()
public BulkUpdateHandler getBulkUpdateHandler()
getBulkUpdateHandler
in interface Graph
getBulkUpdateHandler
in class GraphBase
public Capabilities getCapabilities()
getCapabilities
in interface Graph
getCapabilities
in class GraphBase
public PrefixMapping getPrefixMapping()
getPrefixMapping
in interface Graph
getPrefixMapping
in class GraphBase
public TransactionHandler getTransactionHandler()
getTransactionHandler
in interface Graph
getTransactionHandler
in class GraphBase
public 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 void performAdd(Triple t)
performAdd
in interface GraphWithPerform
performAdd
in class GraphBase
public void performDelete(Triple t)
performDelete
in interface GraphWithPerform
performDelete
in class GraphBase
public boolean isEmpty()
Copyright © 2017 Franz Inc.. All rights reserved.