org.apache.spark.repl

H2OILoop

class H2OILoop extends LoopCommands with H2OILoopInit with Logging

The Scala interactive shell. It provides a read-eval-print loop around the Interpreter class. After instantiation, clients should call the main() method.

If no in0 is specified, then input will come from the console, and the class will attempt to provide input editing feature such as input history.

Annotations
@DeveloperApi()
Version

1.2

Linear Supertypes
Logging, H2OILoopInit, LoopCommands, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. H2OILoop
  2. Logging
  3. H2OILoopInit
  4. LoopCommands
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new H2OILoop(sharedClHelper: ClassLoaderHelper, sparkContext: SparkContext, h2oContext: H2OContext, sessionID: Int)

Type Members

  1. class H2OILoopInterpreter extends H2OIMain

  2. class IMainOps[T <: H2OIMain] extends AnyRef

  3. class LineCmd extends LoopCommand

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

    Definition Classes
    LoopCommands
  5. class NullaryCmd extends LoopCommand

    Definition Classes
    LoopCommands
  6. case class Result extends Product with Serializable

    Definition Classes
    LoopCommands
  7. class VarArgsCmd extends LoopCommand

    Definition Classes
    LoopCommands

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object LoopCommand

    Definition Classes
    LoopCommands
  7. object Result extends Serializable

    Definition Classes
    LoopCommands
  8. def addThunk(body: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    H2OILoopInit
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def asyncMessage(msg: String): Unit

    Attributes
    protected
    Definition Classes
    H2OILoopInit
  11. def awaitInitialized(): Boolean

    Attributes
    protected
    Definition Classes
    H2OILoopInit
  12. def clone(): AnyRef

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

    Close the interpreter and set the var to null.

  14. def commands: List[LoopCommand]

    Provides a list of available commands.

    Provides a list of available commands.

    returns

    The list of commands

    Annotations
    @DeveloperApi()
  15. def createAsyncListener(): Future[Unit]

    Attributes
    protected
    Definition Classes
    H2OILoopInit
  16. def createInterpreter(): Unit

    Constructs a new interpreter.

    Constructs a new interpreter.

    Attributes
    protected
  17. def echoCommandMessage(msg: String): Unit

    Definition Classes
    H2OILoop → LoopCommands
  18. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  22. var h2oContext: H2OContext

  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def initH2OILoop(): Unit

  25. def initializeSpark(): Unit

    Definition Classes
    H2OILoopInit
  26. def initializedCallback(): Unit

    Attributes
    protected
    Definition Classes
    H2OILoopInit
  27. def interpreterResponse: String

    Get response of interpreter

    Get response of interpreter

    returns

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  30. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  31. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  32. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  33. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  34. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  35. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  36. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  37. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  38. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  39. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  40. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  41. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  42. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  43. final def notify(): Unit

    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  45. val originalClassLoader: ClassLoader

    The context class loader at the time this object was created

    The context class loader at the time this object was created

    Attributes
    protected
  46. def out: JPrintWriter

    Attributes
    protected
    Definition Classes
    H2OILoop → LoopCommands
  47. def postInitThunks: List[() ⇒ Unit]

    Attributes
    protected
    Definition Classes
    H2OILoopInit
  48. def postInitialization(): Unit

    Attributes
    protected
    Definition Classes
    H2OILoopInit
  49. def printWelcome(): Unit

    Print a welcome message

    Print a welcome message

    Definition Classes
    H2OILoopInit
  50. def printedOutput: String

    Redirected printed output comming from commands written in the interpreter

    Redirected printed output comming from commands written in the interpreter

    returns

  51. def process(args: Array[String]): Boolean

    process command-line arguments and do as they request

  52. def prompt: String

    Represents the current prompt string used by the REPL.

    Represents the current prompt string used by the REPL.

    returns

    The current prompt string

    Annotations
    @DeveloperApi()
  53. def runCode(code: String): String

    Run bunch of code in a string

    Run bunch of code in a string

    code
    returns

  54. def runThunks(): Unit

    Attributes
    protected
    Definition Classes
    H2OILoopInit
  55. var sessionID: Int

  56. def setPrompt(prompt: String): Unit

    Sets the prompt string used by the REPL.

    Sets the prompt string used by the REPL.

    prompt

    The new prompt string

    Annotations
    @DeveloperApi()
  57. val sharedClHelper: ClassLoaderHelper

  58. var sparkContext: SparkContext

  59. implicit def stabilizeIMain(intp: H2OIMain): IMainOps[stabilizeIMain.intp.type]

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

    Definition Classes
    AnyRef
  61. def toString(): String

    Definition Classes
    AnyRef → Any
  62. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from H2OILoopInit

Inherited from LoopCommands

Inherited from AnyRef

Inherited from Any

Ungrouped