class CLIService extends CompositeService with ICLIService

CLIService.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CLIService
  2. ICLIService
  3. CompositeService
  4. AbstractService
  5. Service
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CLIService(hiveServer2: HiveServer2)

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. def addService(service: Service): Unit
    Attributes
    protected[service]
    Definition Classes
    CompositeService
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cancelDelegationToken(sessionHandle: SessionHandle, authFactory: HiveAuthFactory, tokenStr: String): Unit
    Definition Classes
    CLIServiceICLIService
  7. def cancelOperation(opHandle: OperationHandle): Unit
    Definition Classes
    CLIServiceICLIService
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def closeOperation(opHandle: OperationHandle): Unit
    Definition Classes
    CLIServiceICLIService
  10. def closeSession(sessionHandle: SessionHandle): Unit
    Definition Classes
    CLIServiceICLIService
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def executeStatement(sessionHandle: SessionHandle, statement: String, confOverlay: Map[String, String], queryTimeout: Long): OperationHandle

    Execute statement on the server with a timeout.

    Execute statement on the server with a timeout. This is a blocking call.

    Definition Classes
    CLIServiceICLIService
  14. def executeStatement(sessionHandle: SessionHandle, statement: String, confOverlay: Map[String, String]): OperationHandle
    Definition Classes
    CLIServiceICLIService
  15. def executeStatementAsync(sessionHandle: SessionHandle, statement: String, confOverlay: Map[String, String], queryTimeout: Long): OperationHandle

    Execute statement asynchronously on the server with a timeout.

    Execute statement asynchronously on the server with a timeout. This is a non-blocking call

    Definition Classes
    CLIServiceICLIService
  16. def executeStatementAsync(sessionHandle: SessionHandle, statement: String, confOverlay: Map[String, String]): OperationHandle

    Execute statement asynchronously on the server.

    Execute statement asynchronously on the server. This is a non-blocking call

    Definition Classes
    CLIServiceICLIService
  17. def fetchResults(opHandle: OperationHandle, orientation: FetchOrientation, maxRows: Long, fetchType: FetchType): RowSet
    Definition Classes
    CLIServiceICLIService
  18. def fetchResults(opHandle: OperationHandle): RowSet
    Definition Classes
    CLIServiceICLIService
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def getCatalogs(sessionHandle: SessionHandle): OperationHandle
    Definition Classes
    CLIServiceICLIService
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def getColumns(sessionHandle: SessionHandle, catalogName: String, schemaName: String, tableName: String, columnName: String): OperationHandle
    Definition Classes
    CLIServiceICLIService
  23. def getCrossReference(sessionHandle: SessionHandle, primaryCatalog: String, primarySchema: String, primaryTable: String, foreignCatalog: String, foreignSchema: String, foreignTable: String): OperationHandle
    Definition Classes
    CLIServiceICLIService
  24. def getDelegationToken(sessionHandle: SessionHandle, authFactory: HiveAuthFactory, owner: String, renewer: String): String
    Definition Classes
    CLIServiceICLIService
  25. def getDelegationTokenFromMetaStore(owner: String): String
  26. def getFunctions(sessionHandle: SessionHandle, catalogName: String, schemaName: String, functionName: String): OperationHandle
    Definition Classes
    CLIServiceICLIService
  27. def getHiveConf(): HiveConf

    Get the configuration of this service.

    Get the configuration of this service. This is normally not a clone and may be manipulated, though there are no guarantees as to what the consequences of such actions may be

    returns

    the current configuration, unless a specific implementation chooses otherwise.

    Definition Classes
    AbstractServiceService
  28. def getHttpUGI(): UserGroupInformation
  29. def getInfo(sessionHandle: SessionHandle, getInfoType: GetInfoType): GetInfoValue
    Definition Classes
    CLIServiceICLIService
  30. def getName(): String

    Get the name of this service.

    Get the name of this service.

    returns

    the service name

    Definition Classes
    AbstractServiceService
  31. def getOperationStatus(opHandle: OperationHandle): OperationStatus
    Definition Classes
    CLIServiceICLIService
  32. def getPrimaryKeys(sessionHandle: SessionHandle, catalog: String, schema: String, table: String): OperationHandle
    Definition Classes
    CLIServiceICLIService
  33. def getQueryId(opHandle: TOperationHandle): String
    Definition Classes
    CLIServiceICLIService
  34. def getResultSetMetadata(opHandle: OperationHandle): TableSchema
    Definition Classes
    CLIServiceICLIService
  35. def getSchemas(sessionHandle: SessionHandle, catalogName: String, schemaName: String): OperationHandle
    Definition Classes
    CLIServiceICLIService
  36. def getServiceState(): STATE

    Get the current service state

    Get the current service state

    returns

    the state of the service

    Definition Classes
    AbstractServiceService
  37. def getServiceUGI(): UserGroupInformation
  38. def getServices(): Collection[Service]
    Definition Classes
    CompositeService
  39. def getSessionConf(sessionHandle: SessionHandle): HiveConf

    If this is a background operation run asynchronously, we block for a configured duration, before we return (duration: HIVE_SERVER2_LONG_POLLING_TIMEOUT).

    If this is a background operation run asynchronously, we block for a configured duration, before we return (duration: HIVE_SERVER2_LONG_POLLING_TIMEOUT). However, if the background operation is complete, we return immediately.

  40. def getSessionManager(): SessionManager
  41. def getStartTime(): Long

    Get the service start time

    Get the service start time

    returns

    the start time of the service. This will be zero if the service has not yet been started.

    Definition Classes
    AbstractServiceService
  42. def getTableTypes(sessionHandle: SessionHandle): OperationHandle
    Definition Classes
    CLIServiceICLIService
  43. def getTables(sessionHandle: SessionHandle, catalogName: String, schemaName: String, tableName: String, tableTypes: List[String]): OperationHandle
    Definition Classes
    CLIServiceICLIService
  44. def getTypeInfo(sessionHandle: SessionHandle): OperationHandle
    Definition Classes
    CLIServiceICLIService
  45. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  46. def init(hiveConf: HiveConf): Unit

    Initialize the service.

    Initialize the service.

    The transition must be from STATE#NOTINITED to STATE#INITED unless the operation failed and an exception was raised.

    Definition Classes
    CLIServiceCompositeServiceAbstractServiceService
    Exceptions thrown

    IllegalStateException if the current service state does not permit this action

  47. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. def openSession(username: String, password: String, configuration: Map[String, String]): SessionHandle
    Definition Classes
    CLIServiceICLIService
  52. def openSession(protocol: TProtocolVersion, username: String, password: String, ipAddress: String, configuration: Map[String, String]): SessionHandle
  53. def openSessionWithImpersonation(username: String, password: String, configuration: Map[String, String], delegationToken: String): SessionHandle
    Definition Classes
    CLIServiceICLIService
  54. def openSessionWithImpersonation(protocol: TProtocolVersion, username: String, password: String, ipAddress: String, configuration: Map[String, String], delegationToken: String): SessionHandle
  55. def register(l: ServiceStateChangeListener): Unit

    Register an instance of the service state change events.

    Register an instance of the service state change events.

    Definition Classes
    AbstractServiceService
  56. def removeService(service: Service): Boolean
    Attributes
    protected[service]
    Definition Classes
    CompositeService
  57. def renewDelegationToken(sessionHandle: SessionHandle, authFactory: HiveAuthFactory, tokenStr: String): Unit
    Definition Classes
    CLIServiceICLIService
  58. def start(): Unit

    Start the service.

    Start the service.

    The transition should be from STATE#INITED to STATE#STARTED unless the operation failed and an exception was raised.

    Definition Classes
    CLIServiceCompositeServiceAbstractServiceService
    Exceptions thrown

    IllegalStateException if the current service state does not permit this action

  59. def stop(): Unit

    Stop the service.

    Stop the service.

    This operation must be designed to complete regardless of the initial state of the service, including the state of all its internal fields.

    Definition Classes
    CLIServiceCompositeServiceAbstractServiceService
    Exceptions thrown

    IllegalStateException if the current service state does not permit this action

  60. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  61. def toString(): String
    Definition Classes
    AnyRef → Any
  62. def unregister(l: ServiceStateChangeListener): Unit

    Unregister a previously instance of the service state change events.

    Unregister a previously instance of the service state change events.

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

Deprecated Value Members

  1. def openSession(protocol: TProtocolVersion, username: String, password: String, configuration: Map[String, String]): SessionHandle

    Deprecated

    Use String, String, String, Map)

  2. def openSessionWithImpersonation(protocol: TProtocolVersion, username: String, password: String, configuration: Map[String, String], delegationToken: String): SessionHandle

    Deprecated

    Use String, String, String, Map, String)

Inherited from ICLIService

Inherited from CompositeService

Inherited from AbstractService

Inherited from Service

Inherited from AnyRef

Inherited from Any

Ungrouped