Class ContainerHandler
java.lang.Object
cz.cvut.kbss.ontodriver.jena.container.ContainerHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidpersistContainer(ContainerValueDescriptor<T> descriptor) Creates a new container and fills it with the specified values.readContainer(ContainerDescriptor descriptor) <T> voidupdateContainer(ContainerValueDescriptor<T> descriptor) Updates the content of an existing container corresponding to the specified descriptor.
-
Constructor Details
-
ContainerHandler
-
-
Method Details
-
readContainer
- Throws:
JenaDriverException
-
persistContainer
Creates a new container and fills it with the specified values.- Type Parameters:
T- Type of container values- Parameters:
descriptor- Container value descriptor
-
updateContainer
Updates the content of an existing container corresponding to the specified descriptor.If the descriptor has no value, the container is removed completely.
- Type Parameters:
T- Value type- Parameters:
descriptor- Descriptor with new container values- Throws:
JenaDriverException- If an error accessing the container occurs
-