Trait

ai.h2o.sparkling.backend.api.scalainterpreter

ScalaInterpreterRestApi

Related Doc: package scalainterpreter

Permalink

trait ScalaInterpreterRestApi extends RestApiUtils

Linear Supertypes
RestApiUtils, RestCommunication, RestEncodingUtils, Logging, Serializable, Serializable, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaInterpreterRestApi
  2. RestApiUtils
  3. RestCommunication
  4. RestEncodingUtils
  5. Logging
  6. Serializable
  7. Serializable
  8. Logging
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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

    Permalink
    Definition Classes
    Any
  5. def checkResponseCode(connection: HttpURLConnection): Unit

    Permalink
    Definition Classes
    RestCommunication
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def delete[ResultType](endpoint: URI, suffix: String, conf: H2OConf, params: Map[String, Any] = Map.empty, skippedFields: Seq[(Class[_], String)] = Seq.empty, encodeParamsAsJson: Boolean = false)(implicit arg0: ClassTag[ResultType]): ResultType

    Permalink

    endpoint

    An address of H2O node with exposed REST endpoint

    suffix

    REST relative path representing a specific call

    conf

    H2O conf object

    Definition Classes
    RestCommunication
  8. def destroySession(sessionId: Int): Unit

    Permalink
    Attributes
    protected
  9. def downloadBinaryURLContent(endpoint: URI, suffix: String, conf: H2OConf, file: File): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    RestCommunication
  10. def downloadStringURLContent(endpoint: URI, suffix: String, conf: H2OConf, file: File): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    RestCommunication
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getClusterEndpoint(conf: H2OConf): URI

    Permalink
    Definition Classes
    RestApiUtils
  16. def getClusterInfo(conf: H2OConf): CloudV3

    Permalink
    Definition Classes
    RestApiUtils
  17. def getLogLevel(conf: H2OConf): String

    Permalink
    Definition Classes
    RestApiUtils
  18. def getNodes(cloudV3: CloudV3): Array[NodeDesc]

    Permalink
    Definition Classes
    RestApiUtils
  19. def getNodes(conf: H2OConf): Array[NodeDesc]

    Permalink
    Definition Classes
    RestApiUtils
  20. def getPingInfo(conf: H2OConf): PingV3

    Permalink
    Definition Classes
    RestApiUtils
  21. def getScalaCodeResult(resultKey: String): ScalaCodeResult

    Permalink
    Attributes
    protected
  22. def getSessions(): ScalaSessions

    Permalink
    Attributes
    protected
  23. def getTimeZone(conf: H2OConf): String

    Permalink
    Definition Classes
    RestApiUtils
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. def initSession(): ScalaSessionId

    Permalink
    Attributes
    protected
  26. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def insert(endpoint: URI, suffix: String, conf: H2OConf, streamWrapper: (OutputStream) ⇒ OutputStream = identity, params: Map[String, Any] = Map.empty): OutputStream

    Permalink

    endpoint

    An address of H2O node with exposed REST endpoint

    suffix

    REST relative path representing a specific call

    conf

    H2O conf object

    params

    Query parameters

    returns

    HttpUrlConnection facilitating the insertion and holding the outputStream

    Attributes
    protected
    Definition Classes
    RestCommunication
  29. def insertToNode(node: NodeDesc, suffix: String, conf: H2OConf, params: Map[String, Any] = Map.empty): OutputStream

    Permalink

    node

    H2O node descriptor

    suffix

    REST relative path representing a specific call

    conf

    H2O conf object

    params

    Query parameters

    returns

    HttpUrlConnection facilitating the insertion and holding the outputStream

    Definition Classes
    RestCommunication
  30. def interpret(sessionId: Int, code: String): ScalaCode

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

    Permalink
    Definition Classes
    Any
  32. def isPrimitiveType(value: Any): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  33. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def log: Logger

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  41. def logName: String

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  49. def query[ResultType](endpoint: URI, suffix: String, conf: H2OConf, params: Map[String, Any] = Map.empty, skippedFields: Seq[(Class[_], String)] = Seq.empty)(implicit arg0: ClassTag[ResultType]): ResultType

    Permalink

    ResultType

    A type that the result will be deserialized to

    endpoint

    An address of H2O node with exposed REST endpoint

    suffix

    REST relative path representing a specific call

    conf

    H2O conf object

    params

    Query parameters

    skippedFields

    The list of field specifications that are skipped during deserialization. The specification consists of the class containing the field and the field name.

    returns

    A deserialized object

    Definition Classes
    RestCommunication
  50. def readURLContent(endpoint: URI, requestType: String, suffix: String, conf: H2OConf, params: Map[String, Any] = Map.empty, encodeParamsAsJson: Boolean = false): InputStream

    Permalink
    Attributes
    protected
    Definition Classes
    RestCommunication
  51. def request[ResultType](endpoint: URI, requestType: String, suffix: String, conf: H2OConf, params: Map[String, Any] = Map.empty, skippedFields: Seq[(Class[_], String)] = Seq.empty, encodeParamsAsJson: Boolean = false)(implicit arg0: ClassTag[ResultType]): ResultType

    Permalink
    Definition Classes
    RestCommunication
  52. def resolveNodeEndpoint(node: NodeDesc, conf: H2OConf): URI

    Permalink
    Definition Classes
    RestApiUtils
  53. def setLogLevel(conf: H2OConf, logLevel: String): Unit

    Permalink
    Definition Classes
    RestApiUtils
  54. def setTimeZone(conf: H2OConf, timezone: String): Unit

    Permalink
    Definition Classes
    RestApiUtils
  55. def shutdownCluster(conf: H2OConf): Unit

    Permalink
    Definition Classes
    RestApiUtils
  56. def stringify(value: Any): String

    Permalink
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  57. def stringifyArray(arr: Array[_]): String

    Permalink
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  58. def stringifyMap(map: Map[_, _]): String

    Permalink
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  59. def stringifyParams(params: Map[String, Any] = Map.empty, encodeParamsAsJson: Boolean = false): String

    Permalink
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  60. def stringifyPrimitiveParam(value: Any): String

    Permalink
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  61. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  63. def update[ResultType](endpoint: URI, suffix: String, conf: H2OConf, params: Map[String, Any] = Map.empty, skippedFields: Seq[(Class[_], String)] = Seq.empty, encodeParamsAsJson: Boolean = false)(implicit arg0: ClassTag[ResultType]): ResultType

    Permalink

    ResultType

    A type that the result will be deserialized to

    endpoint

    An address of H2O node with exposed REST endpoint

    suffix

    REST relative path representing a specific call

    conf

    H2O conf object

    params

    Query parameters

    skippedFields

    The list of field specifications that are skipped during deserialization. The specification consists of the class containing the field and the field name.

    returns

    A deserialized object

    Definition Classes
    RestCommunication
  64. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RestApiUtils

Inherited from RestCommunication

Inherited from RestEncodingUtils

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped