final class UDFWorkerProperties extends GeneratedMessage with UDFWorkerPropertiesOrBuilder
Protobuf type org.apache.spark.udf.worker.UDFWorkerProperties
- Annotations
- @Generated()
- Source
- UDFWorkerProperties.java
- Alphabetic
- By Inheritance
- UDFWorkerProperties
- UDFWorkerPropertiesOrBuilder
- GeneratedMessage
- Serializable
- AbstractMessage
- Message
- MessageOrBuilder
- AbstractMessageLite
- MessageLite
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: AnyRef): Boolean
- Definition Classes
- UDFWorkerProperties → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- def findInitializationErrors(): List[String]
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getConnection(): WorkerConnection
The connection this [[DirectWorker]] supports. Note that a single connection is sufficient to run multiple UDFs and (gRPC) services. On [[DirectWorker]] creation, connection information is passed to the callable as a string parameter. The string format depends on the [[WorkerConnection]]: For example, when using TCP, the callable argument will be: --connection PORT Here is a concrete example --connection 8080 For the format of each specific transport type, see the comments below. (Required)
The connection this [[DirectWorker]] supports. Note that a single connection is sufficient to run multiple UDFs and (gRPC) services. On [[DirectWorker]] creation, connection information is passed to the callable as a string parameter. The string format depends on the [[WorkerConnection]]: For example, when using TCP, the callable argument will be: --connection PORT Here is a concrete example --connection 8080 For the format of each specific transport type, see the comments below. (Required)
.org.apache.spark.udf.worker.WorkerConnection connection = 3;- returns
The connection.
- Definition Classes
- UDFWorkerProperties → UDFWorkerPropertiesOrBuilder
- Annotations
- @Override()
- def getConnectionOrBuilder(): WorkerConnectionOrBuilder
The connection this [[DirectWorker]] supports. Note that a single connection is sufficient to run multiple UDFs and (gRPC) services. On [[DirectWorker]] creation, connection information is passed to the callable as a string parameter. The string format depends on the [[WorkerConnection]]: For example, when using TCP, the callable argument will be: --connection PORT Here is a concrete example --connection 8080 For the format of each specific transport type, see the comments below. (Required)
The connection this [[DirectWorker]] supports. Note that a single connection is sufficient to run multiple UDFs and (gRPC) services. On [[DirectWorker]] creation, connection information is passed to the callable as a string parameter. The string format depends on the [[WorkerConnection]]: For example, when using TCP, the callable argument will be: --connection PORT Here is a concrete example --connection 8080 For the format of each specific transport type, see the comments below. (Required)
.org.apache.spark.udf.worker.WorkerConnection connection = 3;- Definition Classes
- UDFWorkerProperties → UDFWorkerPropertiesOrBuilder
- Annotations
- @Override()
- def getDefaultInstanceForType(): UDFWorkerProperties
- Definition Classes
- UDFWorkerProperties → MessageOrBuilder → MessageLiteOrBuilder
- Annotations
- @Override()
- def getDescriptorForType(): Descriptor
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def getField(field: FieldDescriptor): AnyRef
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def getGracefulTerminationTimeoutMs(): Int
Used for graceful engine-initiated termination signaled via SIGTERM. After this time, the worker process should have terminated itself. Otherwise, the process will be forcefully killed using SIGKILL. The engine will use this timeout, if it does not exceed an engine-configurable maximum time (e.g. 30 seconds). (Optional)
Used for graceful engine-initiated termination signaled via SIGTERM. After this time, the worker process should have terminated itself. Otherwise, the process will be forcefully killed using SIGKILL. The engine will use this timeout, if it does not exceed an engine-configurable maximum time (e.g. 30 seconds). (Optional)
optional int32 graceful_termination_timeout_ms = 2;- returns
The gracefulTerminationTimeoutMs.
- Definition Classes
- UDFWorkerProperties → UDFWorkerPropertiesOrBuilder
- Annotations
- @Override()
- def getInitializationErrorString(): String
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getInitializationTimeoutMs(): Int
Maximum amount of time to wait until the worker can accept connections. The engine will use this timeout, if it does not exceed an engine-configurable maximum time (e.g. 30 seconds). (Optional)
Maximum amount of time to wait until the worker can accept connections. The engine will use this timeout, if it does not exceed an engine-configurable maximum time (e.g. 30 seconds). (Optional)
optional int32 initialization_timeout_ms = 1;- returns
The initializationTimeoutMs.
- Definition Classes
- UDFWorkerProperties → UDFWorkerPropertiesOrBuilder
- Annotations
- @Override()
- def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
- Definition Classes
- GeneratedMessage → AbstractMessage → MessageOrBuilder
- def getParserForType(): Parser[UDFWorkerProperties]
- Definition Classes
- UDFWorkerProperties → GeneratedMessage → Message → MessageLite
- Annotations
- @Override()
- def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def getRepeatedFieldCount(field: FieldDescriptor): Int
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def getSerializedSize(): Int
- Definition Classes
- UDFWorkerProperties → GeneratedMessage → AbstractMessage → MessageLite
- Annotations
- @Override()
- def getUnknownFields(): UnknownFieldSet
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def hasConnection(): Boolean
The connection this [[DirectWorker]] supports. Note that a single connection is sufficient to run multiple UDFs and (gRPC) services. On [[DirectWorker]] creation, connection information is passed to the callable as a string parameter. The string format depends on the [[WorkerConnection]]: For example, when using TCP, the callable argument will be: --connection PORT Here is a concrete example --connection 8080 For the format of each specific transport type, see the comments below. (Required)
The connection this [[DirectWorker]] supports. Note that a single connection is sufficient to run multiple UDFs and (gRPC) services. On [[DirectWorker]] creation, connection information is passed to the callable as a string parameter. The string format depends on the [[WorkerConnection]]: For example, when using TCP, the callable argument will be: --connection PORT Here is a concrete example --connection 8080 For the format of each specific transport type, see the comments below. (Required)
.org.apache.spark.udf.worker.WorkerConnection connection = 3;- returns
Whether the connection field is set.
- Definition Classes
- UDFWorkerProperties → UDFWorkerPropertiesOrBuilder
- Annotations
- @Override()
- def hasField(field: FieldDescriptor): Boolean
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def hasGracefulTerminationTimeoutMs(): Boolean
Used for graceful engine-initiated termination signaled via SIGTERM. After this time, the worker process should have terminated itself. Otherwise, the process will be forcefully killed using SIGKILL. The engine will use this timeout, if it does not exceed an engine-configurable maximum time (e.g. 30 seconds). (Optional)
Used for graceful engine-initiated termination signaled via SIGTERM. After this time, the worker process should have terminated itself. Otherwise, the process will be forcefully killed using SIGKILL. The engine will use this timeout, if it does not exceed an engine-configurable maximum time (e.g. 30 seconds). (Optional)
optional int32 graceful_termination_timeout_ms = 2;- returns
Whether the gracefulTerminationTimeoutMs field is set.
- Definition Classes
- UDFWorkerProperties → UDFWorkerPropertiesOrBuilder
- Annotations
- @Override()
- def hasInitializationTimeoutMs(): Boolean
Maximum amount of time to wait until the worker can accept connections. The engine will use this timeout, if it does not exceed an engine-configurable maximum time (e.g. 30 seconds). (Optional)
Maximum amount of time to wait until the worker can accept connections. The engine will use this timeout, if it does not exceed an engine-configurable maximum time (e.g. 30 seconds). (Optional)
optional int32 initialization_timeout_ms = 1;- returns
Whether the initializationTimeoutMs field is set.
- Definition Classes
- UDFWorkerProperties → UDFWorkerPropertiesOrBuilder
- Annotations
- @Override()
- def hasOneof(oneof: OneofDescriptor): Boolean
- Definition Classes
- GeneratedMessage → AbstractMessage → MessageOrBuilder
- def hashCode(): Int
- Definition Classes
- UDFWorkerProperties → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- def internalGetFieldAccessorTable(): FieldAccessorTable
- Attributes
- protected[worker]
- Definition Classes
- UDFWorkerProperties → GeneratedMessage
- Annotations
- @Override()
- def internalGetMapFieldReflection(fieldNumber: Int): MapFieldReflectionAccessor
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- final def isInitialized(): Boolean
- Definition Classes
- UDFWorkerProperties → GeneratedMessage → AbstractMessage → MessageLiteOrBuilder
- Annotations
- @Override()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeExtensionsImmutable(): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilderForType(parent: BuilderParent): Builder
- Attributes
- protected[worker]
- Definition Classes
- UDFWorkerProperties → AbstractMessage
- Annotations
- @Override()
- def newBuilderForType(): Builder
- Definition Classes
- UDFWorkerProperties → Message → MessageLite
- Annotations
- @Override()
- def newInstance(unused: UnusedPrivateParameter): AnyRef
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- Annotations
- @throws(classOf[java.io.IOException])
- def parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- Annotations
- @throws(classOf[java.io.IOException])
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toBuilder(): Builder
- Definition Classes
- UDFWorkerProperties → Message → MessageLite
- Annotations
- @Override()
- def toByteArray(): Array[Byte]
- Definition Classes
- AbstractMessageLite → MessageLite
- def toByteString(): ByteString
- Definition Classes
- AbstractMessageLite → MessageLite
- final def toString(): String
- Definition Classes
- AbstractMessage → Message → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
- def writeReplace(): AnyRef
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- Annotations
- @throws(classOf[java.io.ObjectStreamException])
- def writeTo(output: CodedOutputStream): Unit
- Definition Classes
- UDFWorkerProperties → GeneratedMessage → AbstractMessage → MessageLite
- Annotations
- @Override()
- def writeTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def internalGetMapField(fieldNumber: Int): MapField[_ <: AnyRef, _ <: AnyRef]
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- Annotations
- @Deprecated
- Deprecated
- def mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- Annotations
- @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
- Deprecated