Packages

class SessionManager extends CompositeService

SessionManager.

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

Instance Constructors

  1. new SessionManager(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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def closeSession(sessionHandle: SessionHandle): Unit
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. 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
  13. def getName(): String

    Get the name of this service.

    Get the name of this service.

    returns

    the service name

    Definition Classes
    AbstractServiceService
  14. def getOpenSessionCount(): Int
  15. def getOperationManager(): OperationManager
  16. def getServiceState(): STATE

    Get the current service state

    Get the current service state

    returns

    the state of the service

    Definition Classes
    AbstractServiceService
  17. def getServices(): Collection[Service]
    Definition Classes
    CompositeService
  18. def getSession(sessionHandle: SessionHandle): HiveSession
  19. 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
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. 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
    SessionManagerCompositeServiceAbstractServiceService
    Exceptions thrown

    IllegalStateException if the current service state does not permit this action

  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def openSession(protocol: TProtocolVersion, username: String, password: String, ipAddress: String, sessionConf: Map[String, String], withImpersonation: Boolean, delegationToken: String): SessionHandle

    Opens a new session and creates a session handle.

    Opens a new session and creates a session handle. The username passed to this method is the effective username. If withImpersonation is true (==doAs true) we wrap all the calls in HiveSession within a UGI.doAs, where UGI corresponds to the effective user.

    Please see org.apache.hive.service.cli.thrift.ThriftCLIService.getUserName() for more details.

    Exceptions thrown
  27. def openSession(protocol: TProtocolVersion, username: String, password: String, ipAddress: String, sessionConf: Map[String, String]): SessionHandle
  28. 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
  29. def removeService(service: Service): Boolean
    Attributes
    protected[service]
    Definition Classes
    CompositeService
  30. 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
    SessionManagerCompositeServiceAbstractServiceService
    Exceptions thrown

    IllegalStateException if the current service state does not permit this action

  31. 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
    SessionManagerCompositeServiceAbstractServiceService
    Exceptions thrown

    IllegalStateException if the current service state does not permit this action

  32. def submitBackgroundOperation(r: Runnable): Future[_]
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. 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
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from CompositeService

Inherited from AbstractService

Inherited from Service

Inherited from AnyRef

Inherited from Any

Ungrouped