Package com.couchbase.lite
Class DataSource
- java.lang.Object
-
- com.couchbase.lite.DataSource
-
- Direct Known Subclasses:
DataSource.As
public class DataSource extends Object
A query data source, used for specifying the source of data for a query.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataSource.As
Database as a data source for query.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSource.As
database(Database database)
Create a database as a data source.
-
-
-
Method Detail
-
database
@NonNull public static DataSource.As database(@NonNull Database database)
Create a database as a data source.- Parameters:
database
- the database used as a source of data for query.- Returns:
DataSource.Database
object.
-
-