Packages

c

org.apache.spark.udf.worker

ProcessCallable

final class ProcessCallable extends GeneratedMessage with ProcessCallableOrBuilder

Protobuf type org.apache.spark.udf.worker.ProcessCallable

Annotations
@Generated()
Source
ProcessCallable.java
Linear Supertypes
ProcessCallableOrBuilder, GeneratedMessage, Serializable, AbstractMessage, Message, MessageOrBuilder, AbstractMessageLite[MessageType, BuilderType], MessageLite, MessageLiteOrBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcessCallable
  2. ProcessCallableOrBuilder
  3. GeneratedMessage
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. def containsEnvironmentVariables(key: String): Boolean

    Environment variables for the invoked process.
    
    (Optional)
    

    Environment variables for the invoked process.
    
    (Optional)
    

    map<string, string> environment_variables = 3;

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
    Annotations
    @Override()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(obj: AnyRef): Boolean
    Definition Classes
    ProcessCallable → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  9. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  10. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  11. def getArguments(index: Int): String

    Arguments passed directly to the executable.
    Examples:
    ["udf_worker.py"]
    [""]
    ["--max_concurrency", "5"]
    ["\"echo 'Test'\""]
    
    Every executable will ALWAYS receive the following arguments,
    which CANNOT be part of the below list of arguments:
    
    --id
    The value of the id argument is a string with the engine-assigned
    id of this UDF Worker. This can be used in logs and other state information.
    
    --connection
    The value of the connection argument is a string with
    engine-assinged connection parameters. See [[UDFWorkerProperties]]
    for details.
    
    (Optional)
    

    Arguments passed directly to the executable.
    Examples:
    ["udf_worker.py"]
    [""]
    ["--max_concurrency", "5"]
    ["\"echo 'Test'\""]
    
    Every executable will ALWAYS receive the following arguments,
    which CANNOT be part of the below list of arguments:
    
    --id
    The value of the id argument is a string with the engine-assigned
    id of this UDF Worker. This can be used in logs and other state information.
    
    --connection
    The value of the connection argument is a string with
    engine-assinged connection parameters. See [[UDFWorkerProperties]]
    for details.
    
    (Optional)
    

    repeated string arguments = 2;

    index

    The index of the element to return.

    returns

    The arguments at the given index.

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
  12. def getArgumentsBytes(index: Int): ByteString

    Arguments passed directly to the executable.
    Examples:
    ["udf_worker.py"]
    [""]
    ["--max_concurrency", "5"]
    ["\"echo 'Test'\""]
    
    Every executable will ALWAYS receive the following arguments,
    which CANNOT be part of the below list of arguments:
    
    --id
    The value of the id argument is a string with the engine-assigned
    id of this UDF Worker. This can be used in logs and other state information.
    
    --connection
    The value of the connection argument is a string with
    engine-assinged connection parameters. See [[UDFWorkerProperties]]
    for details.
    
    (Optional)
    

    Arguments passed directly to the executable.
    Examples:
    ["udf_worker.py"]
    [""]
    ["--max_concurrency", "5"]
    ["\"echo 'Test'\""]
    
    Every executable will ALWAYS receive the following arguments,
    which CANNOT be part of the below list of arguments:
    
    --id
    The value of the id argument is a string with the engine-assigned
    id of this UDF Worker. This can be used in logs and other state information.
    
    --connection
    The value of the connection argument is a string with
    engine-assinged connection parameters. See [[UDFWorkerProperties]]
    for details.
    
    (Optional)
    

    repeated string arguments = 2;

    index

    The index of the value to return.

    returns

    The bytes of the arguments at the given index.

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
  13. def getArgumentsCount(): Int

    Arguments passed directly to the executable.
    Examples:
    ["udf_worker.py"]
    [""]
    ["--max_concurrency", "5"]
    ["\"echo 'Test'\""]
    
    Every executable will ALWAYS receive the following arguments,
    which CANNOT be part of the below list of arguments:
    
    --id
    The value of the id argument is a string with the engine-assigned
    id of this UDF Worker. This can be used in logs and other state information.
    
    --connection
    The value of the connection argument is a string with
    engine-assinged connection parameters. See [[UDFWorkerProperties]]
    for details.
    
    (Optional)
    

    Arguments passed directly to the executable.
    Examples:
    ["udf_worker.py"]
    [""]
    ["--max_concurrency", "5"]
    ["\"echo 'Test'\""]
    
    Every executable will ALWAYS receive the following arguments,
    which CANNOT be part of the below list of arguments:
    
    --id
    The value of the id argument is a string with the engine-assigned
    id of this UDF Worker. This can be used in logs and other state information.
    
    --connection
    The value of the connection argument is a string with
    engine-assinged connection parameters. See [[UDFWorkerProperties]]
    for details.
    
    (Optional)
    

    repeated string arguments = 2;

    returns

    The count of arguments.

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
  14. def getArgumentsList(): ProtocolStringList

    Arguments passed directly to the executable.
    Examples:
    ["udf_worker.py"]
    [""]
    ["--max_concurrency", "5"]
    ["\"echo 'Test'\""]
    
    Every executable will ALWAYS receive the following arguments,
    which CANNOT be part of the below list of arguments:
    
    --id
    The value of the id argument is a string with the engine-assigned
    id of this UDF Worker. This can be used in logs and other state information.
    
    --connection
    The value of the connection argument is a string with
    engine-assinged connection parameters. See [[UDFWorkerProperties]]
    for details.
    
    (Optional)
    

    Arguments passed directly to the executable.
    Examples:
    ["udf_worker.py"]
    [""]
    ["--max_concurrency", "5"]
    ["\"echo 'Test'\""]
    
    Every executable will ALWAYS receive the following arguments,
    which CANNOT be part of the below list of arguments:
    
    --id
    The value of the id argument is a string with the engine-assigned
    id of this UDF Worker. This can be used in logs and other state information.
    
    --connection
    The value of the connection argument is a string with
    engine-assinged connection parameters. See [[UDFWorkerProperties]]
    for details.
    
    (Optional)
    

    repeated string arguments = 2;

    returns

    A list containing the arguments.

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. def getCommand(index: Int): String

    Executable to invoke.
    Examples:
    ["python3", "-m"]
    ["worker.bin"]
    ["java", "worker.java"]
    ["/bin/bash", "-c"]
    This executable should be blocking, until the task is finished.
    Termination is requested via a SIGTERM signal.
    
    Success/Failure can be indicated via exit codes:
    Exit code 0    -> Success
    Exit code != 0 -> Failure
    
    (Required)
    

    Executable to invoke.
    Examples:
    ["python3", "-m"]
    ["worker.bin"]
    ["java", "worker.java"]
    ["/bin/bash", "-c"]
    This executable should be blocking, until the task is finished.
    Termination is requested via a SIGTERM signal.
    
    Success/Failure can be indicated via exit codes:
    Exit code 0    -> Success
    Exit code != 0 -> Failure
    
    (Required)
    

    repeated string command = 1;

    index

    The index of the element to return.

    returns

    The command at the given index.

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
  17. def getCommandBytes(index: Int): ByteString

    Executable to invoke.
    Examples:
    ["python3", "-m"]
    ["worker.bin"]
    ["java", "worker.java"]
    ["/bin/bash", "-c"]
    This executable should be blocking, until the task is finished.
    Termination is requested via a SIGTERM signal.
    
    Success/Failure can be indicated via exit codes:
    Exit code 0    -> Success
    Exit code != 0 -> Failure
    
    (Required)
    

    Executable to invoke.
    Examples:
    ["python3", "-m"]
    ["worker.bin"]
    ["java", "worker.java"]
    ["/bin/bash", "-c"]
    This executable should be blocking, until the task is finished.
    Termination is requested via a SIGTERM signal.
    
    Success/Failure can be indicated via exit codes:
    Exit code 0    -> Success
    Exit code != 0 -> Failure
    
    (Required)
    

    repeated string command = 1;

    index

    The index of the value to return.

    returns

    The bytes of the command at the given index.

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
  18. def getCommandCount(): Int

    Executable to invoke.
    Examples:
    ["python3", "-m"]
    ["worker.bin"]
    ["java", "worker.java"]
    ["/bin/bash", "-c"]
    This executable should be blocking, until the task is finished.
    Termination is requested via a SIGTERM signal.
    
    Success/Failure can be indicated via exit codes:
    Exit code 0    -> Success
    Exit code != 0 -> Failure
    
    (Required)
    

    Executable to invoke.
    Examples:
    ["python3", "-m"]
    ["worker.bin"]
    ["java", "worker.java"]
    ["/bin/bash", "-c"]
    This executable should be blocking, until the task is finished.
    Termination is requested via a SIGTERM signal.
    
    Success/Failure can be indicated via exit codes:
    Exit code 0    -> Success
    Exit code != 0 -> Failure
    
    (Required)
    

    repeated string command = 1;

    returns

    The count of command.

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
  19. def getCommandList(): ProtocolStringList

    Executable to invoke.
    Examples:
    ["python3", "-m"]
    ["worker.bin"]
    ["java", "worker.java"]
    ["/bin/bash", "-c"]
    This executable should be blocking, until the task is finished.
    Termination is requested via a SIGTERM signal.
    
    Success/Failure can be indicated via exit codes:
    Exit code 0    -> Success
    Exit code != 0 -> Failure
    
    (Required)
    

    Executable to invoke.
    Examples:
    ["python3", "-m"]
    ["worker.bin"]
    ["java", "worker.java"]
    ["/bin/bash", "-c"]
    This executable should be blocking, until the task is finished.
    Termination is requested via a SIGTERM signal.
    
    Success/Failure can be indicated via exit codes:
    Exit code 0    -> Success
    Exit code != 0 -> Failure
    
    (Required)
    

    repeated string command = 1;

    returns

    A list containing the command.

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
  20. def getDefaultInstanceForType(): ProcessCallable
    Definition Classes
    ProcessCallable → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  21. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  22. def getEnvironmentVariablesCount(): Int

    Environment variables for the invoked process.
    
    (Optional)
    

    Environment variables for the invoked process.
    
    (Optional)
    

    map<string, string> environment_variables = 3;

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
  23. def getEnvironmentVariablesMap(): Map[String, String]

    Environment variables for the invoked process.
    
    (Optional)
    

    Environment variables for the invoked process.
    
    (Optional)
    

    map<string, string> environment_variables = 3;

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
    Annotations
    @Override()
  24. def getEnvironmentVariablesOrDefault(key: String, defaultValue: String): String

    Environment variables for the invoked process.
    
    (Optional)
    

    Environment variables for the invoked process.
    
    (Optional)
    

    map<string, string> environment_variables = 3;

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
    Annotations
    @Override()
  25. def getEnvironmentVariablesOrThrow(key: String): String

    Environment variables for the invoked process.
    
    (Optional)
    

    Environment variables for the invoked process.
    
    (Optional)
    

    map<string, string> environment_variables = 3;

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
    Annotations
    @Override()
  26. def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  27. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  28. def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessage → AbstractMessage → MessageOrBuilder
  29. def getParserForType(): Parser[ProcessCallable]
    Definition Classes
    ProcessCallable → GeneratedMessage → Message → MessageLite
    Annotations
    @Override()
  30. def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  31. def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  32. def getSerializedSize(): Int
    Definition Classes
    ProcessCallable → GeneratedMessage → AbstractMessage → MessageLite
    Annotations
    @Override()
  33. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  34. def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  35. def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessage → AbstractMessage → MessageOrBuilder
  36. def hashCode(): Int
    Definition Classes
    ProcessCallable → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  37. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[worker]
    Definition Classes
    ProcessCallable → GeneratedMessage
    Annotations
    @Override()
  38. def internalGetMapFieldReflection(number: Int): MapFieldReflectionAccessor
    Attributes
    protected[worker]
    Definition Classes
    ProcessCallable → GeneratedMessage
    Annotations
    @SuppressWarnings() @Override()
  39. final def isInitialized(): Boolean
    Definition Classes
    ProcessCallable → GeneratedMessage → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  40. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  41. def makeExtensionsImmutable(): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[worker]
    Definition Classes
    ProcessCallable → AbstractMessage
    Annotations
    @Override()
  44. def newBuilderForType(): Builder
    Definition Classes
    ProcessCallable → Message → MessageLite
    Annotations
    @Override()
  45. def newInstance(unused: UnusedPrivateParameter): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  48. def parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[java.io.IOException])
  49. def parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[java.io.IOException])
  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. def toBuilder(): Builder
    Definition Classes
    ProcessCallable → Message → MessageLite
    Annotations
    @Override()
  52. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  53. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  54. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  58. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  59. def writeReplace(): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[java.io.ObjectStreamException])
  60. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    ProcessCallable → GeneratedMessage → AbstractMessage → MessageLite
    Annotations
    @Override()
  61. def writeTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])

Deprecated Value Members

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

    (Since version 9)

  2. def getEnvironmentVariables(): Map[String, String]

    Use #getEnvironmentVariablesMap() instead.

    Use #getEnvironmentVariablesMap() instead.

    Definition Classes
    ProcessCallableProcessCallableOrBuilder
    Annotations
    @Override() @Deprecated
    Deprecated
  3. def internalGetMapField(fieldNumber: Int): MapField[_ <: AnyRef, _ <: AnyRef]
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @Deprecated
    Deprecated
  4. def mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
    Deprecated

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from AbstractMessage

Inherited from Message

Inherited from MessageOrBuilder

Inherited from AbstractMessageLite[MessageType, BuilderType]

Inherited from MessageLite

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped