abstract class OperationManager extends AbstractService
The OperationManager manages all the operations during their lifecycle.
- Alphabetic
- By Inheritance
- OperationManager
- AbstractService
- Logging
- Service
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
OperationManager(name: String)
- name
Service Name
Abstract Value Members
- abstract def getQueryId(operation: Operation): String
- abstract def newExecuteStatementOperation(session: Session, statement: String, confOverlay: Map[String, String], runAsync: Boolean, queryTimeout: Long): Operation
- abstract def newGetCatalogsOperation(session: Session): Operation
- abstract def newGetColumnsOperation(session: Session, catalogName: String, schemaName: String, tableName: String, columnName: String): Operation
- abstract def newGetCrossReferenceOperation(session: Session, primaryCatalog: String, primarySchema: String, primaryTable: String, foreignCatalog: String, foreignSchema: String, foreignTable: String): Operation
- abstract def newGetCurrentCatalogOperation(session: Session): Operation
- abstract def newGetCurrentDatabaseOperation(session: Session): Operation
- abstract def newGetFunctionsOperation(session: Session, catalogName: String, schemaName: String, functionName: String): Operation
- abstract def newGetPrimaryKeysOperation(session: Session, catalogName: String, schemaName: String, tableName: String): Operation
- abstract def newGetSchemasOperation(session: Session, catalog: String, schema: String): Operation
- abstract def newGetTableTypesOperation(session: Session): Operation
- abstract def newGetTablesOperation(session: Session, catalogName: String, schemaName: String, tableName: String, tableTypes: List[String]): Operation
- abstract def newGetTypeInfoOperation(session: Session): Operation
- abstract def newSetCurrentCatalogOperation(session: Session, catalog: String): Operation
- abstract def newSetCurrentDatabaseOperation(session: Session, database: String): Operation
Concrete 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
- final def addOperation(operation: Operation): Operation
- def allOperations(): Iterable[Operation]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
cancelOperation(opHandle: OperationHandle): Unit
- Annotations
- @throws( ... )
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
closeOperation(opHandle: OperationHandle): Unit
- Annotations
- @throws( ... )
-
var
conf: KyuubiConf
- Attributes
- protected
- Definition Classes
- AbstractService
-
def
debug(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
def
debug(message: ⇒ Any): Unit
- Definition Classes
- Logging
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(message: ⇒ Any): Unit
- Definition Classes
- Logging
-
def
error(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
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
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
- AbstractService → Service
-
def
getName: String
Get the name of this service.
-
final
def
getOperation(opHandle: OperationHandle): Operation
- Annotations
- @throws( ... )
- def getOperationCount: Int
- def getOperationLogRowSet(opHandle: OperationHandle, order: FetchOrientation, maxRows: Int): TFetchResultsResp
- final def getOperationNextRowSet(opHandle: OperationHandle, order: FetchOrientation, maxRows: Int): TFetchResultsResp
- final def getOperationResultSetSchema(opHandle: OperationHandle): TGetResultSetMetadataResp
-
def
getServiceState: ServiceState
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
info(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
def
info(message: ⇒ Any): Unit
- Definition Classes
- Logging
-
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
- OperationManager → AbstractService → Service
-
def
initializeLoggerIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
-
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()
- final def processCatalogDatabase(session: Session, statement: String, confOverlay: Map[String, String]): Operation
- final def removeExpiredOperations(handles: Seq[OperationHandle]): Seq[Operation]
-
final
def
removeOperation(opHandle: OperationHandle): Operation
- Annotations
- @throws( ... )
-
def
skipOperationLog: Boolean
- Attributes
- protected
-
def
start(): Unit
Start the service.
Start the service.
The transition should be from INITIALIZED to STARTED unless the operation failed and an exception was raised.
- Definition Classes
- AbstractService → Service
-
var
startTime: Long
- Attributes
- protected
- Definition Classes
- AbstractService
-
var
state: ServiceState
- Attributes
- protected
- Definition Classes
- AbstractService
-
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
- AbstractService → Service
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
-
def
warn(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
def
warn(message: ⇒ Any): Unit
- Definition Classes
- Logging