Object

com.alpine.plugin.core.utils

DBParameterUtils

Related Doc: package utils

Permalink

object DBParameterUtils extends TableOutputParameterUtils

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DBParameterUtils
  2. TableOutputParameterUtils
  3. OutputParameterUtils
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def addDBSchemaDropDownBox(operatorDialog: OperatorDialog, defaultSchema: String = defaultDatabaseName): DialogElement

    Permalink

    Use in the GUINode: Adds the schema drop down box, "outputSchema" to the operatorDialog and returns the DialogElement

    Use in the GUINode: Adds the schema drop down box, "outputSchema" to the operatorDialog and returns the DialogElement

    Definition Classes
    TableOutputParameterUtils
  5. def addDropIfExistsParameter(operatorDialog: OperatorDialog, defaultValue: Boolean = true): DialogElement

    Permalink

    For use with database, not HDFS.

    For use with database, not HDFS.

    operatorDialog

    From the 'onExecution' method's parameters. This method adds the parameters to this object.

    defaultValue

    boolean indicating default value of the parameter. True for "Yes", false for "No".

    returns

    The dialog element added.

    Definition Classes
    OutputParameterUtils
  6. def addOverwriteParameter(operatorDialog: OperatorDialog, defaultValue: Boolean = true): DialogElement

    Permalink
    Definition Classes
    OutputParameterUtils
  7. def addResultTableNameParameter(operatorDialog: OperatorDialog, defaultTableName: String = defaultTableName, label: String = "Result Table Name"): DialogElement

    Permalink
    Definition Classes
    TableOutputParameterUtils
  8. def addStandardDBOutputParameters(operatorDialog: OperatorDialog, defaultOutputName: String = defaultTableName): Seq[DialogElement]

    Permalink

    Adds parameters to your operator to allow the user to determine how the output of the database operator will be written.

    Adds parameters to your operator to allow the user to determine how the output of the database operator will be written. This method adds the following parameters. -- "viewOrTable": a radio button which lets the user choose whether to store the output as a view or a table -- "outputSchema": a drop down with all the defined schemas in the database, so that the user can pick their output schema. -- "dropIfExists" : Inherited from the super class. A radio button so the user can select to drop the output table/view if it already exists or throw an exception. -- "outputName" : The name of the output table. The default is the userID+the workflow name + the operator UUID

    operatorDialog

    From the 'onExecution' method's parameters. This method adds the parameters to this object.

    defaultOutputName

    Optional. If you would like the default output to be something other than "tmpTable"

    returns

    A sequence of each of the parameters that were created and added to the operatorDialog

  9. def addViewOrTableRadioButton(operatorDialog: OperatorDialog): DialogElement

    Permalink
    Definition Classes
    TableOutputParameterUtils
  10. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val defaultDatabaseName: String

    Permalink
    Definition Classes
    TableOutputParameterUtils
  13. val defaultTableName: String

    Permalink

    Static values which will be used as parameter keys

    Static values which will be used as parameter keys

    Definition Classes
    TableOutputParameterUtils
  14. val dropIfExists: String

    Permalink
    Definition Classes
    OutputParameterUtils
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getDBOutputSchemaParam(parameters: OperatorParameters): String

    Permalink

    Use in the runtime class: Gets the value of "outputSchema" parameter

    Use in the runtime class: Gets the value of "outputSchema" parameter

    parameters

    OperatorParameters instance [containing the "outputSchema" parameter].

    returns

    the output schema name

    Annotations
    @throws( classOf[NullPointerException] )
    Exceptions thrown

    java.lang.NullPointerException if the parameter wasn't added to the parameters object

  20. def getDropIfExistsParameterValue(parameters: OperatorParameters): Boolean

    Permalink

    Gets the value of the dropIfExists parameter, returning true if the String value is "Yes", false if it is a different value or missing.

    Gets the value of the dropIfExists parameter, returning true if the String value is "Yes", false if it is a different value or missing.

    parameters

    OperatorParameters instance [containing the dropIfExists parameter].

    returns

    Boolean representation of the dropIfExists parameter.

    Definition Classes
    OutputParameterUtils
  21. def getIsViewParam(parameters: OperatorParameters): Boolean

    Permalink

    Use in the runtime class: Gets the value of "isViewOrTable" parameter and returns true if the user set the radio button to "view"

    Use in the runtime class: Gets the value of "isViewOrTable" parameter and returns true if the user set the radio button to "view"

    parameters

    OperatorParameters instance [containing the "viewOrTable" parameter].

    returns

    if the user selected "view"

    Definition Classes
    TableOutputParameterUtils
    Annotations
    @throws( classOf[NullPointerException] )
    Exceptions thrown

    java.lang.NullPointerException if the parameter wasn't added to the parameters object

  22. def getOverwriteParameterValue(parameters: OperatorParameters): Boolean

    Permalink

    Gets the value of the overwrite parameter, returning true if the String value is "true", false if it is a different value or missing.

    Gets the value of the overwrite parameter, returning true if the String value is "true", false if it is a different value or missing.

    parameters

    OperatorParameters instance [containing the overwrite parameter].

    returns

    Boolean representation of the overwrite parameter.

    Definition Classes
    OutputParameterUtils
  23. def getResultTableName(parameters: OperatorParameters): String

    Permalink

    Gets the value of the table name parameter.

    Gets the value of the table name parameter. Note: In in PostgresSQL database names containing capital letters will need to be double quoted.

    parameters

    OperatorParameters instance [containing the "resultTableName" parameter].

    returns

    the output table name

    Definition Classes
    TableOutputParameterUtils
    Annotations
    @throws( classOf[NullPointerException] )
    Exceptions thrown

    java.lang.NullPointerException if the parameter wasn't added to the parameters object

  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. val operatorNameUUIDVariable: String

    Permalink
    Definition Classes
    OutputParameterUtils
  30. val outputSchemaParameterId: String

    Permalink
    Definition Classes
    TableOutputParameterUtils
  31. val overwriteParameterID: String

    Permalink
    Definition Classes
    OutputParameterUtils
  32. val resultTableNameParameterID: String

    Permalink
    Definition Classes
    TableOutputParameterUtils
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. val tableKey: String

    Permalink
    Definition Classes
    TableOutputParameterUtils
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. val viewKey: String

    Permalink
    Definition Classes
    TableOutputParameterUtils
  37. val viewOrTableParameterKey: String

    Permalink
    Definition Classes
    TableOutputParameterUtils
  38. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. def addDBSchemaDropDown(operatorDialog: OperatorDialog, operatorDataSourceManager: OperatorDataSourceManager, defaultSchema: String = defaultDatabaseName): DialogElement

    Permalink

    Use in the GUINode: Adds the schema drop down box, "outputSchema" to the operatorDialog and returns the DialogElement

    Use in the GUINode: Adds the schema drop down box, "outputSchema" to the operatorDialog and returns the DialogElement

    Definition Classes
    TableOutputParameterUtils
    Annotations
    @deprecated
    Deprecated
  2. def addStandardDatabaseOutputParameters(operatorDialog: OperatorDialog, dataSourceManager: OperatorDataSourceManager, defaultOutputName: String = defaultTableName): Seq[DialogElement]

    Permalink
    Annotations
    @deprecated
    Deprecated

Inherited from TableOutputParameterUtils

Inherited from OutputParameterUtils

Inherited from AnyRef

Inherited from Any

Ungrouped