Class

com.coxautodata.waimak.dataflow.spark

FSCleanUp

Related Doc: package spark

Permalink

class FSCleanUp extends SparkDataFlowAction with Logging

Action that deletes snapshots based on the cleanup strategy. It can cleanup one or more labels.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FSCleanUp
  2. Logging
  3. SparkDataFlowAction
  4. DataFlowAction
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FSCleanUp(baseFolder: String, toRemove: CleanUpStrategy[FileStatus], inputLabels: List[String], actionName: String = "FSCleanUp")

    Permalink

    baseFolder

    root folder that contains label folders

    toRemove

    returns list of snapshot/folder to remove

    inputLabels

    list of labels, whose snapshots need to be cleaned up

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val actionName: String

    Permalink

    For representing the action

    For representing the action

    Definition Classes
    FSCleanUpDataFlowAction
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def description: String

    Permalink
    Definition Classes
    DataFlowAction
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flowState(inputs: DataFlowEntities): DataFlowActionState

    Permalink

    Action has the responsibility of assessing itself and produce DataFlowActionState, that will be used by the executors to determine if they can call performAction or not.

    Action has the responsibility of assessing itself and produce DataFlowActionState, that will be used by the executors to determine if they can call performAction or not. Also can be used for progress monitoring. This will allow for more custom actions without modifying the executors

    inputs

    - action will study the state of the inputs in order to generate self assessment

    returns

    - an instance of the DataFlowActionState

    Definition Classes
    DataFlowAction
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. val guid: String

    Permalink

    Unique id of the action, but using it for adding behaviours can be problematic due to Interceptors that are defined at a much later stage.

    Unique id of the action, but using it for adding behaviours can be problematic due to Interceptors that are defined at a much later stage. Because of that ActionSchedulers must NOT use this guid.

    Definition Classes
    DataFlowAction
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. val inputLabels: List[String]

    Permalink

    list of labels, whose snapshots need to be cleaned up

    list of labels, whose snapshots need to be cleaned up

    Definition Classes
    FSCleanUpDataFlowAction
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  18. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  19. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  20. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  22. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. def logLabel: String

    Permalink
    Definition Classes
    DataFlowAction
  25. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. val outputLabels: List[String]

    Permalink

    The unique identifiers for the outputs to this action

    The unique identifiers for the outputs to this action

    Definition Classes
    FSCleanUpDataFlowAction
  34. def performAction(inputs: DataFlowEntities, flowContext: SparkFlowContext): Try[ActionResult]

    Permalink

    Perform the action

    Perform the action

    inputs

    the DataFlowEntities corresponding to the inputLabels

    flowContext

    context of the flow in which this action runs

    returns

    the action outputs (these must be declared in the same order as their labels in outputLabels)

    Definition Classes
    FSCleanUpSparkDataFlowAction
  35. def performAction[C <: FlowContext](inputs: DataFlowEntities, flowContext: C): Try[ActionResult]

    Permalink

    Perform the action

    Perform the action

    inputs

    the DataFlowEntities corresponding to the inputLabels

    flowContext

    context of the flow in which this action runs

    returns

    the action outputs (these must be declared in the same order as their labels in outputLabels)

    Definition Classes
    SparkDataFlowActionDataFlowAction
  36. def requiresAllInputs: Boolean

    Permalink

    This action can only be executed if all of the inputs are not empty.

    This action can only be executed if all of the inputs are not empty. An input can be explicitly marked as empty. If false, than one or more inputs can be empty to start execution.

    Definition Classes
    DataFlowAction
  37. def schedulingGuid: String

    Permalink

    Interceptors must not override this property, as certain behaviours of the data flow (Ex, execution pools) will be associated with this scheduling guid.

    Interceptors must not override this property, as certain behaviours of the data flow (Ex, execution pools) will be associated with this scheduling guid. Also ActionScheduler will use this guid to track scheduled actions.

    Definition Classes
    DataFlowAction
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from SparkDataFlowAction

Inherited from DataFlowAction

Inherited from AnyRef

Inherited from Any

Ungrouped