Packages

t

ai.h2o.sparkling.backend.utils

H2OContextExtensions

trait H2OContextExtensions extends RestCommunication with RestApiUtils with ShellUtils with K8sExternalBackendClient

Self Type
H2OContext
Linear Supertypes
K8sExternalBackendClient, K8sH2OStatefulSet, K8sHeadlessService, K8sUtils, ShellUtils, RestApiUtils, RestCommunication, RestEncodingUtils, Logging, Serializable, Serializable, Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. H2OContextExtensions
  2. K8sExternalBackendClient
  3. K8sH2OStatefulSet
  4. K8sHeadlessService
  5. K8sUtils
  6. ShellUtils
  7. RestApiUtils
  8. RestCommunication
  9. RestEncodingUtils
  10. Logging
  11. Serializable
  12. Serializable
  13. Logging
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def checkResponseCode(connection: HttpURLConnection, confirmationLoggingLevel: LoggingLevel = Info): Unit
    Definition Classes
    RestCommunication
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def collectPropertiesDoc(): Map[String, String]
    Attributes
    protected
  8. def convertLabel(label: String): String
    Attributes
    protected
    Definition Classes
    K8sUtils
  9. def delete(endpoint: URI, suffix: String, conf: H2OConf): Unit

    endpoint

    An address of H2O node with exposed REST endpoint

    suffix

    REST relative path representing a specific call

    conf

    H2O conf object

    Attributes
    protected
    Definition Classes
    RestCommunication
  10. 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

    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
  11. def deleteH2OHeadlessService(client: KubernetesClient, conf: H2OConf): Unit
    Attributes
    protected
    Definition Classes
    K8sHeadlessService
  12. def deleteH2OStatefulSet(client: KubernetesClient, conf: H2OConf): Unit
    Attributes
    protected
    Definition Classes
    K8sH2OStatefulSet
  13. def downloadBinaryURLContent(endpoint: URI, suffix: String, conf: H2OConf, file: File): Unit
    Attributes
    protected
    Definition Classes
    RestCommunication
  14. def downloadH2OLogs(destinationDir: String, logContainer: String): String
  15. def downloadStringURLContent(endpoint: URI, suffix: String, conf: H2OConf, file: File): Unit
    Attributes
    protected
    Definition Classes
    RestCommunication
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def getAndVerifyWorkerNodes(conf: H2OConf): Array[NodeDesc]
    Attributes
    protected
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def getClusterEndpoint(conf: H2OConf): URI
    Definition Classes
    RestApiUtils
  22. def getClusterInfo(conf: H2OConf): CloudV3
    Definition Classes
    RestApiUtils
  23. def getH2OHeadlessServiceURL(conf: H2OConf): String
    Attributes
    protected
    Definition Classes
    K8sHeadlessService
  24. def getLogLevel(conf: H2OConf): String
    Definition Classes
    RestApiUtils
  25. def getNodes(cloudV3: CloudV3): Array[NodeDesc]
    Definition Classes
    RestApiUtils
  26. def getNodes(conf: H2OConf): Array[NodeDesc]
    Definition Classes
    RestApiUtils
  27. def getPingInfo(conf: H2OConf): PingV3
    Definition Classes
    RestApiUtils
  28. def getTimeZone(conf: H2OConf): String
    Definition Classes
    RestApiUtils
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def importHiveTable(database: String = HiveTableImporter.DEFAULT_DATABASE, table: String, partitions: Array[Array[String]] = null, allowMultiFormat: Boolean = false): H2OFrame
  31. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  32. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def insert(endpoint: URI, suffix: String, conf: H2OConf, streamWrapper: (OutputStream) ⇒ OutputStream = identity, params: Map[String, Any] = Map.empty): OutputStream

    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
  34. def insertToNode(node: NodeDesc, suffix: String, conf: H2OConf, params: Map[String, Any] = Map.empty): OutputStream

    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
  35. def installH2OHeadlessService(client: KubernetesClient, conf: H2OConf): Unit
    Attributes
    protected
    Definition Classes
    K8sHeadlessService
  36. def installH2OStatefulSet(client: KubernetesClient, conf: H2OConf, headlessServiceURL: String): String
    Attributes
    protected
    Definition Classes
    K8sH2OStatefulSet
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def isPrimitiveType(value: Any): Boolean
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  39. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  40. def launchShellCommand(cmdToLaunch: Seq[String]): Int
    Attributes
    protected
    Definition Classes
    ShellUtils
  41. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  42. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  49. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  54. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  55. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. def openURI(uri: String): Unit

    Open browser for given address.

    Open browser for given address.

    uri

    address to open in browser, e.g., http://example.com

    Attributes
    protected
  57. def query[ResultType](endpoint: URI, suffix: String, conf: H2OConf, params: Map[String, Any] = Map.empty, skippedFields: Seq[(Class[_], String)] = Seq.empty, confirmationLoggingLevel: LoggingLevel = Info)(implicit arg0: ClassTag[ResultType]): ResultType

    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
  58. def readURLContent(endpoint: URI, requestType: String, suffix: String, conf: H2OConf, params: Map[String, Any] = Map.empty, encodeParamsAsJson: Boolean = false, file: Option[String] = None, confirmationLoggingLevel: LoggingLevel = Info): InputStream
    Attributes
    protected
    Definition Classes
    RestCommunication
  59. 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, confirmationLoggingLevel: LoggingLevel = Info)(implicit arg0: ClassTag[ResultType]): ResultType
    Definition Classes
    RestCommunication
  60. def resolveNodeEndpoint(node: NodeDesc, conf: H2OConf): URI
    Definition Classes
    RestApiUtils
  61. def setLogLevel(conf: H2OConf, logLevel: String): Unit
    Definition Classes
    RestApiUtils
  62. def setTimeZone(conf: H2OConf, timezone: String): Unit
    Definition Classes
    RestApiUtils
  63. def shutdownCluster(conf: H2OConf): Unit
    Definition Classes
    RestApiUtils
  64. def startExternalH2OOnKubernetes(conf: H2OConf): Unit
    Definition Classes
    K8sExternalBackendClient
  65. def stopExternalH2OOnKubernetes(conf: H2OConf): Unit
    Definition Classes
    K8sExternalBackendClient
  66. def stringify(value: Any): String
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  67. def stringifyArray(arr: Array[_]): String
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  68. def stringifyMap(map: Map[_, _]): String
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  69. def stringifyPair(pair: Tuple2[_, _]): String
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  70. def stringifyParams(params: Map[String, Any] = Map.empty, encodeParamsAsJson: Boolean = false): String
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  71. def stringifyPrimitiveParam(value: Any): String
    Attributes
    protected
    Definition Classes
    RestEncodingUtils
  72. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  73. def toString(): String
    Definition Classes
    AnyRef → Any
  74. 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

    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
  75. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  78. def withConversionDebugPrints(sc: SparkContext, conversionName: String, block: ⇒ H2OFrame): H2OFrame
    Attributes
    protected
  79. object LoggingLevel extends Enumeration
    Definition Classes
    RestCommunication

Inherited from K8sExternalBackendClient

Inherited from K8sH2OStatefulSet

Inherited from K8sHeadlessService

Inherited from K8sUtils

Inherited from ShellUtils

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