public interface CsvData
| Modifier and Type | Method and Description |
|---|---|
String |
asString()
Returns the CSV as a
String. |
Optional<CsvHeaders> |
getHeaders()
Returns the
CsvHeaders for the data, if present. |
int |
getNumRows()
Returns the total number of rows in the CSV data.
|
Row |
getRow(int index)
Returns a
Row of data at a given index. |
Stream<Row> |
streamRows()
|
Optional<CsvHeaders> getHeaders()
CsvHeaders for the data, if present. If not present, this returns an empty Optional.CsvHeaders for the data if present; else an empty Optional.Row getRow(int index)
Row of data at a given index.index - the index of the row to retrieve. Cannot be negative or greater than/equal to the number of rows.Row of data at the specified indexint getNumRows()
Copyright © Veeva Systems 2017–2021. All rights reserved.