public interface WritableDatabase
GroundAtoms
.
To retrieve GroundAtoms
use a ReadableDatabase.Modifier and Type | Method and Description |
---|---|
void |
close()
Releases the
Partitions used by this Database. |
void |
commit(Collection<RandomVariableAtom> atoms)
A batch form or commit().
|
void |
commit(Collection<RandomVariableAtom> atoms,
int partitionId)
A form of commit() that allows the caller to choose the specific partition
the atoms are comitted to.
|
void |
commit(RandomVariableAtom atom)
Persists a RandomVariableAtom in this Database's write Partition.
|
boolean |
deleteAtom(GroundAtom a)
Removes the GroundAtom from the Database, if it exists.
|
void |
moveToWritePartition(StandardPredicate predicate,
int oldPartitionId)
Move all ground atoms of a predicate/partition combination into
the write partition.
|
boolean deleteAtom(GroundAtom a)
void commit(RandomVariableAtom atom)
void commit(Collection<RandomVariableAtom> atoms)
void commit(Collection<RandomVariableAtom> atoms, int partitionId)
void moveToWritePartition(StandardPredicate predicate, int oldPartitionId)
void close()
Partitions
used by this Database.Copyright © 2018 University of California, Santa Cruz. All rights reserved.