public interface IterablePersistenceManager extends PersistenceManager
Modifier and Type | Method and Description |
---|---|
List<NodeId> |
getAllNodeIds(NodeId after,
int maxCount)
Get all node ids.
|
Map<NodeId,NodeInfo> |
getAllNodeInfos(NodeId after,
int maxCount)
Get all
NodeInfo s. |
checkConsistency, close, createNew, createNew, exists, exists, existsReferencesTo, init, load, load, loadReferencesTo, store
List<NodeId> getAllNodeIds(NodeId after, int maxCount) throws ItemStateException, RepositoryException
after
- the lower limit, or null for no limit.maxCount
- the maximum number of node ids to return, or 0 for no limit.ItemStateException
- if an error while loading occurs.RepositoryException
- if a repository exception occurs.Map<NodeId,NodeInfo> getAllNodeInfos(NodeId after, int maxCount) throws ItemStateException, RepositoryException
NodeInfo
s.
A typical application will call this method multiple time, where 'after'
is the last row read previously. The maxCount parameter defines the maximum number of
node ids returned, 0 meaning no limit. The order of the node ids is specific for the
given persistence manager. Items that are added concurrently may not be included.after
- the lower limit, or null for no limit.maxCount
- the maximum number of node infos to return, or 0 for no limit.ItemStateException
- if an error while loading occurs.RepositoryException
- if a repository exception occurs.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.