Class StoragePrefixesSimpleMem
java.lang.Object
org.apache.jena.dboe.storage.simple.StoragePrefixesSimpleMem
- All Implemented Interfaces:
StoragePrefixes
In-memory dataset prefixes
-
Constructor Summary
Constructors -
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).intsize()Return the number of mappings.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.dboe.storage.StoragePrefixes
listMappings
-
Constructor Details
-
StoragePrefixesSimpleMem
public StoragePrefixesSimpleMem()
-
-
Method Details
-
get
- Specified by:
getin interfaceStoragePrefixes
-
get
- Specified by:
getin interfaceStoragePrefixes
-
listGraphNodes
- Specified by:
listGraphNodesin interfaceStoragePrefixes
-
add
Add a prefix, overwrites any existing association- Specified by:
addin interfaceStoragePrefixes
-
delete
Delete a prefix mapping- Specified by:
deletein interfaceStoragePrefixes
-
deleteAll
Description copied from interface:StoragePrefixesDelete prefix mappings for a specific graph name.- Specified by:
deleteAllin 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
-