|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DataSet | |
---|---|
org.jdesktop.dataset | The dataset package is the entrypoint to the DataSet API, and includes the major public classes for working with tabular data in JDNC, including disconnected SQL results. |
org.jdesktop.dataset.io.schema | |
org.jdesktop.dataset.util |
Uses of DataSet in org.jdesktop.dataset |
---|
Methods in org.jdesktop.dataset that return DataSet | |
---|---|
static DataSet |
DataSetUtils.createFromDatabaseSchema(java.sql.Connection conn,
java.lang.String databaseName,
java.util.Set<java.lang.String> names)
Deprecated. Replaced by DataSetUtility.readDataSetFromJDBC(JDBCDataConnection, String[]) |
static DataSet |
DataSetUtils.createFromDatabaseSchema(JDBCDataConnection conn,
java.lang.String databaseName,
java.lang.String... names)
Deprecated. Replaced by DataSetUtility.readDataSetFromJDBC(JDBCDataConnection) |
static DataSet |
DataSet.createFromSchema(java.io.File f)
Deprecated. Replaced by DataSetUtility.readDataSetFromXml(Reader, String[]) |
static DataSet |
DataSet.createFromSchema(java.io.InputStream is)
Deprecated. Replaced by DataSetUtility.readDataSetFromXml(Reader, String[]) |
static DataSet |
DataSet.createFromSchema(java.lang.String schema)
Deprecated. use DataSetUtils.createFromXmlSchema instead |
static DataSet |
DataSetUtils.createFromXmlSchema(java.io.File f)
Deprecated. Replaced by DataSetUtility.readDataSetFromXml(Reader, String[]) |
static DataSet |
DataSetUtils.createFromXmlSchema(java.io.InputStream is)
Deprecated. Replaced by DataSetUtility.readDataSetFromXml(Reader, String[]) |
static DataSet |
DataSetUtils.createFromXmlSchema(java.io.Reader schema)
Deprecated. Replaced by DataSetUtility.readDataSetFromXml(Reader, String[]) |
static DataSet |
DataSetUtils.createFromXmlSchema(java.lang.String schema)
Deprecated. Replaced by DataSetUtility.readDataSetFromXml(Reader, String[]) |
DataSet |
DataValue.getDataSet()
Returns the DataSet this DataValue belongs to. |
DataSet |
DataTable.getDataSet()
Returns the DataSet that is associated with this DataTable . |
DataSet |
DataRelation.getDataSet()
|
Methods in org.jdesktop.dataset with parameters of type DataSet | |
---|---|
static java.lang.String |
DataSetUtils.getXmlSchema(DataSet ds)
Deprecated. Replaced by DataSetUtility.writeDataSetAsXml(Writer, DataSet) |
Constructors in org.jdesktop.dataset with parameters of type DataSet | |
---|---|
DataRelation(DataSet ds)
Create a new DataRelation |
|
DataRelation(DataSet ds,
java.lang.String name)
|
|
DataRelationTable(DataSet ds)
Creates a new instance of DataRelationTable |
|
DataRelationTable(DataSet ds,
java.lang.String name)
|
|
DataTable(DataSet ds)
Create a new DataTable for a specified DataSet, with an automatically-generated name unique to the DataSet. |
|
DataTable(DataSet ds,
java.lang.String name)
Create a new DataTable for a specified DataSet, with the specified name. |
|
DataValue(DataSet ds)
Creates a new instance of DataValue with an auto-generated name, for a given DataSet. |
|
DataValue(DataSet ds,
java.lang.String name)
Creates a new instance of DataValue, for a given DataSet. |
Uses of DataSet in org.jdesktop.dataset.io.schema |
---|
Methods in org.jdesktop.dataset.io.schema that return DataSet | |
---|---|
DataSet |
XMLDataSetSchemaReader.readDataSet()
Instantiates a new DataSet from the InputStream
specified in the constructor. |
DataSet |
JDBCDataSetSchemaReader.readDataSet()
Instantiates a new DataSet from the JDBCDataConnection
specified in the constructor. |
DataSet |
DataSetSchemaReader.readDataSet()
Instantiates a new DataSet from the data source
specified in the constructor. |
DataSet |
XMLDataSetSchemaReader.readDataSet(java.lang.String... tableNames)
Instantiates a new DataSet from the InputStream specified in the
implementing class, with the DataSet schema loaded but without data, for the tables
and columns given in the tableNames parameter. |
DataSet |
JDBCDataSetSchemaReader.readDataSet(java.lang.String... tableNames)
Instantiates a new DataSet from the JDBCDataConnection
specified in the constructor, for the tables and columns given in the tableNames parameter. |
DataSet |
DataSetSchemaReader.readDataSet(java.lang.String... tableNames)
Instantiates a new DataSet from the data source specified in the
implementing class, with the DataSet schema loaded but without data, for the tables
and columns given in the tableNames parameter. |
Methods in org.jdesktop.dataset.io.schema with parameters of type DataSet | |
---|---|
java.util.List<java.lang.String> |
XMLDataSetSchemaReader.addRelations(DataSet dataSet,
java.lang.String... tableNames)
Adds all DataRelation for the named DataTable
to the specified DataSet , as read from the schema which this reader
is reading from. |
java.util.List<java.lang.String> |
JDBCDataSetSchemaReader.addRelations(DataSet dataSet,
java.lang.String... tableNames)
Adds all DataRelation for the named DataTable
to the specified DataSet , as read from the schema which this reader
is reading from. |
java.util.List<java.lang.String> |
DataSetSchemaReader.addRelations(DataSet dataSet,
java.lang.String... tableNames)
Adds all DataRelation for the named DataTable
to the specified DataSet , as read from the schema which this reader
is reading from. |
java.util.List<java.lang.String> |
XMLDataSetSchemaReader.addTables(DataSet dataSet,
java.lang.String... tableNames)
Appends one or more DataTable to a DataSet
from the schema represented by this reader. |
java.util.List<java.lang.String> |
JDBCDataSetSchemaReader.addTables(DataSet dataSet,
java.lang.String... tableNames)
Appends one or more DataTable to a DataSet
from the schema represented by this reader. |
java.util.List<java.lang.String> |
DataSetSchemaReader.addTables(DataSet dataSet,
java.lang.String... tableNames)
Appends one or more DataTable to a DataSet
from the schema represented by this reader. |
void |
XMLDataSetSchemaWriter.writeDataSet(DataSet ds)
Writes the complete DataSet schema out as an XML Schema to the OutputStream
or Writer this class was constructed with. |
void |
DataSetSchemaWriter.writeDataSet(DataSet ds)
Writes an entire DataSet out to some export format, defined by the implementing class. |
void |
XMLDataSetSchemaWriter.writeDataSet(DataSet ds,
java.lang.String... tableNames)
Writes the DataSet schema out as an XML Schema to the OutputStream
or Writer this class was constructed with for the tables listed. |
void |
DataSetSchemaWriter.writeDataSet(DataSet ds,
java.lang.String... tableNames)
Writes a subset of a DataSet's schema out to some export format,
for the tables given as an argument, in a format defined by the implementing class. |
Uses of DataSet in org.jdesktop.dataset.util |
---|
Methods in org.jdesktop.dataset.util that return DataSet | |
---|---|
static DataSet |
DataSetUtility.createDataSetSchema(JDBCDataConnection conn,
java.lang.String... names)
Creates a DataSet that contains a DataTable for each table that has been specified in the given names Set. |
static DataSet |
DataSetUtility.readDataSet(DataSetSchemaReader reader)
Loads a DataSet schema using a schema reader, for all tables and relations declared in the schema. |
static DataSet |
DataSetUtility.readDataSet(DataSetSchemaReader reader,
java.lang.String... tableNames)
Loads a DataSet schema using a schema reader, for the tables listed in the tableNames argument, and their
relations. |
static DataSet |
DataSetUtility.readDataSetFromJDBC(JDBCDataConnection jdbcConn)
Loads a DataSet schema from a JDBC data connection, using JDBC metadata, for all tables and relations declared in the schema. |
static DataSet |
DataSetUtility.readDataSetFromJDBC(JDBCDataConnection jdbcConn,
java.lang.String... tableNames)
Loads a DataSet schema from a JDBC data connection, using JDBC metadata, for the list of tables passed as an argument,
and their relations. |
static DataSet |
DataSetUtility.readDataSetFromXml(java.io.InputStream is,
java.lang.String... tableNames)
Loads a DataSet schema from a XML Schema, for all tables and relations declared in the schema. |
static DataSet |
DataSetUtility.readDataSetFromXml(java.io.Reader reader,
java.lang.String... tableNames)
Loads a DataSet schema from a XML Schema, for all tables and relations declared in the schema. |
static DataSet |
DataSetUtility.setProviderConnection(DataSet ds,
JDBCDataConnection conn)
Utility method that facilitates using a JDBCDataConnection
to set the connection for each DataProvider in each
DataTable contained in the DataSet . |
Methods in org.jdesktop.dataset.util with parameters of type DataSet | |
---|---|
static void |
DataSetUtility.createDataTableSchema(JDBCDataConnection jdbcConn,
DataSet ds,
java.lang.String tableName,
java.lang.String statement)
Creates a new DataTable in the specified DataSet that maps directly to one returned from a custom SELECT query. |
static void |
DataSetUtility.createRelations(JDBCDataConnection jdbcConn,
DataSet ds)
Creates any relations that exist between the tables in the given DataSet using the database metadata that can be retrieved using the given SQL Connection. |
static DataSet |
DataSetUtility.setProviderConnection(DataSet ds,
JDBCDataConnection conn)
Utility method that facilitates using a JDBCDataConnection
to set the connection for each DataProvider in each
DataTable contained in the DataSet . |
static void |
DataSetUtility.writeDataSet(DataSetSchemaWriter writer,
DataSet ds)
Exports a DataSet's schema using a schema writer, for all tables in the DataSet , and their relations. |
static void |
DataSetUtility.writeDataSet(DataSetSchemaWriter writer,
DataSet ds,
java.lang.String... tableNames)
Exports a DataSet's schema using a schema writer, for the list of tables passed as an argument,
and their relations. |
static void |
DataSetUtility.writeDataSetAsXml(java.io.OutputStream out,
DataSet ds)
Exports a DataSet's schema as an XML Schema, for all tables in the DataSet , and their relations. |
static void |
DataSetUtility.writeDataSetAsXml(java.io.Writer writer,
DataSet ds)
Exports a DataSet's schema as an XML Schema, for all tables in the DataSet , and their relations. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |