package worker
Type Members
- final class Common extends GeneratedFile
- Annotations
- @Generated()
- final class DirectWorker extends GeneratedMessage with DirectWorkerOrBuilder
The worker that will be created to process UDFs
The worker that will be created to process UDFs
Protobuf type
org.apache.spark.udf.worker.DirectWorker- Annotations
- @Generated()
- trait DirectWorkerOrBuilder extends MessageOrBuilder
- Annotations
- @Generated()
- final class LocalTcpConnection extends GeneratedMessage with LocalTcpConnectionOrBuilder
Communication between the engine and worker is done using a localhost TCP connection. On [[DirectWorker]] creation, a PORT is passed as a connection parameter. It is expected that the worker binds to this port on both IPv4 and IPv6 localhost interfaces. E.g. the worker server should be reachable via 127.0.0.1:PORT and [::1]:PORT. Examples: 8080 1234
Communication between the engine and worker is done using a localhost TCP connection. On [[DirectWorker]] creation, a PORT is passed as a connection parameter. It is expected that the worker binds to this port on both IPv4 and IPv6 localhost interfaces. E.g. the worker server should be reachable via 127.0.0.1:PORT and [::1]:PORT. Examples: 8080 1234
Protobuf type
org.apache.spark.udf.worker.LocalTcpConnection- Annotations
- @Generated()
- trait LocalTcpConnectionOrBuilder extends MessageOrBuilder
- Annotations
- @Generated()
- final class ProcessCallable extends GeneratedMessage with ProcessCallableOrBuilder
Protobuf type
org.apache.spark.udf.worker.ProcessCallableProtobuf type
org.apache.spark.udf.worker.ProcessCallable- Annotations
- @Generated()
- trait ProcessCallableOrBuilder extends MessageOrBuilder
- Annotations
- @Generated()
- sealed final class UDFProtoCommunicationPattern extends Enum[UDFProtoCommunicationPattern] with ProtocolMessageEnum
The UDF execution type/shape.
The UDF execution type/shape.
Protobuf enum
org.apache.spark.udf.worker.UDFProtoCommunicationPattern- Annotations
- @Generated()
- sealed final class UDFWorkerDataFormat extends Enum[UDFWorkerDataFormat] with ProtocolMessageEnum
The UDF in & output data format.
The UDF in & output data format.
Protobuf enum
org.apache.spark.udf.worker.UDFWorkerDataFormat- Annotations
- @Generated()
- final class UDFWorkerProperties extends GeneratedMessage with UDFWorkerPropertiesOrBuilder
Protobuf type
org.apache.spark.udf.worker.UDFWorkerPropertiesProtobuf type
org.apache.spark.udf.worker.UDFWorkerProperties- Annotations
- @Generated()
- trait UDFWorkerPropertiesOrBuilder extends MessageOrBuilder
- Annotations
- @Generated()
- final class UDFWorkerSpecification extends GeneratedMessage with UDFWorkerSpecificationOrBuilder
/ / Worker specification /
/ / Worker specification /
Protobuf type
org.apache.spark.udf.worker.UDFWorkerSpecification- Annotations
- @Generated()
- trait UDFWorkerSpecificationOrBuilder extends MessageOrBuilder
- Annotations
- @Generated()
- final class UnixDomainSocket extends GeneratedMessage with UnixDomainSocketOrBuilder
Communication between the engine and worker is done using a UNIX domain socket. On [[DirectWorker]] creation, a path to a socket to listen on is passed as an argument. Examples: /tmp/channel-uuid.sock /some/system/path/channel-1234.sock
Communication between the engine and worker is done using a UNIX domain socket. On [[DirectWorker]] creation, a path to a socket to listen on is passed as an argument. Examples: /tmp/channel-uuid.sock /some/system/path/channel-1234.sock
Protobuf type
org.apache.spark.udf.worker.UnixDomainSocket- Annotations
- @Generated()
- trait UnixDomainSocketOrBuilder extends MessageOrBuilder
- Annotations
- @Generated()
- final class WorkerCapabilities extends GeneratedMessage with WorkerCapabilitiesOrBuilder
Capabilities used for query planning and running the worker during query execution.
Capabilities used for query planning and running the worker during query execution.
Protobuf type
org.apache.spark.udf.worker.WorkerCapabilities- Annotations
- @Generated()
- trait WorkerCapabilitiesOrBuilder extends MessageOrBuilder
- Annotations
- @Generated()
- final class WorkerConnection extends GeneratedMessage with WorkerConnectionOrBuilder
Protobuf type
org.apache.spark.udf.worker.WorkerConnectionProtobuf type
org.apache.spark.udf.worker.WorkerConnection- Annotations
- @Generated()
- trait WorkerConnectionOrBuilder extends MessageOrBuilder
- Annotations
- @Generated()
- final class WorkerEnvironment extends GeneratedMessage with WorkerEnvironmentOrBuilder
Set of callables that can be used to setup, verify, and cleanup the worker environment before the worker callable is invoked. These callables should be specified if the worker setup cannot be assumed to be pre-installed on the target cluster. If defined, the below callables will be invoked once per Spark executor in the following order (top -> bottom): ┌──────────────┐ │ │ │ Verification │ │ │ └──┬────────┬──┘ │ │ Failed │ │ Succeeded │ │ ┌──────▼───────┐│ │ ││ │ Installation ││ │ ││ └──────┬───────┘│ │ │ ▼ ▼ ... UDF worker creation ... │ │ ┌────▼────┐ │ │ │ Cleanup │ │ │ └─────────┘ All scripts are optional. However, if a verification script is supplied, an installation script needs to be supplied as well.
Set of callables that can be used to setup, verify, and cleanup the worker environment before the worker callable is invoked. These callables should be specified if the worker setup cannot be assumed to be pre-installed on the target cluster. If defined, the below callables will be invoked once per Spark executor in the following order (top -> bottom): ┌──────────────┐ │ │ │ Verification │ │ │ └──┬────────┬──┘ │ │ Failed │ │ Succeeded │ │ ┌──────▼───────┐│ │ ││ │ Installation ││ │ ││ └──────┬───────┘│ │ │ ▼ ▼ ... UDF worker creation ... │ │ ┌────▼────┐ │ │ │ Cleanup │ │ │ └─────────┘ All scripts are optional. However, if a verification script is supplied, an installation script needs to be supplied as well.
Protobuf type
org.apache.spark.udf.worker.WorkerEnvironment- Annotations
- @Generated()
- trait WorkerEnvironmentOrBuilder extends MessageOrBuilder
- Annotations
- @Generated()
- final class WorkerSpec extends GeneratedFile
- Annotations
- @Generated()
- class WorkerSpecification extends AnyRef
:: Experimental :: Typed Scala wrapper around the protobuf UDFWorkerSpecification.
:: Experimental :: Typed Scala wrapper around the protobuf UDFWorkerSpecification.
- Annotations
- @Experimental()