-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1537dd
commit ff8c6d6
Showing
5 changed files
with
91 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,22 @@ | ||
# CommandPlugin | ||
|
||
`CommandPlugin` is...FIXME | ||
`CommandPlugin` is an [abstraction](#contract) of [command processors](#implementations) in [Spark Connect](./index.md) that can [process a command](#process). | ||
|
||
## Contract | ||
|
||
### Process Command { #process } | ||
|
||
```scala | ||
process( | ||
command: protobuf.Any, | ||
planner: SparkConnectPlanner): Option[Unit] | ||
``` | ||
|
||
Used when: | ||
|
||
* `SparkConnectPlanner` is requested to [handleCommandPlugin](SparkConnectPlanner.md#handleCommandPlugin) | ||
|
||
## Implementations | ||
|
||
!!! note | ||
No built-in implementations available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# ExecuteHolder | ||
|
||
## Creating Instance | ||
|
||
`ExecuteHolder` takes the following to be created: | ||
|
||
* <span id="request"> `ExecutePlanRequest` | ||
* <span id="sessionHolder"> `SessionHolder` | ||
|
||
`ExecuteHolder` is created when: | ||
|
||
* `SparkConnectExecutionManager` is requested to [create an ExecuteHolder](SparkConnectExecutionManager.md#createExecuteHolder) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# ExecuteThreadRunner | ||
|
||
`ExecuteThreadRunner` is created alongside [ExecuteHolder](ExecuteHolder.md#runner). | ||
|
||
## Creating Instance | ||
|
||
`ExecuteThreadRunner` takes the following to be created: | ||
|
||
* <span id="executeHolder"> `ExecuteHolder` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# SparkConnectExecutionManager | ||
|
||
## Creating Instance | ||
|
||
`SparkConnectExecutionManager` takes no arguments to be created. | ||
|
||
`SparkConnectExecutionManager` is created when: | ||
|
||
* `SparkConnectService` is requested for the [executionManager](SparkConnectService.md#executionManager) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters