public class CsvLine extends Object implements FlatRecord
| Modifier and Type | Method and Description |
|---|---|
Integer |
getColumnIndex(String column) |
List<String> |
getColumnNames() |
List<String> |
getFieldNames() |
FlatDataStream |
getFlatDataStream() |
String[] |
getLine() |
<T> T |
getValue(int idx,
Class<T> type) |
<T> T |
getValue(String column,
Class<T> type) |
<T> T |
getValue(String column,
Class<T> type,
T defaultValue) |
boolean |
isMissing(int idx) |
boolean |
isMissing(String column) |
String |
toString() |
String[] |
toStringArray() |
public String[] getLine()
public String[] toStringArray()
toStringArray in interface FlatRecordpublic FlatDataStream getFlatDataStream()
getFlatDataStream in interface FlatRecordpublic List<String> getFieldNames()
getFieldNames in interface FlatRecordpublic <T> T getValue(int idx,
Class<T> type)
getValue in interface FlatRecordpublic <T> T getValue(String column, Class<T> type)
getValue in interface FlatRecordpublic boolean isMissing(int idx)
isMissing in interface FlatRecordpublic boolean isMissing(String column)
isMissing in interface FlatRecordpublic <T> T getValue(String column, Class<T> type, T defaultValue)
getValue in interface FlatRecordCopyright © 2020 Open Foris. All rights reserved.