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() @HotSpotIntrinsicCandidate()
  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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. 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()
  12. def getName(): String

    Get the name of this service.

    Get the name of this service.

    returns

    the service name

    Definition Classes
    AbstractServiceService
    Annotations
    @Override()
  13. def getOpenSessionCount(): Int
  14. def getOperationManager(): OperationManager
  15. def getServiceState(): STATE

    Get the current service state

    Get the current service state

    returns

    the state of the service

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

    IllegalStateException if the current service state does not permit this action

  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. 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
  26. def openSession(protocol: TProtocolVersion, username: String, password: String, ipAddress: String, sessionConf: Map[String, String]): SessionHandle
  27. 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()
  28. def removeService(service: Service): Boolean
    Attributes
    protected[service]
    Definition Classes
    CompositeService
  29. 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
    Annotations
    @Override()
    Exceptions thrown

    IllegalStateException if the current service state does not permit this action

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

    IllegalStateException if the current service state does not permit this action

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

Inherited from CompositeService

Inherited from AbstractService

Inherited from Service

Inherited from AnyRef

Inherited from Any

Ungrouped