| AlgorithmiaDirectoryIterator-class {algorithmia} | R Documentation |
DirectoryIterator object to iterate over child files or directories of a parent directory. To create one, call: 'dataDirectory$dirs()' or 'dataDirectory$files()'
Description
DirectoryIterator object to iterate over child files or directories of a parent directory. To create one, call: 'dataDirectory$dirs()' or 'dataDirectory$files()'
Fields
dataDirectoryParent directory whose children we are iterating over.
typeFilterEither DATA_OBJECT_TYPE_FILE or DATA_OBJECT_TYPE_DIRECTORY.
markerPage marker while iterating over a directory with lots of entries.
firstWhether we have asked the server for anything for the first time.
indexThe current position of the directoryEntries list.
directoryEntriesThe list of children entries we are iterating over.
Methods
getNext()Returns the next element or stops if you have asked for a next element that does not exist.
hasNext()Returns TRUE if there are any more elements. FALSE otherwise.
[Package algorithmia version 0.3.0 Index]