In addition, this class provides the following methods for stored
collections only. Note that the use of these methods is not compatible with
the standard Java collections interface.
storedOrExternalIterator(Collection coll) Returns a StoredIterator if the given collection is a StoredCollection,
else returns a regular/external Iterator.
Returns whether duplicate keys are allowed in this container.
Duplicates are optionally allowed for HASH and BTREE databases.
This method does not exist in the standard
java.util.Map or
java.util.Collection interfaces.
Note that the JE product only supports BTREE databases.
Returns whether duplicate keys are allowed and sorted by element value.
Duplicates are optionally sorted for HASH and BTREE databases.
This method does not exist in the standard
java.util.Map or
java.util.Collection interfaces.
Note that the JE product only supports BTREE databases, and
duplicates are always sorted.
Returns whether keys are renumbered when insertions and deletions occur.
Keys are optionally renumbered for RECNO databases.
This method does not exist in the standard
java.util.Map or
java.util.Collection interfaces.
Note that the JE product does not support RECNO databases, and
therefore keys are never renumbered.
Returns the cursor configuration that is used for all operations
performed via this container.
For example, if CursorConfig.getReadUncommitted returns
true, data will be read that is modified but not committed.
This method does not exist in the standard
java.util.Map or
java.util.Collection interfaces.
the cursor configuration, or null if no configuration has beenspecified.
Returns whether read-uncommitted is allowed for this container.
For the JE product, read-uncommitted is always allowed; for the DB
product, read-uncommitted is allowed if it was configured for the
underlying database for this container.
Even when read-uncommitted is allowed it must specifically be enabled by
calling one of the
StoredCollections methods.
This method does not exist in the standard
java.util.Map or
java.util.Collection interfaces.
whether read-uncommitted is allowed.
Returns whether keys are ordered in this container.
Keys are ordered for BTREE, RECNO and QUEUE database.
This method does not exist in the standard
java.util.Map or
java.util.Collection interfaces.
Note that the JE product only support BTREE databases, and
therefore keys are always ordered.
Returns whether this container is a view on a secondary database rather
than directly on a primary database.
This method does not exist in the standard
java.util.Map or
java.util.Collection interfaces.
whether the view is for a secondary database.
Returns whether the databases underlying this container are
transactional.
Even in a transactional environment, a database will be transactional
only if it was opened within a transaction or if the auto-commit option
was specified when it was opened.
This method does not exist in the standard
java.util.Map or
java.util.Collection interfaces.
whether the database is transactional.
Returns true if this is a read-write container or false if this is a
read-only container.
This method does not exist in the standard
java.util.Map or
java.util.Collection interfaces.
whether write is allowed.
This operation is faster than obtaining a count by scanning the
collection manually, and will not perturb the current contents of the
cache. However, the count is not guaranteed to be accurate if there are
concurrent updates.
Returns a StoredIterator if the given collection is a StoredCollection,
else returns a regular/external Iterator. The iterator returned should
be closed with the static method StoredIterator.close(Iterator).