Inherits com.dbSpaces.jdb.Base.
Public Member Functions | |
NavigationTable | createTable () throws DatabaseException |
int | getBatchUpdateSize () |
int | getIncrementalFetchSize () |
int | getInitialFetchSize () |
int | getMaxFetchSize () |
boolean | isCachingEnabled () |
boolean | isRowBindingEnabled () |
boolean | isUpdatableCachingEnabled () |
dtRtnStatus | setFetchSizeIncremental (int size) |
dtRtnStatus | setFetchSizeInitial (int size) |
The Navigation object allows the database client API to access tables using NO-SQL methods.
The Navigation API's are a set of API's that allow access to tables in a database in a navagational method without using any SQL.
You can position (using the Find method) to a particular row in a table to read it and if required update it or delete it. Additionally you can move through the rows in a table using methods such as next() and previous().
The Navigation object is obtained from the Connection object.
A DatabaseException will be thrown if a database error occurs and exceptions are enabled. If exceptions are not enabled the following error methods can be used to get information about the error;
NavigationTable com.dbSpaces.jdb.Navigation.createTable | ( | ) | throws DatabaseException |
Create a new NavigationTable object.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
int com.dbSpaces.jdb.Navigation.getBatchUpdateSize | ( | ) |
Get the batch update cache size.
int com.dbSpaces.jdb.Navigation.getIncrementalFetchSize | ( | ) |
Get the incremental fetch size for retrieving rows from the database.
int com.dbSpaces.jdb.Navigation.getInitialFetchSize | ( | ) |
Get the initial fetch size for retrieving rows from the database.
int com.dbSpaces.jdb.Navigation.getMaxFetchSize | ( | ) |
Get the maximum fetch size for retrieving rows from the database.
boolean com.dbSpaces.jdb.Navigation.isCachingEnabled | ( | ) |
Check if table caching is enabled. If enabled then all read requests retrieve more then 1 row at a time so that next read request will attempt to retrieve the row locally first.
true
if is enabled; false
if otherwise. boolean com.dbSpaces.jdb.Navigation.isRowBindingEnabled | ( | ) |
Is row binding enabled.
true
if is enabled; false
if otherwise. boolean com.dbSpaces.jdb.Navigation.isUpdatableCachingEnabled | ( | ) |
Check if updatable table caching is enabled. If enabled then all update requests are cached locally until a read or a close request is made on the cached table.
true
if is enabled; false
if otherwise. dtRtnStatus com.dbSpaces.jdb.Navigation.setFetchSizeIncremental | ( | int | size | ) |
Set the row cache incremental fetch size for the navigation connection.
size | The incremental fetch size. |
dtRtnStatus com.dbSpaces.jdb.Navigation.setFetchSizeInitial | ( | int | size | ) |
Set the row cache initial fetch size for the navigation connection.
size | The initial fetch size. |