|
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.jfree.data.general.AbstractDataset
org.jfree.data.category.DefaultCategoryDataset
org.jfree.data.jdbc.JDBCCategoryDataset
org.opengion.hayabusa.io.HybsJDBCCategoryDataset
public class HybsJDBCCategoryDataset
HybsJDBCCategoryDataset は、org.jfree.data.jdbc.JDBCCategoryDataset を継承したサブクラスで、 executeQuery(Connection , String ) をオーバーライドしています。 これは、元のソースが、series と category の扱いが異なる為で、QUERY には、 select series,values from ・・・ または、select series,category,values from ・・・ の形式で検索することを想定した作りに修正しています。 series の縦持ち 対応です。 参考:JFreeChart : a free chart library for the Java(tm) platform(jfreechart-1.0.6)
3.8.9.2 (2007/07/28) 新規作成 |
コンストラクタの概要 | |
---|---|
HybsJDBCCategoryDataset(java.sql.Connection connection,
java.lang.String query)
Creates a new dataset with the given database connection, and executes the supplied query to populate the dataset. |
メソッドの概要 | |
---|---|
void |
executeQuery(java.sql.Connection con,
java.lang.String query)
Populates the dataset by executing the supplied query against the existing database connection. |
クラス org.jfree.data.jdbc.JDBCCategoryDataset から継承されたメソッド |
---|
executeQuery, getTranspose, setTranspose |
クラス org.jfree.data.category.DefaultCategoryDataset から継承されたメソッド |
---|
addValue, addValue, clear, clone, equals, getColumnCount, getColumnIndex, getColumnKey, getColumnKeys, getRowCount, getRowIndex, getRowKey, getRowKeys, getValue, getValue, hashCode, incrementValue, removeColumn, removeColumn, removeRow, removeRow, removeValue, setValue, setValue |
クラス org.jfree.data.general.AbstractDataset から継承されたメソッド |
---|
addChangeListener, fireDatasetChanged, getGroup, hasListener, notifyListeners, removeChangeListener, setGroup, validateObject |
クラス java.lang.Object から継承されたメソッド |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
インタフェース org.jfree.data.general.Dataset から継承されたメソッド |
---|
addChangeListener, getGroup, removeChangeListener, setGroup |
コンストラクタの詳細 |
---|
public HybsJDBCCategoryDataset(java.sql.Connection connection, java.lang.String query) throws java.sql.SQLException
connection
- the connection.query
- the query.
java.sql.SQLException
- if there is a problem executing the query.メソッドの詳細 |
---|
public void executeQuery(java.sql.Connection con, java.lang.String query) throws java.sql.SQLException
The results from the query are extracted and cached locally, thus applying an upper limit on how many rows can be retrieved successfully.
org.jfree.data.jdbc.JDBCCategoryDataset
内の executeQuery
con
- the connection.query
- the query.
java.sql.SQLException
- if there is a problem executing the query.JDBCCategoryDataset.executeQuery(Connection , String )
|
openGion 5.4.4.0 | ||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |