Package org.apache.jena.dboe.storage
Interface StoragePrefixes
- All Known Implementing Classes:
StoragePrefixesEmpty,StoragePrefixesSimpleMem
public interface StoragePrefixes
Like PrefixMapping, only for a dataset which can have different prefix maps for different graphs.
There is a distinguished name Prefixes.nodeDataset that means the prefixes
apply to the dataset as a whole, not a specific graph.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a prefix, overwrites any existing associationvoidDelete a prefix mappingvoidDelete prefix mappings for a specific graph name.booleanisEmpty()Return whether there are any prefix mappings or not (any graph).default Iterator<org.apache.jena.atlas.lib.Pair<Node,PrefixEntry>> All the mappings.intsize()Return the number of mappings.
-
Method Details
-
get
-
get
-
listGraphNodes
-
add
Add a prefix, overwrites any existing association -
delete
Delete a prefix mapping -
deleteAll
Delete prefix mappings for a specific graph name. -
listMappings
All the mappings. This includes the "dataset" mapping with NodePrefixes.nodeDataset. -
isEmpty
boolean isEmpty()Return whether there are any prefix mappings or not (any graph). -
size
int size()Return the number of mappings.
-