Class

org.hammerlab.cli.app

IndexingApp

Related Doc: package app

Permalink

case class IndexingApp[Opts](suffix: String, args: Args[Opts])(implicit evidence$1: Parser[Opts], c: Closeable) extends PathApp[Opts] with OutPathApp with HasPrinter with Product with Serializable

Interface for apps that take a Path and "index" it in some way, generating an output file that is by default named by appending an extension to the input path.

suffix

if OutPathApp.outPath is empty, construct an output path by appending this string – prefixed with a "." –  to the argument input path.

Linear Supertypes
Product, Equals, HasPrinter, CanPrint, OutPathApp, PathApp[Opts], App[Opts], Serializable, Serializable, CloseableProxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IndexingApp
  2. Product
  3. Equals
  4. HasPrinter
  5. CanPrint
  6. OutPathApp
  7. PathApp
  8. App
  9. Serializable
  10. Serializable
  11. CloseableProxy
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IndexingApp(suffix: String, args: Args[Opts])(implicit arg0: Parser[Opts], c: Closeable)

    Permalink

    suffix

    if OutPathApp.outPath is empty, construct an output path by appending this string – prefixed with a "." –  to the argument input path.

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. val _args: Args[Opts]

    Permalink
    Attributes
    protected
    Definition Classes
    App
  5. implicit val _iargs: Args[Opts]

    Permalink
    Attributes
    protected
    Definition Classes
    App
  6. implicit val _indent: tab.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasPrinter
  7. val args: Args[Opts]

    Permalink
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. implicit val container: Closeable

    Permalink
    Definition Classes
    AppCloseableProxy
  11. def deinit(fn: ⇒ Unit): Unit

    Permalink
    Definition Classes
    CloseableProxy
  12. def echo(os: Lines*)(implicit printer: Printer): Unit

    Permalink
    Definition Classes
    CanPrint
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. implicit val opts: Opts

    Permalink
    Attributes
    protected
    Definition Classes
    App
  21. def outPath: Option[Path]

    Permalink
    Definition Classes
    IndexingAppOutPathApp
  22. implicit val path: Path

    Permalink
    Definition Classes
    PathApp
  23. def print[T](list: Seq[T], header: String, truncatedHeader: (Int) ⇒ String)(implicit arg0: ToLines[T], printer: Printer, sampleSize: SampleSize): Unit

    Permalink
    Definition Classes
    CanPrint
  24. def print[T](samples: Seq[T], populationSize: Long, header: String, truncatedHeader: (Int) ⇒ String)(implicit arg0: ToLines[T], printer: Printer, sampleSize: SampleSize): Unit

    Permalink
    Definition Classes
    CanPrint
  25. def print(l1: Lines, l2: Lines, rest: Lines*)(implicit printer: Printer): Unit

    Permalink
    Definition Classes
    CanPrint
  26. implicit def printer[Opts](implicit args: Args[Opts], getOverwrite: HasOverwrite[Opts]): Printer

    Permalink

    Lazily construct and cache a Printer in the presence of evidence that Opts has an overwrite: Boolean field.

    Lazily construct and cache a Printer in the presence of evidence that Opts has an overwrite: Boolean field.

    Interpretable as a work-around for traits' inability to take evidence parameters

    Definition Classes
    HasPrinter
  27. def run(): Unit

    Permalink

    Optionally wrap functionality in this method, if e.g.

    Optionally wrap functionality in this method, if e.g. this App is expected to be serialized and some things shouldn't run on a deserialized version.

    For example: code referencing a org.apache.spark.SparkContext shouldn't re-run in an App instance that's been sent to a Spark executor as part of a task closure).

    An example of logic to *not* wrap in run is implicit fields that are to be automatically in-scope in subclasses.

    Definition Classes
    App
  28. val suffix: String

    Permalink

    if OutPathApp.outPath is empty, construct an output path by appending this string – prefixed with a "." –  to the argument input path.

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

    Permalink
    Definition Classes
    AnyRef
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def write(os: Lines*)(implicit printer: Printer): Unit

    Permalink
    Definition Classes
    CanPrint

Inherited from Product

Inherited from Equals

Inherited from HasPrinter

Inherited from CanPrint

Inherited from OutPathApp

Inherited from PathApp[Opts]

Inherited from App[Opts]

Inherited from Serializable

Inherited from Serializable

Inherited from CloseableProxy

Inherited from AnyRef

Inherited from Any

Ungrouped