Package mindsdb.services
Class Views
java.lang.Object
mindsdb.services.Views
Views service class for handling views.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Views
Constructor for Views- Parameters:
project
- - Project objectapi
- - RestAPI object
-
-
Method Details
-
list
List all views- Returns:
- List of View objects
-
create
Create a new view- Parameters:
name
- - name of the viewsql
- - SQL query for the view- Returns:
- View object
-
create
Create a new view- Parameters:
name
- - name of the viewquery
- - Query object for the view- Returns:
- View object
-
drop
Drop a view- Parameters:
name
- - name of the view
-
get
Get a view by name- Parameters:
name
- - name of the view- Returns:
- View object
-