Package | Description |
---|---|
org.apache.mahout.common | |
org.apache.mahout.common.iterator.sequencefile |
Modifier and Type | Method and Description |
---|---|
static long |
HadoopUtil.countRecords(org.apache.hadoop.fs.Path path,
PathType pt,
org.apache.hadoop.fs.PathFilter filter,
org.apache.hadoop.conf.Configuration conf)
Count all the records in a directory using a
SequenceFileDirValueIterator |
static org.apache.hadoop.fs.FileStatus[] |
HadoopUtil.getFileStatus(org.apache.hadoop.fs.Path path,
PathType pathType,
org.apache.hadoop.fs.PathFilter filter,
Comparator<org.apache.hadoop.fs.FileStatus> ordering,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
static PathType |
PathType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathType[] |
PathType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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) |
SequenceFileDirIterator(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)
Constructor that uses either
FileSystem.listStatus(Path) or
FileSystem.globStatus(Path) to obtain list of files to iterate over
(depending on pathType parameter). |
SequenceFileDirValueIterable(org.apache.hadoop.fs.Path path,
PathType pathType,
org.apache.hadoop.conf.Configuration conf) |
SequenceFileDirValueIterable(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) |
SequenceFileDirValueIterable(org.apache.hadoop.fs.Path path,
PathType pathType,
org.apache.hadoop.fs.PathFilter filter,
org.apache.hadoop.conf.Configuration conf) |
SequenceFileDirValueIterator(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)
Constructor that uses either
FileSystem.listStatus(Path) or
FileSystem.globStatus(Path) to obtain list of files to iterate over
(depending on pathType parameter). |
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.