Class Projects

java.lang.Object
mindsdb.services.Projects

public class Projects extends Object
Projects service class for handling projects.
  • Constructor Details

    • Projects

      public Projects(Server server, RestAPI api)
      Constructor for Projects
      Parameters:
      server - - Server object
      api - - RestAPI object
  • Method Details

    • list

      public List<Project> list()
      List all projects
      Returns:
      List of Project objects
    • get

      public Project get(String name)
      Get a specific project by name
      Parameters:
      name - - name of the project
      Returns:
      Project object
    • create

      public Project create(String name)
      Create a new project
      Parameters:
      name - - name of the project
      Returns:
      Project object
    • drop

      public void drop(String name)
      Drop a project
      Parameters:
      name - - name of the project