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
    Annotations
    @Override()
  7. def cancelOperation(opHandle: OperationHandle): Unit
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. def closeOperation(opHandle: OperationHandle): Unit
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  10. def closeSession(sessionHandle: SessionHandle): Unit
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  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
    Annotations
    @Override()
  14. def executeStatement(sessionHandle: SessionHandle, statement: String, confOverlay: Map[String, String]): OperationHandle
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  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
    Annotations
    @Override()
  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
    Annotations
    @Override()
  17. def fetchResults(opHandle: OperationHandle, orientation: FetchOrientation, maxRows: Long, fetchType: FetchType): RowSet
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  18. def fetchResults(opHandle: OperationHandle): RowSet
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  19. def getCatalogs(sessionHandle: SessionHandle): OperationHandle
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def getColumns(sessionHandle: SessionHandle, catalogName: String, schemaName: String, tableName: String, columnName: String): OperationHandle
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  22. def getCrossReference(sessionHandle: SessionHandle, primaryCatalog: String, primarySchema: String, primaryTable: String, foreignCatalog: String, foreignSchema: String, foreignTable: String): OperationHandle
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  23. def getDelegationToken(sessionHandle: SessionHandle, authFactory: HiveAuthFactory, owner: String, renewer: String): String
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  24. def getDelegationTokenFromMetaStore(owner: String): String
  25. def getFunctions(sessionHandle: SessionHandle, catalogName: String, schemaName: String, functionName: String): OperationHandle
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  26. 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
    Annotations
    @Override()
  27. def getHttpUGI(): UserGroupInformation
  28. def getInfo(sessionHandle: SessionHandle, getInfoType: GetInfoType): GetInfoValue
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  29. def getName(): String

    Get the name of this service.

    Get the name of this service.

    returns

    the service name

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

    Get the current service state

    Get the current service state

    returns

    the state of the service

    Definition Classes
    AbstractServiceService
    Annotations
    @Override()
  36. def getServiceUGI(): UserGroupInformation
  37. def getServices(): Collection[Service]
    Definition Classes
    CompositeService
  38. 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.

  39. def getSessionManager(): SessionManager
  40. 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
    Annotations
    @Override()
  41. def getTableTypes(sessionHandle: SessionHandle): OperationHandle
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  42. def getTables(sessionHandle: SessionHandle, catalogName: String, schemaName: String, tableName: String, tableTypes: List[String]): OperationHandle
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  43. def getTypeInfo(sessionHandle: SessionHandle): OperationHandle
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  44. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. 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
    Annotations
    @Override()
    Exceptions thrown

    IllegalStateException if the current service state does not permit this action

  46. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. def openSession(username: String, password: String, configuration: Map[String, String]): SessionHandle
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  51. def openSession(protocol: TProtocolVersion, username: String, password: String, ipAddress: String, configuration: Map[String, String]): SessionHandle
  52. def openSessionWithImpersonation(username: String, password: String, configuration: Map[String, String], delegationToken: String): SessionHandle
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  53. def openSessionWithImpersonation(protocol: TProtocolVersion, username: String, password: String, ipAddress: String, configuration: Map[String, String], delegationToken: String): SessionHandle
  54. 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
    Annotations
    @Override()
  55. def removeService(service: Service): Boolean
    Attributes
    protected[service]
    Definition Classes
    CompositeService
  56. def renewDelegationToken(sessionHandle: SessionHandle, authFactory: HiveAuthFactory, tokenStr: String): Unit
    Definition Classes
    CLIServiceICLIService
    Annotations
    @Override()
  57. 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
    Annotations
    @Override()
    Exceptions thrown

    IllegalStateException if the current service state does not permit this action

  58. 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
    Annotations
    @Override()
    Exceptions thrown

    IllegalStateException if the current service state does not permit this action

  59. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  60. def toString(): String
    Definition Classes
    AnyRef → Any
  61. 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
    Annotations
    @Override()
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  64. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. def openSession(protocol: TProtocolVersion, username: String, password: String, configuration: Map[String, String]): SessionHandle

    Annotations
    @Deprecated
    Deprecated
  3. def openSessionWithImpersonation(protocol: TProtocolVersion, username: String, password: String, configuration: Map[String, String], delegationToken: String): SessionHandle

    Annotations
    @Deprecated
    Deprecated

Inherited from ICLIService

Inherited from CompositeService

Inherited from AbstractService

Inherited from Service

Inherited from AnyRef

Inherited from Any

Ungrouped