public class WriteEnwikiLineDocTask extends WriteLineDocTask
WriteLineDocTask
which for Wikipedia input, will write category pages
to another file, while remaining pages will be written to the original file.
The categories file is derived from the original file, by adding a prefix "categories-".DEFAULT_FIELDS, DEFAULT_SUFFICIENT_FIELDS, FIELDS_HEADER_INDICATOR, fname, SEP
Constructor and Description |
---|
WriteEnwikiLineDocTask(PerfRunData runData) |
Modifier and Type | Method and Description |
---|---|
static java.nio.file.Path |
categoriesLineFile(java.nio.file.Path f)
Compose categories line file out of original line file
|
void |
close() |
protected java.io.PrintWriter |
lineFileOut(Document doc)
Selects output line file by written doc.
|
doLogic, getLogMessage, setParams, supportsParams, writeHeader
clone, getAlgLineNum, getBackgroundDeltaPriority, getDepth, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setAlgLineNum, setDepth, setDisableCounting, setName, setRunInBackground, setup, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, tearDown, toString
public WriteEnwikiLineDocTask(PerfRunData runData) throws java.lang.Exception
java.lang.Exception
public static java.nio.file.Path categoriesLineFile(java.nio.file.Path f)
public void close() throws java.lang.Exception
close
in class WriteLineDocTask
java.lang.Exception
protected java.io.PrintWriter lineFileOut(Document doc)
WriteLineDocTask
lineFileOut
in class WriteLineDocTask
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.