public class SimpleAtomManager extends AtomManager
db, enableAccessExceptions
Constructor and Description |
---|
SimpleAtomManager(Database db) |
Modifier and Type | Method and Description |
---|---|
GroundAtom |
getAtom(Predicate predicate,
Constant... arguments)
Returns the GroundAtom for the given Predicate and GroundTerms.
|
void |
reportAccessException(RuntimeException ex,
GroundAtom offendingAtom)
Decide whether or not to throw an access exception.
|
enableAccessExceptions, executeGroundingQuery, executeQuery, getCachedRVACount, getDatabase, isClosed
public SimpleAtomManager(Database db)
public GroundAtom getAtom(Predicate predicate, Constant... arguments)
AtomManager
ReadableDatabase.getAtom(Predicate, Constant...)
to actually retrieve the GroundAtom.getAtom
in class AtomManager
predicate
- the Predicate of the Atomarguments
- the GroundTerms of the Atompublic void reportAccessException(RuntimeException ex, GroundAtom offendingAtom)
AtomManager
reportAccessException
in class AtomManager
Copyright © 2020 University of California, Santa Cruz. All rights reserved.