Package app.babylon.table.io
Class HeaderStrategyExplicitRow
java.lang.Object
app.babylon.table.io.HeaderStrategyExplicitRow
- All Implemented Interfaces:
HeaderStrategy
-
Field Summary
Fields inherited from interface app.babylon.table.io.HeaderStrategy
DEFAULT_SCAN_LIMIT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetectFoundHeaders(RowStreamMarkable rowStream, Set<ColumnName> selectedColumns) Detects the raw headers present in the source.intMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface app.babylon.table.io.HeaderStrategy
detect, getScanLimit
-
Constructor Details
-
HeaderStrategyExplicitRow
public HeaderStrategyExplicitRow(int headerRowIndex)
-
-
Method Details
-
getHeaderRowIndex
public int getHeaderRowIndex() -
detectFoundHeaders
public HeaderDetection detectFoundHeaders(RowStreamMarkable rowStream, Set<ColumnName> selectedColumns) throws IOException Description copied from interface:HeaderStrategyDetects the raw headers present in the source.- Specified by:
detectFoundHeadersin interfaceHeaderStrategy- Parameters:
rowStream- row stream to inspectselectedColumns- requested selected columns- Returns:
- detected raw header information
- Throws:
IOException- if stream inspection fails
-