Package app.babylon.table.io
Class RowCursorCsv
java.lang.Object
app.babylon.table.io.RowCursorCsv
- All Implemented Interfaces:
RowCursor,AutoCloseable
Supplies rows from an open CSV input stream.
Instances are created by a configured RowSourceCsv and own the CSV
reader resources for the lifetime of iteration.
-
Method Details
-
builder
-
getHeaderStrategy
-
getSeparator
public char getSeparator() -
isStripping
public boolean isStripping() -
getQuote
public char getQuote() -
getFixedWidths
public int[] getFixedWidths() -
getCharset
-
isAutoDetectEncoding
public boolean isAutoDetectEncoding() -
columns
Description copied from interface:RowCursorReturns the source-side column definitions exposed by this cursor.A non-null
typehere is not just metadata. It can be used by downstream row consumers to choose a more direct builder from the start, bypassing intermediateStringmaterialization when the source type already has an efficient slice-based parser.That is most useful for primitive numerics and for special object types whose direct parser is genuinely better than first building a string dictionary.
-
next
public boolean next() -
current
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceRowCursor- Throws:
IOException
-