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)
HapiRecord
getIsoTime
in interface HapiRecord
i
- the index of the columnto get the long milliseconds.
,
to decompose the time.
public java.lang.String getString(int i)
HapiRecord
getString
in interface HapiRecord
i
- the index of the columnpublic double getDouble(int i)
HapiRecord
getDouble
in interface HapiRecord
i
- the index of the columnpublic double[] getDoubleArray(int i)
HapiRecord
getDoubleArray
in interface HapiRecord
public int getInteger(int i)
HapiRecord
getInteger
in interface HapiRecord
public int length()
HapiRecord
length
in interface HapiRecord
public java.lang.String toString()
toString
in class java.lang.Object