com.cloudera.livy.repl

ProcessInterpreter

abstract class ProcessInterpreter extends Interpreter with Logging

Abstract class that describes an interpreter that is running in a separate process.

This type is not thread safe, so must be protected by a mutex.

Linear Supertypes
Logging, Interpreter, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProcessInterpreter
  2. Logging
  3. Interpreter
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProcessInterpreter(process: Process)

    process

Abstract Value Members

  1. abstract def kind: String

    Definition Classes
    Interpreter
  2. abstract def sendExecuteRequest(request: String): Interpreter.ExecuteResponse

    Attributes
    protected
  3. abstract def waitUntilReady(): Unit

    Attributes
    protected

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Shut down the interpreter.

    Shut down the interpreter.

    Definition Classes
    ProcessInterpreterInterpreter
  9. def debug(message: ⇒ Any): Unit

    Definition Classes
    Logging
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def error(message: ⇒ Any): Unit

    Definition Classes
    Logging
  13. def error(message: ⇒ Any, t: Throwable): Unit

    Definition Classes
    Logging
  14. def execute(code: String): Interpreter.ExecuteResponse

    Execute the code and return the result as a Future as it may take some time to execute.

    Execute the code and return the result as a Future as it may take some time to execute.

    Definition Classes
    ProcessInterpreterInterpreter
  15. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  18. def info(message: ⇒ Any): Unit

    Definition Classes
    Logging
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. lazy val logger: Logger

    Definition Classes
    Logging
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. def sendShutdownRequest(): Unit

    Attributes
    protected
  25. def start(): SparkContext

    Start the Interpreter.

    Start the Interpreter.

    returns

    A SparkContext, which may be null.

    Definition Classes
    ProcessInterpreterInterpreter
  26. val stdin: PrintWriter

    Attributes
    protected[this]
  27. val stdout: BufferedReader

    Attributes
    protected[this]
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def takeErrorLines(): String

    Attributes
    protected
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. def trace(message: ⇒ Any): Unit

    Definition Classes
    Logging
  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def warn(message: ⇒ Any): Unit

    Definition Classes
    Logging

Inherited from Logging

Inherited from Interpreter

Inherited from AnyRef

Inherited from Any

Ungrouped