|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eobjects.sassy.CountReaderCallback
public class CountReaderCallback
A SasReaderCallback for getting the count of rows in a dataset.
| Constructor Summary | |
|---|---|
CountReaderCallback()
Constructs a CountReaderCallback |
|
| Method Summary | |
|---|---|
void |
column(int columnIndex,
String columnName,
String columnLabel,
SasColumnType columnType,
int columnLength)
Callback method that accepts a column discovered by the SasReader
. |
int |
getCount()
Gets the count of rows in the read table |
boolean |
readData()
Should the reader read the data/rows (or only columns?) |
boolean |
row(int rowNumber,
Object[] rowData)
Callback method that accepts an array of row data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CountReaderCallback()
CountReaderCallback
| Method Detail |
|---|
public void column(int columnIndex,
String columnName,
String columnLabel,
SasColumnType columnType,
int columnLength)
SasReaderCallbackSasReader
.
column in interface SasReaderCallbackcolumnIndex - the index (0-based) of the columncolumnName - the physical name of the columncolumnLabel - the logical label of the column (often more user-friendly than
name)columnType - the type of the columncolumnLength - the length of the columnpublic boolean readData()
SasReaderCallback
readData in interface SasReaderCallback
public boolean row(int rowNumber,
Object[] rowData)
SasReaderCallback
row in interface SasReaderCallbackrowNumber - the row number (1 = first row)rowData - the row data
public int getCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||