OMS (v3.0.25)

oms3.io
Interface CSTable

All Known Implementing Classes:
MemoryTable

public interface CSTable

Comma separated table.

Author:
Olaf David

Method Summary
 int getColumnCount()
          get the number of columns in the table
 java.util.Map<java.lang.String,java.lang.String> getColumnInfo(int column)
          Get the info for a column.
 java.lang.String getColumnName(int column)
          Get the column name.
 java.util.Map<java.lang.String,java.lang.String> getInfo()
          Get the annotations for the table
 java.lang.String getName()
          Get the name of the table
 java.lang.Iterable<java.lang.String[]> rows()
          get the row iterator.
 java.lang.Iterable<java.lang.String[]> rows(int skipRow)
          get the row iterator and skip the first rows.
 

Method Detail

getName

java.lang.String getName()
Get the name of the table

Returns:
the name

getInfo

java.util.Map<java.lang.String,java.lang.String> getInfo()
Get the annotations for the table

Returns:
the annotations for the propertyset.

getColumnInfo

java.util.Map<java.lang.String,java.lang.String> getColumnInfo(int column)
Get the info for a column.

Parameters:
column -
Returns:
a map with KVP for column meta data.

getColumnName

java.lang.String getColumnName(int column)
Get the column name.

Parameters:
column -
Returns:
the column name.

getColumnCount

int getColumnCount()
get the number of columns in the table

Returns:
the number of columns.

rows

java.lang.Iterable<java.lang.String[]> rows()
get the row iterator.

Returns:
row iterator

rows

java.lang.Iterable<java.lang.String[]> rows(int skipRow)
get the row iterator and skip the first rows.

Parameters:
skipRow - the # rows to skip
Returns:
row iterator

OMS (v3.0.25)

Generated 2010-08-11 08:44:20 MDT, USDA-ARS-ASRU/CSU, 2150 Center Ave, Fort Collins, CO 80526, U.S.A.