Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

classpath_separator: string = ...
schemaAndTables: string[]
resultsFolder: string = ...

Methods

  • addToIndexFile(): Promise<void>
  • adds this algorithm execution to the index file. The index file is used to locate metanome result files. Previously, the file was identified by concatenating the table names in the file name, but this was impossible since file names have limited length

    Returns Promise<void>

  • algoClass(): string
  • algoJarPath(): string
  • classpath(): string
  • Defines the needed classes to run the algorithm for the Java CLI

    Returns string

    plattform-dependent string to be used after -cp argument

  • command(): string
  • configString(): string
  • dbPassPath(): string
  • memory(): string
  • Returns string

    a valid java memory string to be put after -xmx Checks whether config.memory is a valid java memory string and returns it if it is, otherwise it will use 75% of total system memory

  • moveFiles(): Promise<void>
  • originalOutputPath(): string
  • outputFileName(): string
  • processFiles(): Promise<void>
  • resultPath(): Promise<string>
  • Returns Promise<string>

    absolute location of a file containing results for these this.schemaAndTables and this algorithm this is the final path after all operations

  • tableKey(): "INPUT_GENERATOR" | "INPUT_FILES"
  • algorithm-specific table key required by the metanome CLI Defines whether the algorithm is made to be used work on files or database tables (we're accessing database tables regardless)

    Returns "INPUT_GENERATOR" | "INPUT_FILES"

Generated using TypeDoc