Class LineDocSource.SimpleLineParser
- java.lang.Object
-
- org.apache.lucene.benchmark.byTask.feeds.LineDocSource.LineParser
-
- org.apache.lucene.benchmark.byTask.feeds.LineDocSource.SimpleLineParser
-
- Enclosing class:
- LineDocSource
public static class LineDocSource.SimpleLineParser extends LineDocSource.LineParser
LineDocSource.LineParser
which ignores the header passed to its constructor and assumes simply that field names and their order are the same as inWriteLineDocTask.DEFAULT_FIELDS
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.benchmark.byTask.feeds.LineDocSource.LineParser
header
-
-
Constructor Summary
Constructors Constructor Description SimpleLineParser(String[] header)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
parseLine(DocData docData, String line)
parse an input line and fill doc data appropriately
-
-
-
Constructor Detail
-
SimpleLineParser
public SimpleLineParser(String[] header)
-
-
Method Detail
-
parseLine
public void parseLine(DocData docData, String line)
Description copied from class:LineDocSource.LineParser
parse an input line and fill doc data appropriately- Specified by:
parseLine
in classLineDocSource.LineParser
-
-