com.bfm.topnotch.tnengine

TnEngine

class TnEngine extends Logging

The class for running a plan.

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TnEngine
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TnEngine(sqlContext: SQLContext)

    sqlContext

    The context used to access the Spark cluster

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. def collectErrors(cmds: Seq[TnCmd]): Option[String]

    Collect all the TnErrorCmds in a TnCmd sequence into one error string

    Collect all the TnErrorCmds in a TnCmd sequence into one error string

    cmds

    The commands to check for errors

    returns

    None if there are no errors or the merged string to throw if there are errors.

    Attributes
    protected[com.bfm.topnotch.tnengine]
  9. val dataframeLookupTable: Map[String, DataFrame]

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

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

    Definition Classes
    AnyRef → Any
  12. def executeCommands(cmds: Seq[TnCmd], assertionRunner: TnAssertionRunner, diffCreator: TnDiffCreator, viewCreator: TnViewCreator): Unit

    Execute a sequence of commands

    Execute a sequence of commands

    cmds

    The commands to execute

    assertionRunner

    The instance of TnAssertionRunner to use to run the assertion commands

    diffCreator

    The instance of TnDiffCreator to use to run the diff commands

    viewCreator

    The instance of TnViewCreator to use to run the view commands

    Attributes
    protected[com.bfm.topnotch.tnengine]
  13. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  15. def getInputDF(input: Input): DataFrame

    Get the input data, either from the lookup table or from disk

    Get the input data, either from the lookup table or from disk

    input

    The input to get

    returns

    The input data set as a dataframe

    Attributes
    protected[com.bfm.topnotch.tnengine]
  16. def getPersister(rootConfig: Config): TnPersister

    Get the appropriate persister object depending on the configuration file

    Get the appropriate persister object depending on the configuration file

    rootConfig

    The root of the config file

    Attributes
    protected[com.bfm.topnotch.tnengine]
  17. def hashCode(): Int

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

    Definition Classes
    Any
  19. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  20. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  27. def logName: String

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  35. def parseCommands(rootConfig: Config): Seq[TnCmd]

    Parse the given config file for commands and report all valid or invalid commands

    Parse the given config file for commands and report all valid or invalid commands

    rootConfig

    The root of the config file

    returns

    The list of commands, either valid commands to run or errors of incorrectly specified commands

    Attributes
    protected[com.bfm.topnotch.tnengine]
  36. def run(configFile: String): Unit

    Parse a plan file and then run the desired commands

    Parse a plan file and then run the desired commands

    configFile

    The name of the plan file to load

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

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped