Packages

c

io.archivesunleashed.app

CommandLineApp

class CommandLineApp extends AnyRef

Main application that parse command line arguments and invoke appropriate extractor.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommandLineApp
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CommandLineApp(conf: CmdAppConf)

    conf

    Scallop option reader constructed with class CmdAppConf

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def handler(): Any

    Prepare for invoking extractors.

    Prepare for invoking extractors.

    returns

    Any

  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def process(): Any

    Process the handler.

    Process the handler.

    returns

    Any

  16. def saveCsv(d: Dataset[Row]): Unit

    Routine for saving Dataset obtained from querying DataFrames to CSV.

    Routine for saving Dataset obtained from querying DataFrames to CSV. Files may be merged according to options specified in 'partition' setting.

    d

    generic dataset obtained from querying DataFrame

    returns

    Unit

  17. def saveParquet(d: Dataset[Row]): Unit

    Routine for saving Dataset obtained from querying DataFrames to Parquet.

    Routine for saving Dataset obtained from querying DataFrames to Parquet. Files may be merged according to options specified in 'partition' setting.

    d

    generic dataset obtained from querying DataFrame

    returns

    Unit

  18. def setAppName(): String

    Set the app name.

    Set the app name.

    returns

    String

  19. def setSparkContext(sc: SparkContext): Unit

    Set Spark context to be used.

    Set Spark context to be used.

    sc

    either a brand new or existing Spark context

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def verifyArgumentsOrExit(): Unit

    Verify the validity of command line arguments regarding input and output files.

    Verify the validity of command line arguments regarding input and output files.

    All input files need to exist, and ouput files should not exist, for this to pass. Throws exception if condition is not met.

    returns

    Unit

    Exceptions thrown

    IllegalArgumentException exception thrown

  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped