Constructor and Description |
---|
SequenceFileDirIterable(org.apache.hadoop.fs.Path path,
PathType pathType,
org.apache.hadoop.conf.Configuration conf) |
SequenceFileDirIterable(org.apache.hadoop.fs.Path path,
PathType pathType,
org.apache.hadoop.fs.PathFilter filter,
Comparator<org.apache.hadoop.fs.FileStatus> ordering,
boolean reuseKeyValueInstances,
org.apache.hadoop.conf.Configuration conf) |
SequenceFileDirIterable(org.apache.hadoop.fs.Path path,
PathType pathType,
org.apache.hadoop.fs.PathFilter filter,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
Iterator<Pair<K,V>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SequenceFileDirIterable(org.apache.hadoop.fs.Path path, PathType pathType, org.apache.hadoop.conf.Configuration conf)
public SequenceFileDirIterable(org.apache.hadoop.fs.Path path, PathType pathType, org.apache.hadoop.fs.PathFilter filter, org.apache.hadoop.conf.Configuration conf)
public SequenceFileDirIterable(org.apache.hadoop.fs.Path path, PathType pathType, org.apache.hadoop.fs.PathFilter filter, Comparator<org.apache.hadoop.fs.FileStatus> ordering, boolean reuseKeyValueInstances, org.apache.hadoop.conf.Configuration conf)
path
- file to iterate overpathType
- whether or not to treat path as a directory (PathType.LIST
) or
glob pattern (PathType.GLOB
)filter
- if not null, specifies sequence files to be ignored by the iterationordering
- if not null, specifies the order in which to iterate over matching sequence filesreuseKeyValueInstances
- if true, reuses instances of the value object instead of creating a new
one for each read from the fileCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.