org.jboss.dashboard.dataset.csv
Class CSVDataSet
java.lang.Object
org.jboss.dashboard.dataset.AbstractDataSet
org.jboss.dashboard.dataset.csv.CSVDataSet
- All Implemented Interfaces:
- DataSet
public class CSVDataSet
- extends AbstractDataSet
A data set implementation that holds as a matrix in-memory all the rows returned by a given SQL query executed
against a local or remote database.
| Methods inherited from class org.jboss.dashboard.dataset.AbstractDataSet |
_filterInMemory, _transformValue, addProperty, addRowValue, addRowValues, calculateScalar, clear, fillArrayWithRow, fillMapWithRow, filter, formatXMLProperties, getDataProvider, getDataSetIndex, getProperties, getPropertyByColumn, getPropertyById, getPropertyColumn, getPropertyValues, getPropertyValues, getRowAsMap, getRowAt, getRowCount, getValueAt, getValuesAt, groupBy, groupBy, groupByLabel, parseXMLProperties, preProcessFilter, printIndent, setDataProvider, setPropertySize, sizeOf, sort |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
csvReader
protected au.com.bytecode.opencsv.CSVReader csvReader
csvLoader
protected CSVDataLoader csvLoader
_dateFormat
protected transient DateFormat _dateFormat
_numberFormat
protected transient DecimalFormat _numberFormat
log
protected static transient org.slf4j.Logger log
- Logger
CSVDataSet
public CSVDataSet(DataProvider provider,
CSVDataLoader loader)
createCSVProperty
public CSVDataProperty createCSVProperty()
load
public void load()
throws Exception
- Throws:
Exception
processLine
protected Object[] processLine(String[] line)
throws Exception
- Throws:
Exception
calculateDomain
public Domain calculateDomain(String value)
parseValue
public Object parseValue(CSVDataProperty prop,
String value)
throws Exception
- Throws:
Exception
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.