|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StaticRowTemplateTableInterface
Defines an interface for accessing row template tables. Row template tables are tables where the set of column classes defines a template for each row. In other words, the class of each cell is restricted to the class, or a subclass, of its corresponding column. A SAS data set is an example of such a table.
RowTemplateTableInterface
,
StaticColumnTemplateTableInterface
Method Summary | |
---|---|
java.lang.Class |
getColumnClass(int index)
Returns the class of a column. |
java.lang.Class[] |
getColumnClasses(int startIndex,
int count)
Returns the classes for a range of columns. |
Methods inherited from interface com.sas.table.StaticTableInterface |
---|
countColumns, countRows, getCell, getCellClass, getCellClasses, getCells, getColumn, getColumnCount, getRow, getRowCount |
Method Detail |
---|
java.lang.Class getColumnClass(int index) throws com.sas.table.TableException
index
- A one-based index that identifies the column.
TableException
- Provides a catch-all for all non-RuntimeExceptions.
java.lang.IndexOutOfBoundsException
- Thrown if index is negative, zero, or greater than the number of
columns.java.lang.Class[] getColumnClasses(int startIndex, int count) throws com.sas.table.TableException
startIndex
- A one-based index which identifies the start of the range.count
- The number of classes to return; defines the extent of the range.
TableException
- Provides a catch-all for all non-RuntimeExceptions.
java.lang.IndexOutOfBoundsException
- Thrown if startIndex or count is negative, zero, or greater than the
number of columns except when getColumnCount has returned -1. In
that case, the implementation should return an array whose length
is less than count and the caller should be prepared for this.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |