c

com.datasolvr.services.runner

RunnerCoreFacade

class RunnerCoreFacade extends ServiceCoreFacade with RunnerFacade

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RunnerCoreFacade
  2. RunnerFacade
  3. ServiceFacade
  4. ServiceCoreFacade
  5. Logging
  6. LoggingLike
  7. RealTimeAware
  8. ServiceFacadeBase
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RunnerCoreFacade(facadeEnvironment: ServiceFacadeEnvironment, environment: String, runnerHostname: String, auth: SystemAuth)

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. val auth: SystemAuth
    Attributes
    protected
    Definition Classes
    RunnerCoreFacadeServiceCoreFacade
  6. def authorization: AuthorizationManager
    Definition Classes
    ServiceCoreFacade
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. def debug(message: => String, context: => String = getClass.getSimpleName): Unit
    Definition Classes
    LoggingLike
  9. def debugScope[T](message: (Int) => String, context: => String = getClass.getSimpleName)(action: => T): T
    Definition Classes
    LoggingLike
  10. val environment: String
    Definition Classes
    RunnerCoreFacadeServiceFacadeBase
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def error(message: => String, context: => String = getClass.getSimpleName): Unit
    Definition Classes
    LoggingLike
  14. def error(e: Throwable): Unit
    Definition Classes
    LoggingLike
  15. val facadeEnvironment: ServiceFacadeEnvironment
  16. def getBuildInfo: BuildLabels
    Definition Classes
    ServiceCoreFacade
  17. def getCacheStatistics: Array[CacheStatistics]
    Definition Classes
    ServiceCoreFacadeServiceFacadeBase
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. def getExecutableForTransformForPipeline(pipeline: PipelineContent, transform: String): String

    Builds a scala code snippet that includes the transform code of a pipeline definition and compiles as a standalone file, assuming all library dependencies are present.

    Builds a scala code snippet that includes the transform code of a pipeline definition and compiles as a standalone file, assuming all library dependencies are present.

    pipeline

    The pipeline definition.

    transform

    The id of the transform to use.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  20. def getFile(path: String, outputStream: OutputStream): Unit
    Definition Classes
    ServiceCoreFacadeServiceFacadeBase
  21. def getLogLevel: String
    Definition Classes
    ServiceCoreFacadeServiceFacadeBase
  22. val getOutputDefaultLocale: String

    The default value for locale used in the API.

    The default value for locale used in the API. The value is equal to EnvironmentVariables.DATASOLVR_DEFAULT_OUTPUT_LOCALE.

    Definition Classes
    RunnerFacade
  23. val getOutputDefaultMaxDecimals: Int

    The default value for maxDecimals used in the API.

    The default value for maxDecimals used in the API. The value is equal to EnvironmentVariables.DATASOLVR_DEFAULT_MAX_DECIMALS.

    Definition Classes
    RunnerFacade
  24. def getPerformanceMetrics: PerformanceMetrics
    Definition Classes
    ServiceCoreFacadeServiceFacadeBase
  25. def getSparkUIEndpoint: String

    The endpoint for contacting the API of the Apache Spark UI.

    The endpoint for contacting the API of the Apache Spark UI. This is used to report progress on job execution similar to what is seen the Spark UI.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  26. def getTestResultsOutputForTransformForPipeline(pipeline: PipelineContent, transform: String, date: LocalDateTime, sampleSize: Option[Int], outputSize: Option[Int], locale: String, maxDecimals: Int, serializeAsJson: Boolean = false): TestResultOutput

    Gets the results of a test execution for given pipeline definition and transform.

    Gets the results of a test execution for given pipeline definition and transform. This does not schedule a new test execution, but assumes that a completed execution matching the parameters exists.

    pipeline

    The pipeline definition.

    transform

    The id of the transform.

    date

    The date to use for running the pipeline.

    sampleSize

    An optional sample size which is applied to all imports in the pipeline.

    outputSize

    An optional output size which is applied as a limit on the output data set.

    locale

    The locale to use when formatting numbers, i.e. 'da'.

    maxDecimals

    The maximum number of decimals to include when formatting numbers.

    serializeAsJson

    When true the result's TestResultOutput.dataTableContent contains a json string else it contains a csv string.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  27. def getTestResultsStatusForPipeline(pipeline: PipelineContent, date: LocalDateTime, sampleSize: Option[Int], outputSize: Option[Int]): Array[TransformTestResultStatus]

    Gets the status of a test execution for each transform in a given pipeline definition.

    Gets the status of a test execution for each transform in a given pipeline definition.

    pipeline

    The pipeline definition.

    date

    The date to use for running the pipeline.

    sampleSize

    An optional sample size which is applied to all imports in the pipeline.

    outputSize

    An optional output size which is applied as a limit on the output data set.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  28. def getVersion: String
    Definition Classes
    ServiceCoreFacadeServiceFacadeBase
  29. def handleMessage(timestamp: LocalDateTime, message: => String, level: String, context: => String): Unit
    Definition Classes
    LoggingLoggingLike
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  31. def info(message: => String, context: => String = getClass.getSimpleName): Unit
    Definition Classes
    LoggingLike
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def isReady: Boolean
    Definition Classes
    ServiceCoreFacadeServiceFacadeBase
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  37. def postAnalyzeCodeForColumns(code: String, tag: String, date: LocalDateTime): Array[Column]

    Get auto-complete column candidates at a given point in a SQL code snippet.

    Get auto-complete column candidates at a given point in a SQL code snippet.

    code

    The information on the code snippet and completion point.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  38. def postAnalyzeCodeForColumnsForPipeline(pipeline: PipelineContent, transform: String): Array[Column]

    Get auto-complete column candidates at a given point in a SQL transform in a pipeline.

    Get auto-complete column candidates at a given point in a SQL transform in a pipeline.

    pipeline

    The pipeline definition.

    transform

    The transform in the pipeline.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  39. def postAutoCompleteCode(codeRequest: AutoCompleteRequest): Array[AutoComplete]

    Get auto-complete candidates at a given point in a code snippet.

    Get auto-complete candidates at a given point in a code snippet.

    codeRequest

    The information on the code snippet and completion point.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  40. def postAutoCompleteCodeForPipeline(pipeline: PipelineContent, transform: String, offset: Int): Array[AutoComplete]

    Get auto-complete candidates at a given point in a transform in a pipeline.

    Get auto-complete candidates at a given point in a transform in a pipeline.

    pipeline

    The pipeline definition.

    transform

    The id of the transform in the pipeline.

    offset

    The character offset for which to obtain auto-complete candidates.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  41. def postCachePurge(id: Option[String]): Unit
    Definition Classes
    ServiceCoreFacadeServiceFacadeBase
  42. def postCancelJobGroupForUser(): Unit

    Cancel all running test executions started by the calling user.

    Cancel all running test executions started by the calling user.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  43. def postCompileCode(codeRequest: CompileRequest): Array[Annotation]

    Get compilation errors for a code snippet in the form of code annotations.

    Get compilation errors for a code snippet in the form of code annotations.

    codeRequest

    The information on the code snippet to compile.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  44. def postCompileCodeForPipeline(pipeline: PipelineContent, transform: String): Array[Annotation]

    Get compilation errors for a transform in a pipeline definition in the form of code annotations.

    Get compilation errors for a transform in a pipeline definition in the form of code annotations.

    pipeline

    The pipeline definition.

    transform

    The transform in the pipeline.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  45. val postDefaultDate: () => LocalDateTime

    The default value for date used in the API.

    The default value for date used in the API. The value is a function that returns the current UTC time.

    Definition Classes
    RunnerFacade
  46. val postDefaultOutputSize: Int

    The default value for outputSize used in the API.

    The default value for outputSize used in the API. The value is 1000.

    Definition Classes
    RunnerFacade
  47. val postDefaultSampleSize: Int

    The default value for sampleSize used in the API.

    The default value for sampleSize used in the API. The value is 200.

    Definition Classes
    RunnerFacade
  48. def postFormatCode(request: FormatRequest): String

    Formats a code snippet.

    Formats a code snippet.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  49. def postGenerateDashboardForSourceSnapshotInfo(snapshotInfo: SourceSnapshotInfo, targetColumn: String): DashboardContent

    Generates a dashboard definition based on a source snapshot and a target column.

    Generates a dashboard definition based on a source snapshot and a target column. This method attempts to generate a meaningful dashboard definition for a given source snapshot and primary target column of interest.

    snapshotInfo

    The source snapshot to generate the dashboard from.

    targetColumn

    The name of the primary column to use for deciding which charts to present.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  50. def postGenerateForSource(description: SourceDescription, options: Map[String, String], tag: String = Tags.empty): SourceContent

    Generates a complete source definition based on the a source description.

    Generates a complete source definition based on the a source description. This method attempts to generate a meaningful source data description by running the source from the the source description and looking at the schema and contents of the resulting data set.

    description

    A description of how to run the source.

    options

    A collections of options the source should be run with.

    tag

    An optional tag the source should be run with.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  51. def postRestart(): Unit
    Definition Classes
    ServiceCoreFacadeServiceFacadeBase
  52. def postTestForPipeline(pipeline: PipelineContent, date: LocalDateTime, sampleSize: Option[Int], outputSize: Option[Int], transform: Option[String], locale: String = getOutputDefaultLocale, maxDecimals: Int = getOutputDefaultMaxDecimals): Unit

    Starts a test execution for a given pipeline definition and (optionally) a specific transform.

    Starts a test execution for a given pipeline definition and (optionally) a specific transform.

    pipeline

    The pipeline definition.

    date

    The date to use for running the pipeline.

    sampleSize

    An optional sample size which is applied to all imports in the pipeline.

    outputSize

    An optional output size which is applied as a limit on the output data set.

    transform

    The id of the transform, or None to run the full pipeline.

    locale

    The locale to use when formatting numbers, i.e. 'da'.

    maxDecimals

    The maximum number of decimals to include when formatting numbers.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  53. def postTestForSource(source: SourceContent, date: LocalDateTime, sampleSize: Option[Int], outputSize: Option[Int], locale: String = getOutputDefaultLocale, maxDecimals: Int = getOutputDefaultMaxDecimals, serializeAsJson: Boolean = false): TestResult

    Starts a test execution for a given source definition.

    Starts a test execution for a given source definition.

    source

    The source definition.

    date

    The date to use for running the source.

    sampleSize

    An optional sample size which is applied to all imports in the pipeline.

    outputSize

    An optional output size which is applied as a limit on the output data set.

    locale

    The locale to use when formatting numbers, i.e. 'da'.

    maxDecimals

    The maximum number of decimals to include when formatting numbers.

    serializeAsJson

    When true the result's TestResultOutput.dataTableContent contains a json string else it contains a csv string.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  54. def postValidateForPlugins(plugins: PluginsContent): Unit

    Check a given collection of custom functions, transforms and modules for validity.

    Check a given collection of custom functions, transforms and modules for validity.

    plugins

    The content to check.

    Definition Classes
    RunnerCoreFacadeRunnerFacade
  55. val runnerHostname: String
  56. def setLogLevel(level: String): Unit
    Definition Classes
    ServiceCoreFacadeServiceFacadeBase
  57. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  58. def toString(): String
    Definition Classes
    AnyRef → Any
  59. def user: String
    Definition Classes
    ServiceCoreFacade
  60. def utcNowJava: LocalDateTime

    The current UTC date and time.

    The current UTC date and time.

    Definition Classes
    RealTimeAware
  61. def utcTodayJava: LocalDateTime

    The current UTC date.

    The current UTC date.

    Definition Classes
    RealTimeAware
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  64. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  65. def waitIsReady(timeoutSeconds: Int, pollIntervalSeconds: Int): Unit
    Definition Classes
    ServiceFacadeBase
  66. def warn(message: => String, context: => String = getClass.getSimpleName): Unit
    Definition Classes
    LoggingLike
  67. def withTimeout(seconds: Int): RunnerFacade
    Definition Classes
    RunnerCoreFacadeServiceFacade
  68. def withTimeout[T](timeoutSeconds: Int, abortAction: () => Unit = () => {})(action: => T): T
    Definition Classes
    ServiceCoreFacade
  69. def withToken(token: UUID): RunnerFacade
    Definition Classes
    RunnerCoreFacadeServiceFacade

Deprecated Value Members

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

    (Since version 9)

Inherited from RunnerFacade

Inherited from ServiceFacade[RunnerFacade]

Inherited from ServiceCoreFacade

Inherited from Logging

Inherited from LoggingLike

Inherited from RealTimeAware

Inherited from ServiceFacadeBase

Inherited from AnyRef

Inherited from Any

Ungrouped