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. object LoopCommand

    Permalink
    Definition Classes
    LoopCommands
  5. def addReplay(cmd: String): Unit

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

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

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

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

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

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

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

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

    Permalink

    Available commands

    Available commands

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def helpCommand(line: String): Result

    Permalink
    Definition Classes
    ILoop
  27. def history: History

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

    Permalink
    Definition Classes
    ILoop
  29. var in: InteractiveReader

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

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

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

    Permalink
    Definition Classes
    ILoop
  33. var intp: IMain

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

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

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

    Permalink
    Definition Classes
    ILoop
  37. 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
  38. final def loop(): LineResult

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  43. val out: JPrintWriter

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

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

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

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

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

    Permalink

    Print a welcome message

    Print a welcome message

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

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

    Permalink
    Definition Classes
    ILoop
  51. def prompt: String

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

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

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

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

    Permalink
    Definition Classes
    ILoop
  56. val replayQuestionMessage: String

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

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

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

    Permalink
    Definition Classes
    ILoop
  60. def saveCommand(filename: String): Result

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

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

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

    Permalink
    Definition Classes
    ILoop
  64. var settings: Settings

    Permalink
    Definition Classes
    ILoop
  65. lazy val shCommand: LoopCommand

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

    Permalink

    Standard commands *

  67. lazy val standardCommands: List[LoopCommand]

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. 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