c

org.apache.kyuubi.service

TFrontendService

abstract class TFrontendService extends AbstractFrontendService with Iface with Runnable with Logging

Apache Thrift based hive-service-rpc base class

  1. http 2. binary
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TFrontendService
  2. Runnable
  3. Iface
  4. AbstractFrontendService
  5. FrontendService
  6. CompositeService
  7. AbstractService
  8. Logging
  9. Service
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TFrontendService(name: String)

Type Members

  1. class FeTServerEventHandler extends TServerEventHandler

Abstract Value Members

  1. abstract val discoveryService: Option[Service]

    An optional ServiceDiscovery for FrontendService to expose itself

    An optional ServiceDiscovery for FrontendService to expose itself

    Definition Classes
    FrontendService
  2. abstract def portNum: Int
    Attributes
    protected
  3. abstract def run(): Unit
    Definition Classes
    Runnable
  4. abstract def serverHost: Option[String]
    Attributes
    protected
  5. abstract val serverable: Serverable

    A interface of Serverable, e.g.

    A interface of Serverable, e.g. Server/Engines for FrontendService to call

    Definition Classes
    FrontendService
  6. abstract def stopServer(): Unit
    Attributes
    protected

Concrete 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 CancelDelegationToken(req: TCancelDelegationTokenReq): TCancelDelegationTokenResp
    Definition Classes
    TFrontendService → Iface
  5. def CancelOperation(req: TCancelOperationReq): TCancelOperationResp
    Definition Classes
    TFrontendService → Iface
  6. def CloseOperation(req: TCloseOperationReq): TCloseOperationResp
    Definition Classes
    TFrontendService → Iface
  7. def CloseSession(req: TCloseSessionReq): TCloseSessionResp
    Definition Classes
    TFrontendService → Iface
  8. def ExecuteStatement(req: TExecuteStatementReq): TExecuteStatementResp
    Definition Classes
    TFrontendService → Iface
  9. def FetchResults(req: TFetchResultsReq): TFetchResultsResp
    Definition Classes
    TFrontendService → Iface
  10. def GetCatalogs(req: TGetCatalogsReq): TGetCatalogsResp
    Definition Classes
    TFrontendService → Iface
  11. def GetColumns(req: TGetColumnsReq): TGetColumnsResp
    Definition Classes
    TFrontendService → Iface
  12. def GetCrossReference(req: TGetCrossReferenceReq): TGetCrossReferenceResp
    Definition Classes
    TFrontendService → Iface
  13. def GetDelegationToken(req: TGetDelegationTokenReq): TGetDelegationTokenResp
    Definition Classes
    TFrontendService → Iface
  14. def GetFunctions(req: TGetFunctionsReq): TGetFunctionsResp
    Definition Classes
    TFrontendService → Iface
  15. def GetInfo(req: TGetInfoReq): TGetInfoResp
    Definition Classes
    TFrontendService → Iface
  16. def GetOperationStatus(req: TGetOperationStatusReq): TGetOperationStatusResp
    Definition Classes
    TFrontendService → Iface
  17. def GetPrimaryKeys(req: TGetPrimaryKeysReq): TGetPrimaryKeysResp
    Definition Classes
    TFrontendService → Iface
  18. def GetQueryId(req: TGetQueryIdReq): TGetQueryIdResp
    Definition Classes
    TFrontendService → Iface
  19. def GetResultSetMetadata(req: TGetResultSetMetadataReq): TGetResultSetMetadataResp
    Definition Classes
    TFrontendService → Iface
  20. def GetSchemas(req: TGetSchemasReq): TGetSchemasResp
    Definition Classes
    TFrontendService → Iface
  21. def GetTableTypes(req: TGetTableTypesReq): TGetTableTypesResp
    Definition Classes
    TFrontendService → Iface
  22. def GetTables(req: TGetTablesReq): TGetTablesResp
    Definition Classes
    TFrontendService → Iface
  23. def GetTypeInfo(req: TGetTypeInfoReq): TGetTypeInfoResp
    Definition Classes
    TFrontendService → Iface
  24. def OpenSession(req: TOpenSessionReq): TOpenSessionResp
    Definition Classes
    TFrontendService → Iface
  25. def RenewDelegationToken(req: TRenewDelegationTokenReq): TRenewDelegationTokenResp
    Definition Classes
    TFrontendService → Iface
  26. def SetClientInfo(req: TSetClientInfoReq): TSetClientInfoResp
    Definition Classes
    TFrontendService → Iface
  27. lazy val actualPort: Int
    Attributes
    protected
  28. def addService(service: Service): Unit
    Attributes
    protected
    Definition Classes
    CompositeService
  29. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  30. def attributes: Map[String, String]

    Attributes map for FrontendService to expose

    Attributes map for FrontendService to expose

    Definition Classes
    FrontendService
  31. lazy val authFactory: KyuubiAuthenticationFactory
    Attributes
    protected
  32. final def be: BackendService

    A interface of BackendService, e.g.

    A interface of BackendService, e.g. Server/Engines for FrontendService to call

    Definition Classes
    FrontendService
  33. def checkInitialized(): Unit
    Attributes
    protected
    Definition Classes
    AbstractFrontendService
  34. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. var conf: KyuubiConf
    Attributes
    protected
    Definition Classes
    AbstractService
  36. def connectionUrl: String

    The connection url for client to connect

    The connection url for client to connect

    Definition Classes
    TFrontendServiceFrontendService
  37. def debug(message: ⇒ Any, t: Throwable): Unit
    Definition Classes
    Logging
  38. def debug(message: ⇒ Any): Unit
    Definition Classes
    Logging
  39. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  41. def error(message: ⇒ Any): Unit
    Definition Classes
    Logging
  42. def error(message: ⇒ Any, t: Throwable): Unit
    Definition Classes
    Logging
  43. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  45. def getConf: KyuubiConf

    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
  46. def getIpAddress: String
    Attributes
    protected
  47. def getName: String

    Get the name of this service.

    Get the name of this service.

    returns

    the service name

    Definition Classes
    AbstractServiceService
  48. def getProxyUser(sessionConf: Map[String, String], ipAddress: String, realUser: String): String
    Attributes
    protected
  49. def getRealUserAndSessionUser(req: TOpenSessionReq): (String, String)

    Get the real user and the session user.

    Get the real user and the session user. The real user is the user used for session authentication. The session user is the proxy user if proxy user is provided, otherwise is the real user.

    Attributes
    protected
  50. def getServiceState: ServiceState

    Get the current service state

    Get the current service state

    returns

    the state of the service

    Definition Classes
    AbstractServiceService
  51. def getServices: Seq[Service]
    Definition Classes
    CompositeService
  52. def getSessionHandle(req: TOpenSessionReq, res: TOpenSessionResp): SessionHandle
    Attributes
    protected
    Annotations
    @throws( ... )
  53. 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
  54. def hadoopConf: Configuration
    Attributes
    protected
  55. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  56. def info(message: ⇒ Any, t: Throwable): Unit
    Definition Classes
    Logging
  57. def info(message: ⇒ Any): Unit
    Definition Classes
    Logging
  58. def initialize(conf: KyuubiConf): Unit

    Initialize the service.

    Initialize the service.

    The transition must be from LATENTto INITIALIZED unless the operation failed and an exception was raised.

    conf

    the configuration of the service

    Definition Classes
    AbstractFrontendServiceCompositeServiceAbstractServiceService
  59. def initializeLoggerIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  61. def isServer(): Boolean
    Attributes
    protected
  62. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  63. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  64. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  65. def notSupportTokenErrorStatus: TStatus
    Attributes
    protected
  66. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  67. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  68. lazy val serverAddr: InetAddress
    Attributes
    protected
  69. lazy val serverSocket: ServerSocket
    Attributes
    protected
  70. def start(): Unit

    Start the service itself(FE) and its composited (Discovery service, DS) in the order of: Start FE -> if (success) -> Continue starting DS if (success) -> finish else -> Stop DS -> Raise Error -> Stop FE -> Raise Error else Raise Error -> Stop FE -> Raise Error This makes sure that the FE has started and ready to serve before exposing through DS.

    Start the service itself(FE) and its composited (Discovery service, DS) in the order of: Start FE -> if (success) -> Continue starting DS if (success) -> finish else -> Stop DS -> Raise Error -> Stop FE -> Raise Error else Raise Error -> Stop FE -> Raise Error This makes sure that the FE has started and ready to serve before exposing through DS.

    Definition Classes
    TFrontendServiceCompositeServiceAbstractServiceService
  71. var startTime: Long
    Attributes
    protected
    Definition Classes
    AbstractService
  72. var state: ServiceState
    Attributes
    protected
    Definition Classes
    AbstractService
  73. def stop(): Unit

    Stop the service itself(FE) and its composited (Discovery service, DS) in the order of: Stop DS -> Stop FE This makes sure of

    Stop the service itself(FE) and its composited (Discovery service, DS) in the order of: Stop DS -> Stop FE This makes sure of

    1. The service stop serving before terminating during stopping 2. For engines with group share level, the DS stopping is invoked by a pool in FE, so we need to stop DS first in case of interrupting.
    Definition Classes
    TFrontendServiceCompositeServiceAbstractServiceService
  74. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  75. def toString(): String
    Definition Classes
    AnyRef → Any
  76. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  79. def warn(message: ⇒ Any, t: Throwable): Unit
    Definition Classes
    Logging
  80. def warn(message: ⇒ Any): Unit
    Definition Classes
    Logging

Inherited from Runnable

Inherited from Iface

Inherited from AbstractFrontendService

Inherited from FrontendService

Inherited from CompositeService

Inherited from AbstractService

Inherited from Logging

Inherited from Service

Inherited from AnyRef

Inherited from Any

Ungrouped