Packages

t

org.apache.spark.udf.worker

WorkerCapabilitiesOrBuilder

trait WorkerCapabilitiesOrBuilder extends MessageOrBuilder

Annotations
@Generated()
Source
WorkerCapabilitiesOrBuilder.java
Linear Supertypes
MessageOrBuilder, MessageLiteOrBuilder, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WorkerCapabilitiesOrBuilder
  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 getDefaultInstanceForType(): Message
    Definition Classes
    MessageOrBuilder → MessageLiteOrBuilder
  4. abstract def getDescriptorForType(): Descriptor
    Definition Classes
    MessageOrBuilder
  5. abstract def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    MessageOrBuilder
  6. abstract def getInitializationErrorString(): String
    Definition Classes
    MessageOrBuilder
  7. abstract def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    MessageOrBuilder
  8. abstract def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    MessageOrBuilder
  9. abstract def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    MessageOrBuilder
  10. abstract def getSupportedCommunicationPatterns(index: Int): UDFProtoCommunicationPattern

    Which UDF protocol communication patterns the worker
    supports. This should list all supported patterns.
    The pattern used for a specific UDF will be communicated
    in the initial message of the UDF protocol.
    
    If an execution for an unsupported pattern is requested
    the query will fail during query planning.
    
    (Required)
    

    Which UDF protocol communication patterns the worker
    supports. This should list all supported patterns.
    The pattern used for a specific UDF will be communicated
    in the initial message of the UDF protocol.
    
    If an execution for an unsupported pattern is requested
    the query will fail during query planning.
    
    (Required)
    

    repeated .org.apache.spark.udf.worker.UDFProtoCommunicationPattern supported_communication_patterns = 2;

    index

    The index of the element to return.

    returns

    The supportedCommunicationPatterns at the given index.

  11. abstract def getSupportedCommunicationPatternsCount(): Int

    Which UDF protocol communication patterns the worker
    supports. This should list all supported patterns.
    The pattern used for a specific UDF will be communicated
    in the initial message of the UDF protocol.
    
    If an execution for an unsupported pattern is requested
    the query will fail during query planning.
    
    (Required)
    

    Which UDF protocol communication patterns the worker
    supports. This should list all supported patterns.
    The pattern used for a specific UDF will be communicated
    in the initial message of the UDF protocol.
    
    If an execution for an unsupported pattern is requested
    the query will fail during query planning.
    
    (Required)
    

    repeated .org.apache.spark.udf.worker.UDFProtoCommunicationPattern supported_communication_patterns = 2;

    returns

    The count of supportedCommunicationPatterns.

  12. abstract def getSupportedCommunicationPatternsList(): List[UDFProtoCommunicationPattern]

    Which UDF protocol communication patterns the worker
    supports. This should list all supported patterns.
    The pattern used for a specific UDF will be communicated
    in the initial message of the UDF protocol.
    
    If an execution for an unsupported pattern is requested
    the query will fail during query planning.
    
    (Required)
    

    Which UDF protocol communication patterns the worker
    supports. This should list all supported patterns.
    The pattern used for a specific UDF will be communicated
    in the initial message of the UDF protocol.
    
    If an execution for an unsupported pattern is requested
    the query will fail during query planning.
    
    (Required)
    

    repeated .org.apache.spark.udf.worker.UDFProtoCommunicationPattern supported_communication_patterns = 2;

    returns

    A list containing the supportedCommunicationPatterns.

  13. abstract def getSupportedCommunicationPatternsValue(index: Int): Int

    Which UDF protocol communication patterns the worker
    supports. This should list all supported patterns.
    The pattern used for a specific UDF will be communicated
    in the initial message of the UDF protocol.
    
    If an execution for an unsupported pattern is requested
    the query will fail during query planning.
    
    (Required)
    

    Which UDF protocol communication patterns the worker
    supports. This should list all supported patterns.
    The pattern used for a specific UDF will be communicated
    in the initial message of the UDF protocol.
    
    If an execution for an unsupported pattern is requested
    the query will fail during query planning.
    
    (Required)
    

    repeated .org.apache.spark.udf.worker.UDFProtoCommunicationPattern supported_communication_patterns = 2;

    index

    The index of the value to return.

    returns

    The enum numeric value on the wire of supportedCommunicationPatterns at the given index.

  14. abstract def getSupportedCommunicationPatternsValueList(): List[Integer]

    Which UDF protocol communication patterns the worker
    supports. This should list all supported patterns.
    The pattern used for a specific UDF will be communicated
    in the initial message of the UDF protocol.
    
    If an execution for an unsupported pattern is requested
    the query will fail during query planning.
    
    (Required)
    

    Which UDF protocol communication patterns the worker
    supports. This should list all supported patterns.
    The pattern used for a specific UDF will be communicated
    in the initial message of the UDF protocol.
    
    If an execution for an unsupported pattern is requested
    the query will fail during query planning.
    
    (Required)
    

    repeated .org.apache.spark.udf.worker.UDFProtoCommunicationPattern supported_communication_patterns = 2;

    returns

    A list containing the enum numeric values on the wire for supportedCommunicationPatterns.

  15. abstract def getSupportedDataFormats(index: Int): UDFWorkerDataFormat

    The data formats that the worker supports for UDF data in- & output.
    Every worker MUST at least support ARROW.
    
    It is expected that for each UDF execution, the input format
    always matches the output format.
    
    If a worker supports multiple data formats, the engine will select
    the most suitable one for each UDF invocation. Which format was chosen
    is reported by the engine as part of the UDF protocol's init message.
    
    (Required)
    

    The data formats that the worker supports for UDF data in- & output.
    Every worker MUST at least support ARROW.
    
    It is expected that for each UDF execution, the input format
    always matches the output format.
    
    If a worker supports multiple data formats, the engine will select
    the most suitable one for each UDF invocation. Which format was chosen
    is reported by the engine as part of the UDF protocol's init message.
    
    (Required)
    

    repeated .org.apache.spark.udf.worker.UDFWorkerDataFormat supported_data_formats = 1;

    index

    The index of the element to return.

    returns

    The supportedDataFormats at the given index.

  16. abstract def getSupportedDataFormatsCount(): Int

    The data formats that the worker supports for UDF data in- & output.
    Every worker MUST at least support ARROW.
    
    It is expected that for each UDF execution, the input format
    always matches the output format.
    
    If a worker supports multiple data formats, the engine will select
    the most suitable one for each UDF invocation. Which format was chosen
    is reported by the engine as part of the UDF protocol's init message.
    
    (Required)
    

    The data formats that the worker supports for UDF data in- & output.
    Every worker MUST at least support ARROW.
    
    It is expected that for each UDF execution, the input format
    always matches the output format.
    
    If a worker supports multiple data formats, the engine will select
    the most suitable one for each UDF invocation. Which format was chosen
    is reported by the engine as part of the UDF protocol's init message.
    
    (Required)
    

    repeated .org.apache.spark.udf.worker.UDFWorkerDataFormat supported_data_formats = 1;

    returns

    The count of supportedDataFormats.

  17. abstract def getSupportedDataFormatsList(): List[UDFWorkerDataFormat]

    The data formats that the worker supports for UDF data in- & output.
    Every worker MUST at least support ARROW.
    
    It is expected that for each UDF execution, the input format
    always matches the output format.
    
    If a worker supports multiple data formats, the engine will select
    the most suitable one for each UDF invocation. Which format was chosen
    is reported by the engine as part of the UDF protocol's init message.
    
    (Required)
    

    The data formats that the worker supports for UDF data in- & output.
    Every worker MUST at least support ARROW.
    
    It is expected that for each UDF execution, the input format
    always matches the output format.
    
    If a worker supports multiple data formats, the engine will select
    the most suitable one for each UDF invocation. Which format was chosen
    is reported by the engine as part of the UDF protocol's init message.
    
    (Required)
    

    repeated .org.apache.spark.udf.worker.UDFWorkerDataFormat supported_data_formats = 1;

    returns

    A list containing the supportedDataFormats.

  18. abstract def getSupportedDataFormatsValue(index: Int): Int

    The data formats that the worker supports for UDF data in- & output.
    Every worker MUST at least support ARROW.
    
    It is expected that for each UDF execution, the input format
    always matches the output format.
    
    If a worker supports multiple data formats, the engine will select
    the most suitable one for each UDF invocation. Which format was chosen
    is reported by the engine as part of the UDF protocol's init message.
    
    (Required)
    

    The data formats that the worker supports for UDF data in- & output.
    Every worker MUST at least support ARROW.
    
    It is expected that for each UDF execution, the input format
    always matches the output format.
    
    If a worker supports multiple data formats, the engine will select
    the most suitable one for each UDF invocation. Which format was chosen
    is reported by the engine as part of the UDF protocol's init message.
    
    (Required)
    

    repeated .org.apache.spark.udf.worker.UDFWorkerDataFormat supported_data_formats = 1;

    index

    The index of the value to return.

    returns

    The enum numeric value on the wire of supportedDataFormats at the given index.

  19. abstract def getSupportedDataFormatsValueList(): List[Integer]

    The data formats that the worker supports for UDF data in- & output.
    Every worker MUST at least support ARROW.
    
    It is expected that for each UDF execution, the input format
    always matches the output format.
    
    If a worker supports multiple data formats, the engine will select
    the most suitable one for each UDF invocation. Which format was chosen
    is reported by the engine as part of the UDF protocol's init message.
    
    (Required)
    

    The data formats that the worker supports for UDF data in- & output.
    Every worker MUST at least support ARROW.
    
    It is expected that for each UDF execution, the input format
    always matches the output format.
    
    If a worker supports multiple data formats, the engine will select
    the most suitable one for each UDF invocation. Which format was chosen
    is reported by the engine as part of the UDF protocol's init message.
    
    (Required)
    

    repeated .org.apache.spark.udf.worker.UDFWorkerDataFormat supported_data_formats = 1;

    returns

    A list containing the enum numeric values on the wire for supportedDataFormats.

  20. abstract def getSupportsConcurrentUdfs(): Boolean

    Whether multiple, concurrent UDF
    connections are supported by this worker
    (for example via multi-threading).
    
    In the first implementation of the engine-side
    worker specification, this property will not be used.
    
    Usage of this property can be enabled in the future if the
    engine implements more advanced resource management (TBD).
    
    (Optional)
    

    Whether multiple, concurrent UDF
    connections are supported by this worker
    (for example via multi-threading).
    
    In the first implementation of the engine-side
    worker specification, this property will not be used.
    
    Usage of this property can be enabled in the future if the
    engine implements more advanced resource management (TBD).
    
    (Optional)
    

    optional bool supports_concurrent_udfs = 3;

    returns

    The supportsConcurrentUdfs.

  21. abstract def getSupportsReuse(): Boolean

    Whether compatible workers may be reused.
    If this is not supported, the worker is
    terminated after every single UDF invocation.
    
    (Optional)
    

    Whether compatible workers may be reused.
    If this is not supported, the worker is
    terminated after every single UDF invocation.
    
    (Optional)
    

    optional bool supports_reuse = 4;

    returns

    The supportsReuse.

  22. abstract def getUnknownFields(): UnknownFieldSet
    Definition Classes
    MessageOrBuilder
  23. abstract def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  24. abstract def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  25. abstract def hasSupportsConcurrentUdfs(): Boolean

    Whether multiple, concurrent UDF
    connections are supported by this worker
    (for example via multi-threading).
    
    In the first implementation of the engine-side
    worker specification, this property will not be used.
    
    Usage of this property can be enabled in the future if the
    engine implements more advanced resource management (TBD).
    
    (Optional)
    

    Whether multiple, concurrent UDF
    connections are supported by this worker
    (for example via multi-threading).
    
    In the first implementation of the engine-side
    worker specification, this property will not be used.
    
    Usage of this property can be enabled in the future if the
    engine implements more advanced resource management (TBD).
    
    (Optional)
    

    optional bool supports_concurrent_udfs = 3;

    returns

    Whether the supportsConcurrentUdfs field is set.

  26. abstract def hasSupportsReuse(): Boolean

    Whether compatible workers may be reused.
    If this is not supported, the worker is
    terminated after every single UDF invocation.
    
    (Optional)
    

    Whether compatible workers may be reused.
    If this is not supported, the worker is
    terminated after every single UDF invocation.
    
    (Optional)
    

    optional bool supports_reuse = 4;

    returns

    Whether the supportsReuse field is set.

  27. 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