public class SegmentReader extends Configured implements Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
SegmentReader.InputCompatMapper |
static class |
SegmentReader.InputCompatReducer |
static class |
SegmentReader.SegmentReaderStats |
static class |
SegmentReader.TextOutputFormat
Implements a text output format
|
| Constructor and Description |
|---|
SegmentReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(Path segment,
Path output) |
void |
get(Path segment,
Text key,
Writer writer,
Map<String,List<Writable>> results) |
static Charset |
getCharset(Metadata parseMeta)
Try to get HTML encoding from parse metadata
|
void |
getStats(Path segment,
SegmentReader.SegmentReaderStats stats) |
void |
list(List<Path> dirs,
Writer writer) |
static void |
main(String[] args) |
int |
run(String[] args) |
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic void dump(Path segment, Path output) throws IOException, InterruptedException, ClassNotFoundException
public void get(Path segment, Text key, Writer writer, Map<String,List<Writable>> results) throws Exception
Exceptionpublic static Charset getCharset(Metadata parseMeta)
public void getStats(Path segment, SegmentReader.SegmentReaderStats stats) throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation