org.apache.lucene.benchmark.byTask.feeds

## Class LineDocSource.HeaderLineParser

- java.lang.Object
- - org.apache.lucene.benchmark.byTask.feeds.LineDocSource.LineParser
  - - org.apache.lucene.benchmark.byTask.feeds.LineDocSource.HeaderLineParser

- Enclosing class:
    LineDocSource

      public static class LineDocSource.HeaderLineParser
      extends LineDocSource.LineParser

  `LineDocSource.LineParser` which sets field names and order by the header - any header - of the lines file. It is less efficient than `LineDocSource.SimpleLineParser` but more powerful.

- - ### Field Summary

    - ### Fields inherited from class org.apache.lucene.benchmark.byTask.feeds.LineDocSource.LineParser

      `header`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LineDocSource.HeaderLineParser(String[] header)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `parseLine(DocData docData, String line)` parse an input line and fill doc data appropriately

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LineDocSource.HeaderLineParser

          public LineDocSource.HeaderLineParser(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 class `LineDocSource.LineParser`

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.