public class NotebookApiImpl extends Object implements NotebookAPI
| Modifier and Type | Method and Description |
|---|---|
InvokableBuilder<NotebookResult> |
bindNotebookToCluster(String clusterId,
String notebookId)
Corresponds to http://docs.qubole.com/en/latest/rest-api/notebook_api/bind-notebook.html
|
InvokableBuilder<NotebookResult> |
clone(String name,
String location,
String clusterId,
String clonedFromNotebook)
Corresponds to http://docs.qubole.com/en/latest/rest-api/notebook_api/clone-notebook.html
|
InvokableBuilder<NotebookResult> |
configure(String name,
String location,
String clusterId,
String notebookId)
Corresponds to http://docs.qubole.com/en/latest/rest-api/notebook_api/configure-notebook.html
|
InvokableBuilder<NotebookResult> |
create(String name,
String location,
String noteType,
String clusterId)
Corresponds to http://docs.qubole.com/en/latest/rest-api/notebook_api/create-notebook.html
|
InvokableBuilder<NotebookResult> |
delete(String notebookId)
Corresponds to http://docs.qubole.com/en/latest/rest-api/notebook_api/delete-notebook.html
|
public InvokableBuilder<NotebookResult> create(String name, String location, String noteType, String clusterId)
NotebookAPIcreate in interface NotebookAPIname - name of the notebooklocation - location of the notebooknoteType - type of the notebook, available are "spark" and "presto"clusterId - cluster id of the cluster to associate notebook withpublic InvokableBuilder<NotebookResult> configure(String name, String location, String clusterId, String notebookId)
NotebookAPIconfigure in interface NotebookAPIname - name of the notebooklocation - location of the notebookclusterId - cluster id of the cluster to associate notebook withnotebookId - notebook id to configurepublic InvokableBuilder<NotebookResult> clone(String name, String location, String clusterId, String clonedFromNotebook)
NotebookAPIclone in interface NotebookAPIname - name of the notebooklocation - location of the notebookclusterId - cluster id of the cluster to associate notebook withclonedFromNotebook - notebook id from which the new notebook is clonedpublic InvokableBuilder<NotebookResult> bindNotebookToCluster(String clusterId, String notebookId)
NotebookAPIbindNotebookToCluster in interface NotebookAPIclusterId - cluster id of the cluster who needs to be associated with notebooknotebookId - notebook idpublic InvokableBuilder<NotebookResult> delete(String notebookId)
NotebookAPIdelete in interface NotebookAPInotebookId - notebook idCopyright © 2020. All rights reserved.