You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2009/10/29 13:20:59 UTC

[jira] Created: (LUCY-64) DirHandle

DirHandle
---------

                 Key: LUCY-64
                 URL: https://issues.apache.org/jira/browse/LUCY-64
             Project: Lucy
          Issue Type: Sub-task
          Components: Core
            Reporter: Marvin Humphrey
            Assignee: Marvin Humphrey
            Priority: Blocker


Iterate over the entries in a directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (LUCY-64) DirHandle

Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey resolved LUCY-64.
---------------------------------

    Resolution: Fixed

Committed as r882426.

> DirHandle
> ---------
>
>                 Key: LUCY-64
>                 URL: https://issues.apache.org/jira/browse/LUCY-64
>             Project: Lucy
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>            Priority: Blocker
>         Attachments: DirHandle.bp, DirHandle.c
>
>
> Iterate over the entries in a directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (LUCY-64) DirHandle

Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey updated LUCY-64:
--------------------------------

    Attachment: DirHandle.c
                DirHandle.bp

There are many cases where it is necessary to iterate over the entries within
the index directory or a segment subdirectory.  Building up an entire array of
string entry names is wasteful if you're just going to iterate over the
array later.  Since common operating systems provide a directory iterator
interface, we can wrap that, continuously updating a single entry rather than
cloning it with each iteration.

DirHandle is the abstract base class for such directory iterators.

> DirHandle
> ---------
>
>                 Key: LUCY-64
>                 URL: https://issues.apache.org/jira/browse/LUCY-64
>             Project: Lucy
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>            Priority: Blocker
>         Attachments: DirHandle.bp, DirHandle.c
>
>
> Iterate over the entries in a directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.