Packages

trait CmdScriptBase extends ParsableScriptDef with SmartDataLakeLogger

Generic implementation of calling ProcessBuilder for different scripts executing command line On execution value of parameter map entries where key starts with 'param' will be added as parameter to command. If return value is not zero an exception is thrown.

Annotations
@Scaladoc()
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CmdScriptBase
  2. SmartDataLakeLogger
  3. ParsableScriptDef
  4. ParsableFromConfig
  5. ScriptDef
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def description: Option[String]
    Definition Classes
    ScriptDef
  2. abstract def factory: FromConfigFactory[ParsableScriptDef]

    Returns the factory that can parse this type (that is, type CO).

    Returns the factory that can parse this type (that is, type CO).

    Typically, implementations of this method should return the companion object of the implementing class. The companion object in turn should implement FromConfigFactory.

    returns

    the factory (object) for this class.

    Definition Classes
    ParsableFromConfig
    Annotations
    @Scaladoc()
  3. abstract def name: String
    Definition Classes
    ScriptDef

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( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def execStdOutStream(configObjectId: ConfigObjectId, partitionValues: Seq[PartitionValues], parameters: Map[String, String], errors: Buffer[String] = mutable.Buffer())(implicit context: ActionPipelineContext): Stream[String]

    Function to be implemented to execute command and return stdout as Stream of lines.

    Function to be implemented to execute command and return stdout as Stream of lines.

    configObjectId

    id of the action which executes this transformation. This is mainly used to prefix error messages.

    partitionValues

    partition values to transform

    parameters

    key-value parameters

    errors

    an optional Buffer to collect stdErr messages

    returns

    standard output of script as Stream of lines

    Definition Classes
    CmdScriptBaseScriptDef
  9. def execStdOutString(configObjectId: ConfigObjectId, partitionValues: Seq[PartitionValues], parameters: Map[String, String], errors: Buffer[String] = mutable.Buffer())(implicit context: ActionPipelineContext): String

    Function to be implemented to execute command and return stdout as String.

    Function to be implemented to execute command and return stdout as String.

    configObjectId

    id of the action or dataobject which executes this transformation. This is mainly used to prefix error messages.

    partitionValues

    partition values to transform

    parameters

    key-value parameters

    errors

    an optional Buffer to collect stdErr messages

    returns

    standard output of script as String

    Definition Classes
    CmdScriptBaseScriptDef
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    SmartDataLakeLogger
    Annotations
    @transient()
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from SmartDataLakeLogger

Inherited from ParsableScriptDef

Inherited from ParsableFromConfig[ParsableScriptDef]

Inherited from ScriptDef

Inherited from AnyRef

Inherited from Any

Ungrouped