com.krux.hyperion.aws

AdpSqlDataNode

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
Learn more about member selection
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]]])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  12. val id: String

    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
  13. val insertQuery: Option[String]

  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. val name: Option[String]

    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
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

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

    The SNS alarm to raise when the current instance fails.

    The SNS alarm to raise when the current instance fails.

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

    The SNS alarm to raise when the current instance succeeds.

    The SNS alarm to raise when the current instance succeeds.

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

    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
  22. val selectQuery: Option[String]

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

    Definition Classes
    AnyRef
  24. val table: String

  25. val type: String

    The type of object.

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

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

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

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

    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