Class/Object

org.apache.spark.repl

SparkILoop

Related Docs: object SparkILoop | package repl

Permalink

class SparkILoop extends ILoop

A Spark-specific interactive shell.

Linear Supertypes
ILoop, LoopCommands, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkILoop
  2. ILoop
  3. LoopCommands
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparkILoop()

    Permalink
  2. new SparkILoop(in0: BufferedReader, out: JPrintWriter)

    Permalink
  3. new SparkILoop(in0: Option[BufferedReader], out: JPrintWriter)

    Permalink

Type Members

  1. class ILoopInterpreter extends IMain

    Permalink
    Definition Classes
    ILoop
  2. class LineCmd extends LoopCommand

    Permalink
    Definition Classes
    LoopCommands
  3. abstract class LoopCommand extends (String) ⇒ Result

    Permalink
    Definition Classes
    LoopCommands
  4. class NullaryCmd extends LoopCommand

    Permalink
    Definition Classes
    LoopCommands
  5. case class Result extends Product with Serializable

    Permalink
    Definition Classes
    LoopCommands
  6. class VarArgsCmd extends LoopCommand

    Permalink
    Definition Classes
    LoopCommands

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. def addReplay(cmd: String): Unit

    Permalink
    Definition Classes
    ILoop
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asyncEcho(async: Boolean, msg: ⇒ String): Unit

    Permalink
    Definition Classes
    ILoop
  7. def asyncMessage(msg: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ILoop
  8. def chooseReader(settings: Settings): InteractiveReader

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def closeInterpreter(): Unit

    Permalink
    Definition Classes
    ILoop
  11. def command(line: String): Result

    Permalink
    Definition Classes
    ILoop
  12. def commands: List[LoopCommand]

    Permalink

    Available commands

    Available commands

    Definition Classes
    SparkILoop → ILoop
  13. def createInterpreter(): Unit

    Permalink
    Definition Classes
    ILoop
  14. def echo(msg: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ILoop
  15. def echoAndRefresh(msg: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ILoop
  16. def echoCommandMessage(msg: String): Unit

    Permalink
    Definition Classes
    ILoop → LoopCommands
  17. def editCommand(what: String, editor: Option[String]): Result

    Permalink
    Definition Classes
    ILoop
  18. def editCommand(what: String): Result

    Permalink
    Definition Classes
    ILoop
  19. def enablePowerMode(isDuringInit: Boolean): Unit

    Permalink
    Definition Classes
    ILoop
  20. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  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 helpCommand(line: String): Result

    Permalink
    Definition Classes
    ILoop
  26. def history: History

    Permalink
    Definition Classes
    ILoop
  27. lazy val historyCommand: LoopCommand { def defaultLines: Int }

    Permalink
    Definition Classes
    ILoop
  28. var in: InteractiveReader

    Permalink
    Definition Classes
    ILoop
  29. def initializeSpark(): Unit

    Permalink
  30. def interpretAllFrom(file: File, verbose: Boolean): Unit

    Permalink
    Definition Classes
    ILoop
  31. final def interpretStartingWith(code: String): Option[String]

    Permalink
    Definition Classes
    ILoop
  32. var intp: IMain

    Permalink
    Definition Classes
    ILoop
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. def lineCommand(what: String): Result

    Permalink
    Definition Classes
    ILoop
  35. def loadCommand(arg: String): Result

    Permalink
    Definition Classes
    ILoop
  36. def loadFiles(settings: Settings): Unit

    Permalink

    We override loadFiles because we need to initialize Spark *before* the REPL sees any files, so that the Spark context is visible in those files.

    We override loadFiles because we need to initialize Spark *before* the REPL sees any files, so that the Spark context is visible in those files. This is a bit of a hack, but there isn't another hook available to us at this point.

    Definition Classes
    SparkILoop → ILoop
  37. final def loop(): LineResult

    Permalink
    Definition Classes
    ILoop
    Annotations
    @tailrec()
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. def newJavap(): JavapClass

    Permalink
    Attributes
    protected
    Definition Classes
    ILoop
  40. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  42. val out: JPrintWriter

    Permalink
    Attributes
    protected
    Definition Classes
    ILoop → LoopCommands
  43. def pasteCommand(arg: String): Result

    Permalink
    Definition Classes
    ILoop
  44. lazy val power: Power[StdReplVals]

    Permalink
    Definition Classes
    ILoop
  45. def powerCmd(): Result

    Permalink
    Definition Classes
    ILoop
  46. lazy val powerCommands: List[LoopCommand]

    Permalink
    Definition Classes
    ILoop
  47. def printWelcome(): Unit

    Permalink

    Print a welcome message

    Print a welcome message

    Definition Classes
    SparkILoop → ILoop
  48. def process(settings: Settings): Boolean

    Permalink
    Definition Classes
    ILoop
  49. def processLine(line: String): Boolean

    Permalink
    Definition Classes
    ILoop
  50. def prompt: String

    Permalink
    Definition Classes
    ILoop
  51. def replay(): Unit

    Permalink
    Definition Classes
    ILoop
  52. def replayCommand(line: String): Unit

    Permalink
    Definition Classes
    ILoop
  53. var replayCommandStack: List[String]

    Permalink
    Definition Classes
    ILoop
  54. def replayCommands: List[String]

    Permalink
    Definition Classes
    ILoop
  55. val replayQuestionMessage: String

    Permalink
    Definition Classes
    ILoop
  56. def require(arg: String): Unit

    Permalink
    Definition Classes
    ILoop
  57. def reset(): Unit

    Permalink
    Definition Classes
    ILoop
  58. def resetCommand(line: String): Unit

    Permalink
    Definition Classes
    SparkILoop → ILoop
  59. def saveCommand(filename: String): Result

    Permalink
    Definition Classes
    ILoop
  60. def savingReader[T](body: ⇒ T): T

    Permalink
    Definition Classes
    ILoop
  61. def savingReplayStack[T](body: ⇒ T): T

    Permalink
    Definition Classes
    ILoop
  62. def searchHistory(_cmdline: String): Unit

    Permalink
    Definition Classes
    ILoop
  63. var settings: Settings

    Permalink
    Definition Classes
    ILoop
  64. lazy val shCommand: LoopCommand

    Permalink
    Definition Classes
    ILoop
  65. lazy val sparkStandardCommands: List[LoopCommand]

    Permalink

    Standard commands

  66. lazy val standardCommands: List[LoopCommand]

    Permalink
    Definition Classes
    ILoop
  67. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  69. def verbosity(): Unit

    Permalink
    Definition Classes
    ILoop
  70. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. def withFile[A](filename: String)(action: (File) ⇒ A): Option[A]

    Permalink
    Definition Classes
    ILoop

Deprecated Value Members

  1. def addClasspath(arg: String): Unit

    Permalink
    Definition Classes
    ILoop
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11) Use reset, replay or require to update class path

  2. var addedClasspath: String

    Permalink
    Definition Classes
    ILoop
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11) Use reset, replay or require to update class path

  3. def interpreter: IMain

    Permalink
    Definition Classes
    ILoop
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use intp instead.

  4. def interpreter_=(i: Interpreter): Unit

    Permalink
    Definition Classes
    ILoop
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use intp instead.

  5. def main(settings: Settings): Unit

    Permalink
    Definition Classes
    ILoop
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use process instead

Inherited from ILoop

Inherited from LoopCommands

Inherited from AnyRef

Inherited from Any

Ungrouped