public class CSVHapiRecord extends java.lang.Object implements HapiRecord
| Constructor and Description |
|---|
CSVHapiRecord(JSONObject info,
java.lang.String[] fields) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDouble(int i)
get the double data
|
double[] |
getDoubleArray(int i)
return the data as a 1-D array.
|
int |
getInteger(int i)
get the integer
|
java.lang.String |
getIsoTime(int i)
returns the time as ISO-8601 encoded string
|
java.lang.String |
getString(int i)
get the string value
|
int |
length()
return the number of items.
|
java.lang.String |
toString() |
public java.lang.String getIsoTime(int i)
HapiRecordgetIsoTime in interface HapiRecordi - the index of the columnto get the long milliseconds.,
to decompose the time.public java.lang.String getString(int i)
HapiRecordgetString in interface HapiRecordi - the index of the columnpublic double getDouble(int i)
HapiRecordgetDouble in interface HapiRecordi - the index of the columnpublic double[] getDoubleArray(int i)
HapiRecordgetDoubleArray in interface HapiRecordpublic int getInteger(int i)
HapiRecordgetInteger in interface HapiRecordpublic int length()
HapiRecordlength in interface HapiRecordpublic java.lang.String toString()
toString in class java.lang.Object