Interface ParserProcessor
public interface ParserProcessor
Processor for custom parser.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptiongetRowIterator
(RowIteratorContext context) Returns the row iterator of the custom parser.getTableDefinition
(TableDefinitionContext context) Returns the table definitions for the custom parser.
-
Method Details
-
getTableDefinition
Returns the table definitions for the custom parser.- Parameters:
context
- Table definition context of the custom parser- Returns:
- List of table definitions
- Throws:
IOException
- if an I/O error occurs reading from the file
-
getRowIterator
Returns the row iterator of the custom parser.- Parameters:
context
- Row iterator context of the custom parser- Returns:
- Closable iterator of the each parsed line
- Throws:
IOException
- if an I/O error occurs reading from the file
-