public class DataSource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DataSource.As
Database as a data source for query.
|
Modifier and Type | Method and Description |
---|---|
static DataSource.As |
database(Database database)
Create a database as a data source.
|
static DataSource.As |
query(Query query) |
public static DataSource.As database(Database database)
database
- the database used as a source of data for query.DataSource.Database
object.public static DataSource.As query(Query query)