Module org.apache.jena.dboe.storage
Class StoragePrefixesEmpty
java.lang.Object
org.apache.jena.dboe.storage.prefixes.StoragePrefixesEmpty
- All Implemented Interfaces:
StoragePrefixes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a prefix, overwrites any existing associationvoidDelete a prefix mappingvoiddeleteAll(org.apache.jena.graph.Node graphNode) Delete prefix mappings for a specific graph name.Iterator<org.apache.jena.riot.system.PrefixEntry>get(org.apache.jena.graph.Node graphNode) booleanisEmpty()Return whether there are any prefix mappings or not (any graph).Iterator<org.apache.jena.graph.Node>Iterator<org.apache.jena.atlas.lib.Pair<org.apache.jena.graph.Node,org.apache.jena.riot.system.PrefixEntry>> All the mappings.intsize()Return the number of mappings.
-
Constructor Details
-
StoragePrefixesEmpty
public StoragePrefixesEmpty()
-
-
Method Details
-
get
- Specified by:
getin interfaceStoragePrefixes
-
get
- Specified by:
getin interfaceStoragePrefixes
-
listGraphNodes
- Specified by:
listGraphNodesin interfaceStoragePrefixes
-
add
Description copied from interface:StoragePrefixesAdd a prefix, overwrites any existing association- Specified by:
addin interfaceStoragePrefixes
-
delete
Description copied from interface:StoragePrefixesDelete a prefix mapping- Specified by:
deletein interfaceStoragePrefixes
-
deleteAll
public void deleteAll(org.apache.jena.graph.Node graphNode) Description copied from interface:StoragePrefixesDelete prefix mappings for a specific graph name.- Specified by:
deleteAllin interfaceStoragePrefixes
-
listMappings
public Iterator<org.apache.jena.atlas.lib.Pair<org.apache.jena.graph.Node,org.apache.jena.riot.system.PrefixEntry>> listMappings()Description copied from interface:StoragePrefixesAll the mappings. This includes the "dataset" mapping with NodePrefixes.nodeDataset.- Specified by:
listMappingsin interfaceStoragePrefixes
-
isEmpty
public boolean isEmpty()Description copied from interface:StoragePrefixesReturn whether there are any prefix mappings or not (any graph).- Specified by:
isEmptyin interfaceStoragePrefixes
-
size
public int size()Description copied from interface:StoragePrefixesReturn the number of mappings.- Specified by:
sizein interfaceStoragePrefixes
-