|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQDataFactory
An object implementing this interface is available to aquascript via aqua.data alias.
Method Summary | |
---|---|
AQExcelSpreadsheet |
excelSpreadsheet(String filename)
This factory method returns a new in-memory Excel spreadsheet. |
AQDataSet |
newDataSet()
Factory method returns a new empty data set. |
AQDataSet |
newDataSet(AQColumnStructure columnStructure)
Creates a new data set with the specified column structure information. |
AQDataSet |
newDataSet(int rowCount,
int columnCount)
Creates a new data set with the specified dimensions. |
AQDataSet |
newDataSet(int rowCount,
int columnCount,
Object[] data)
Creates a new data set with the specified dimensions. |
AQDataSet |
newDataSet(String[] columnNames)
Factory method returns a new empty data set with the specified column names. |
AQDataSetSettings |
newDataSetSettings()
Factory method returns a new empty setting instance for formatting an AQDataSet or an AQPivotDataSet in a 2-dimension grid. |
AQExcelSpreadsheet |
newExcelSpreadsheet(String filename)
This factory method returns a new in-memory Excel spreadsheet. |
AQPivotDataSet |
newPivotDataSet()
Factory method returns a new empty pivot data set. |
Method Detail |
---|
AQDataSet newDataSet()
AQDataSet newDataSet(String[] columnNames)
columnNames
- Array of column names.AQDataSet newDataSet(int rowCount, int columnCount)
rowCount
- Number of rows in the data set.columnCount
- Number of columns in the data set.AQDataSet newDataSet(int rowCount, int columnCount, Object[] data)
rowCount
- Number of rows in the data set.columnCount
- Number of columns in the data set.data
- An array of values to populate the data set.AQDataSet newDataSet(AQColumnStructure columnStructure)
columnStructure
- the column structureAQPivotDataSet newPivotDataSet()
AQDataSetSettings newDataSetSettings()
AQDataSet
or an AQPivotDataSet
in a 2-dimension grid.
AQExcelSpreadsheet excelSpreadsheet(String filename)
AQExcelSpreadsheet newExcelSpreadsheet(String filename)
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |