The classes clients use to interact with Projog are contained in org.projog.api. The design of these classes can be improved.
Suggestions:
Move methods to set variables from QueryResult to QueryStatement (this makes the interface more consistent with how other Java APIs - e.g. JDBC - work).
Add QueryPlan class to take advantage of preprocessing optimisations added by #184
Add methods to make the API easier to use. e.g. allow clients to use Strings when getting/setting atoms, rather than requiring org.projog.core.term.Atom.
The classes clients use to interact with Projog are contained in
org.projog.api
. The design of these classes can be improved.Suggestions:
QueryResult
toQueryStatement
(this makes the interface more consistent with how other Java APIs - e.g. JDBC - work).QueryPlan
class to take advantage of preprocessing optimisations added by #184org.projog.core.term.Atom
.