Interface IterablePersistenceManager

    • Method Detail

      • getAllNodeIds

        List<NodeId> getAllNodeIds​(NodeId after,
                                   int maxCount)
                            throws ItemStateException,
                                   RepositoryException
        Get all node ids. A typical application will call this method multiple times, 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 persistent manager. Items that are added concurrently may not be included.
        Parameters:
        after - the lower limit, or null for no limit.
        maxCount - the maximum number of node ids to return, or 0 for no limit.
        Returns:
        a list of all node ids.
        Throws:
        ItemStateException - if an error while loading occurs.
        RepositoryException - if a repository exception occurs.
      • getAllNodeInfos

        Map<NodeId,​NodeInfo> getAllNodeInfos​(NodeId after,
                                                   int maxCount)
                                            throws ItemStateException,
                                                   RepositoryException
        Get all NodeInfos. 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.
        Parameters:
        after - the lower limit, or null for no limit.
        maxCount - the maximum number of node infos to return, or 0 for no limit.
        Returns:
        a list of all node infos.
        Throws:
        ItemStateException - if an error while loading occurs.
        RepositoryException - if a repository exception occurs.