Class

com.krux.hyperion.aws

AdpSqlDataNode

Related Doc: package aws

Permalink

case class AdpSqlDataNode(id: String, name: Option[String], database: AdpRef[AdpDatabase], table: String, selectQuery: Option[String], insertQuery: Option[String], precondition: Option[Seq[AdpRef[AdpPrecondition]]], onSuccess: Option[Seq[AdpRef[AdpSnsAlarm]]], onFail: Option[Seq[AdpRef[AdpSnsAlarm]]]) extends AdpDataPipelineAbstractObject with AdpDataNode with Product with Serializable

Example:

{
  "id" : "Sql Table",
  "type" : "MySqlDataNode",
  "schedule" : { "ref" : "CopyPeriod" },
  "table" : "adEvents",
  "selectQuery" : "select * from #{table} where eventTime >= '#{@scheduledStartTime.format('YYYY-MM-dd HH:mm:ss')}' and eventTime < '#{@scheduledEndTime.format('YYYY-MM-dd HH:mm:ss')}'"
}
Source
AdpDataNodes.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AdpDataNode, AdpDataPipelineObject, AdpDataPipelineAbstractObject, AdpObject, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AdpSqlDataNode
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AdpDataNode
  7. AdpDataPipelineObject
  8. AdpDataPipelineAbstractObject
  9. AdpObject
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AdpSqlDataNode(id: String, name: Option[String], database: AdpRef[AdpDatabase], table: String, selectQuery: Option[String], insertQuery: Option[String], precondition: Option[Seq[AdpRef[AdpPrecondition]]], onSuccess: Option[Seq[AdpRef[AdpSnsAlarm]]], onFail: Option[Seq[AdpRef[AdpSnsAlarm]]])

    Permalink

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val database: AdpRef[AdpDatabase]

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. val id: String

    Permalink

    The ID of the object, IDs must be unique within a pipeline definition

    The ID of the object, IDs must be unique within a pipeline definition

    Definition Classes
    AdpSqlDataNodeAdpDataPipelineObjectAdpObject
  11. val insertQuery: Option[String]

    Permalink
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val name: Option[String]

    Permalink

    The optional, user-defined label of the object.

    The optional, user-defined label of the object. If you do not provide a name for an object in a pipeline definition, AWS Data Pipeline automatically duplicates the value of id.

    Definition Classes
    AdpSqlDataNodeAdpDataPipelineObjectAdpDataPipelineAbstractObject
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. val onFail: Option[Seq[AdpRef[AdpSnsAlarm]]]

    Permalink

    The SNS alarm to raise when the current instance fails.

    The SNS alarm to raise when the current instance fails.

    Definition Classes
    AdpSqlDataNodeAdpDataNode
  18. val onSuccess: Option[Seq[AdpRef[AdpSnsAlarm]]]

    Permalink

    The SNS alarm to raise when the current instance succeeds.

    The SNS alarm to raise when the current instance succeeds.

    Definition Classes
    AdpSqlDataNodeAdpDataNode
  19. val precondition: Option[Seq[AdpRef[AdpPrecondition]]]

    Permalink

    A list of precondition objects that must be true for the data node to be valid.

    A list of precondition objects that must be true for the data node to be valid. A data node cannot reach the READY status until all its conditions are met. Preconditions do not have their own schedule or identity, instead they run on the schedule of the activity or data node with which they are associated.

    Definition Classes
    AdpSqlDataNodeAdpDataNode
  20. val selectQuery: Option[String]

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. val table: String

    Permalink
  23. val type: String

    Permalink

    The type of object.

    The type of object. Use one of the predefined AWS Data Pipeline object types.

    Definition Classes
    AdpSqlDataNodeAdpDataPipelineObject
  24. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AdpDataNode

Inherited from AdpDataPipelineObject

Inherited from AdpObject

Inherited from AnyRef

Inherited from Any

Ungrouped