class ThriftHttpCLIService extends ThriftCLIService
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
- Alphabetic
- By Inheritance
- ThriftHttpCLIService
- ThriftCLIService
- Runnable
- Iface
- AbstractService
- Service
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ThriftHttpCLIService(cliService: CLIService)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
CancelDelegationToken(req: TCancelDelegationTokenReq): TCancelDelegationTokenResp
- Definition Classes
- ThriftCLIService → Iface
-
def
CancelOperation(req: TCancelOperationReq): TCancelOperationResp
- Definition Classes
- ThriftCLIService → Iface
-
def
CloseOperation(req: TCloseOperationReq): TCloseOperationResp
- Definition Classes
- ThriftCLIService → Iface
-
def
CloseSession(req: TCloseSessionReq): TCloseSessionResp
- Definition Classes
- ThriftCLIService → Iface
-
def
ExecuteStatement(req: TExecuteStatementReq): TExecuteStatementResp
- Definition Classes
- ThriftCLIService → Iface
-
def
FetchResults(req: TFetchResultsReq): TFetchResultsResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetCatalogs(req: TGetCatalogsReq): TGetCatalogsResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetColumns(req: TGetColumnsReq): TGetColumnsResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetCrossReference(req: TGetCrossReferenceReq): TGetCrossReferenceResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetDelegationToken(req: TGetDelegationTokenReq): TGetDelegationTokenResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetFunctions(req: TGetFunctionsReq): TGetFunctionsResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetInfo(req: TGetInfoReq): TGetInfoResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetOperationStatus(req: TGetOperationStatusReq): TGetOperationStatusResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetPrimaryKeys(req: TGetPrimaryKeysReq): TGetPrimaryKeysResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetResultSetMetadata(req: TGetResultSetMetadataReq): TGetResultSetMetadataResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetSchemas(req: TGetSchemasReq): TGetSchemasResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetTableTypes(req: TGetTableTypesReq): TGetTableTypesResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetTables(req: TGetTablesReq): TGetTablesResp
- Definition Classes
- ThriftCLIService → Iface
-
def
GetTypeInfo(req: TGetTypeInfoReq): TGetTypeInfoResp
- Definition Classes
- ThriftCLIService → Iface
-
def
OpenSession(req: TOpenSessionReq): TOpenSessionResp
- Definition Classes
- ThriftCLIService → Iface
-
def
RenewDelegationToken(req: TRenewDelegationTokenReq): TRenewDelegationTokenResp
- Definition Classes
- ThriftCLIService → Iface
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
- AbstractService → Service
-
def
getName(): String
Get the name of this service.
-
def
getPortNumber(): Int
- Definition Classes
- ThriftCLIService
-
def
getServerIPAddress(): InetAddress
- Definition Classes
- ThriftCLIService
-
def
getServiceState(): STATE
Get the current service state
Get the current service state
- returns
the state of the service
- Definition Classes
- AbstractService → Service
-
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
- AbstractService → Service
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
init(hiveConf: HiveConf): Unit
Initialize the service.
Initialize the service.
The transition must be from
STATE#NOTINITEDtoSTATE#INITEDunless the operation failed and an exception was raised.- Definition Classes
- ThriftCLIService → AbstractService → Service
- Exceptions thrown
IllegalStateExceptionif the current service state does not permit this action
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
- AbstractService → Service
-
def
run(): Unit
Configure Jetty to serve http requests.
Configure Jetty to serve http requests. Example of a client connection URL: http://localhost:10000/servlets/thrifths2/ A gateway may cause actual target URL to differ, e.g. http://gateway:port/hive2/servlets/thrifths2/
- Definition Classes
- ThriftHttpCLIService → ThriftCLIService → Runnable
-
def
start(): Unit
Start the service.
Start the service.
The transition should be from
STATE#INITEDtoSTATE#STARTEDunless the operation failed and an exception was raised.- Definition Classes
- ThriftCLIService → AbstractService → Service
- Exceptions thrown
IllegalStateExceptionif the current service state does not permit this action
-
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
- ThriftCLIService → AbstractService → Service
- Exceptions thrown
IllegalStateExceptionif the current service state does not permit this action
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- AbstractService → Service
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()