public class StoragePrefixesMem extends Object implements StoragePrefixes
nodeDataset, nodeDefaultGraph| Constructor and Description |
|---|
StoragePrefixesMem() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Node graphNode,
String prefix,
String iriStr)
Add a prefix, overwrites any existing association
|
void |
delete(Node graphNode,
String prefix)
Delete a prefix mapping
|
void |
deleteAll(Node graphNode)
Delete prefix mappings for a specific graph name.
|
Iterator<PrefixEntry> |
get(Node graphNode) |
String |
get(Node graphNode,
String prefix) |
boolean |
isEmpty()
Return whether there are any prefix mappings or not (any graph).
|
Iterator<Node> |
listGraphNodes() |
int |
size()
Return the number of mappings.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlistMappingspublic String get(Node graphNode, String prefix)
get in interface StoragePrefixespublic Iterator<PrefixEntry> get(Node graphNode)
get in interface StoragePrefixespublic Iterator<Node> listGraphNodes()
listGraphNodes in interface StoragePrefixespublic void add(Node graphNode, String prefix, String iriStr)
add in interface StoragePrefixespublic void delete(Node graphNode, String prefix)
delete in interface StoragePrefixespublic void deleteAll(Node graphNode)
StoragePrefixesdeleteAll in interface StoragePrefixespublic boolean isEmpty()
StoragePrefixesisEmpty in interface StoragePrefixespublic int size()
StoragePrefixessize in interface StoragePrefixesLicensed under the Apache License, Version 2.0