public class EmbeddedThriftBinaryCLIService extends ThriftBinaryCLIService
Service.STATE
server
cliService, currentServerContext, hiveAuthFactory, hiveConf, hiveHost, isEmbedded, LOG, maxWorkerThreads, minWorkerThreads, portNum, serverIPAddress, workerKeepAliveTime
Constructor and Description |
---|
EmbeddedThriftBinaryCLIService() |
Modifier and Type | Method and Description |
---|---|
ICLIService |
getService() |
void |
init(HiveConf hiveConf)
Initialize the service.
|
getTransportMode, initServer, run, stopServer
CancelDelegationToken, CancelOperation, CloseOperation, CloseSession, DownloadData, ExecuteStatement, FetchResults, GetCatalogs, GetColumns, GetCrossReference, GetDelegationToken, GetFunctions, GetInfo, GetOperationStatus, getPortNumber, GetPrimaryKeys, GetQueryId, GetResultSetMetadata, GetSchemas, getServerIPAddress, GetTables, GetTableTypes, GetTypeInfo, OpenSession, RenewDelegationToken, SetClientInfo, start, stop, UploadData
getHiveConf, getName, getServiceState, getStartTime, register, setHiveConf, unregister
public void init(HiveConf hiveConf)
AbstractService
Service.STATE.NOTINITED
to Service.STATE.INITED
unless the
operation failed and an exception was raised.init
in interface Service
init
in class ThriftCLIService
hiveConf
- the configuration of the servicepublic ICLIService getService()
Copyright © 2022 The Apache Software Foundation. All rights reserved.