Packages

t

org.apache.spark.udf.worker

UDFWorkerPropertiesOrBuilder

trait UDFWorkerPropertiesOrBuilder extends MessageOrBuilder

Annotations
@Generated()
Source
UDFWorkerPropertiesOrBuilder.java
Linear Supertypes
MessageOrBuilder, MessageLiteOrBuilder, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UDFWorkerPropertiesOrBuilder
  2. MessageOrBuilder
  3. MessageLiteOrBuilder
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def findInitializationErrors(): List[String]
    Definition Classes
    MessageOrBuilder
  2. abstract def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    MessageOrBuilder
  3. abstract 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.

  4. abstract 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;

  5. abstract def getDefaultInstanceForType(): Message
    Definition Classes
    MessageOrBuilder → MessageLiteOrBuilder
  6. abstract def getDescriptorForType(): Descriptor
    Definition Classes
    MessageOrBuilder
  7. abstract def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    MessageOrBuilder
  8. abstract 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.

  9. abstract def getInitializationErrorString(): String
    Definition Classes
    MessageOrBuilder
  10. abstract 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.

  11. abstract def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    MessageOrBuilder
  12. abstract def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    MessageOrBuilder
  13. abstract def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    MessageOrBuilder
  14. abstract def getUnknownFields(): UnknownFieldSet
    Definition Classes
    MessageOrBuilder
  15. abstract 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.

  16. abstract def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  17. abstract 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.

  18. abstract 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.

  19. abstract def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  20. abstract def isInitialized(): Boolean
    Definition Classes
    MessageLiteOrBuilder

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from MessageOrBuilder

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped