Class

org.hammerlab.cli.app.spark

PathApp

Related Doc: package spark

Permalink

abstract class PathApp[Opts] extends ArgsOutPathApp[Opts] with HasSparkContext with HasPrintLimit with Kryo

HasSparkContext that takes an input path and prints some information to stdout or a path, with optional truncation of such output.

Linear Supertypes
HasPrintLimit, HasPrinter, CanPrint, HasSparkContext, Logging, HasSparkConf, Speculation, EventLog, DynamicAllocation, Kryo, kryo.Registrar, SparkConfBase, ArgsOutPathApp[Opts], OutPathApp, app.PathApp[Opts], App[Opts], Serializable, Serializable, CloseableProxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathApp
  2. HasPrintLimit
  3. HasPrinter
  4. CanPrint
  5. HasSparkContext
  6. Logging
  7. HasSparkConf
  8. Speculation
  9. EventLog
  10. DynamicAllocation
  11. Kryo
  12. Registrar
  13. SparkConfBase
  14. ArgsOutPathApp
  15. OutPathApp
  16. PathApp
  17. App
  18. Serializable
  19. Serializable
  20. CloseableProxy
  21. AnyRef
  22. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PathApp(_args: Args[Opts], reg: Registrar = noop)(implicit c: Closeable)

    Permalink

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. def apply(implicit kryo: Kryo): Unit

    Permalink
    Definition Classes
    Registrar
  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 def conf: Configuration

    Permalink
    Definition Classes
    HasSparkContext
  11. implicit val container: Closeable

    Permalink
    Definition Classes
    AppCloseableProxy
  12. def debug(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  13. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  14. def debug(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  15. def deinit(fn: ⇒ Unit): Unit

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def error(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  20. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. def error(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  22. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. def info(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def info(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def isDebugEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def isErrorEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def isInfoEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def isTraceEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def isWarnEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def listenerBusSize: Int

    Permalink
    Definition Classes
    EventLog
  35. def logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. def loggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def makeSparkConf: SparkConf

    Permalink
    Attributes
    protected
    Definition Classes
    SparkConfBase
  38. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  41. implicit val opts: Opts

    Permalink
    Attributes
    protected
    Definition Classes
    App
  42. implicit val outPath: Option[Path]

    Permalink
    Definition Classes
    ArgsOutPathAppOutPathApp
  43. implicit val path: Path

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

    Permalink
    Definition Classes
    CanPrint
  45. 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
  46. def print(l1: Lines, l2: Lines, rest: Lines*)(implicit printer: Printer): Unit

    Permalink
    Definition Classes
    CanPrint
  47. implicit def printLimit[Opts](implicit args: Args[Opts], select: PrintLimit[Opts]): SampleSize

    Permalink
    Definition Classes
    HasPrintLimit
  48. 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
  49. def referenceTracking: Boolean

    Permalink
    Definition Classes
    Kryo
  50. def register(registrations: Registration*): Unit

    Permalink
    Definition Classes
    Registrar
  51. def registrar[T <: KryoRegistrator](implicit ct: ClassTag[T]): Unit

    Permalink
    Definition Classes
    Kryo
  52. def registrar(userRegistrar: UserRegistrar): Unit

    Permalink
    Definition Classes
    Kryo
  53. def registrationRequired: Boolean

    Permalink
    Definition Classes
    Kryo
  54. 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
  55. implicit def sc: SparkContext

    Permalink
    Definition Classes
    HasSparkContext
  56. def sparkConf(confs: (String, String)*): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SparkConfBase
  57. def sparkConfs: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    SparkConfBase
  58. def speculationInterval: Int

    Permalink
    Definition Classes
    Speculation
  59. def speculationMultiplier: Double

    Permalink
    Definition Classes
    Speculation
  60. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  61. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  62. def trace(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  63. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  64. def trace(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  65. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. def warn(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  69. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  70. def warn(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  71. def write(os: Lines*)(implicit printer: Printer): Unit

    Permalink
    Definition Classes
    CanPrint

Inherited from HasPrintLimit

Inherited from HasPrinter

Inherited from CanPrint

Inherited from HasSparkContext

Inherited from Logging

Inherited from HasSparkConf

Inherited from Speculation

Inherited from EventLog

Inherited from DynamicAllocation

Inherited from Kryo

Inherited from kryo.Registrar

Inherited from SparkConfBase

Inherited from ArgsOutPathApp[Opts]

Inherited from OutPathApp

Inherited from app.PathApp[Opts]

Inherited from App[Opts]

Inherited from Serializable

Inherited from Serializable

Inherited from CloseableProxy

Inherited from AnyRef

Inherited from Any

Ungrouped