trait HiveSession extends HiveSessionBase
- Alphabetic
- By Inheritance
- HiveSession
- HiveSessionBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def cancelDelegationToken(authFactory: HiveAuthFactory, tokenStr: String): Unit
- abstract def cancelOperation(opHandle: OperationHandle): Unit
- abstract def close(): Unit
close the session
close the session
- Exceptions thrown
- abstract def closeExpiredOperations(): Unit
- abstract def closeOperation(opHandle: OperationHandle): Unit
- abstract def executeStatement(statement: String, confOverlay: Map[String, String], queryTimeout: Long): OperationHandle
execute operation handler
execute operation handler
- Exceptions thrown
- abstract def executeStatement(statement: String, confOverlay: Map[String, String]): OperationHandle
execute operation handler
execute operation handler
- Exceptions thrown
- abstract def executeStatementAsync(statement: String, confOverlay: Map[String, String], queryTimeout: Long): OperationHandle
execute operation handler
execute operation handler
- Exceptions thrown
- abstract def executeStatementAsync(statement: String, confOverlay: Map[String, String]): OperationHandle
execute operation handler
execute operation handler
- Exceptions thrown
- abstract def fetchResults(opHandle: OperationHandle, orientation: FetchOrientation, maxRows: Long, fetchType: FetchType): TRowSet
- abstract def getCatalogs(): OperationHandle
getCatalogs operation handler
getCatalogs operation handler
- Exceptions thrown
- abstract def getColumns(catalogName: String, schemaName: String, tableName: String, columnName: String): OperationHandle
getColumns operation handler
getColumns operation handler
- Exceptions thrown
- abstract def getCrossReference(primaryCatalog: String, primarySchema: String, primaryTable: String, foreignCatalog: String, foreignSchema: String, foreignTable: String): OperationHandle
getCrossReference operation handler
getCrossReference operation handler
- Exceptions thrown
- abstract def getDelegationToken(authFactory: HiveAuthFactory, owner: String, renewer: String): String
- abstract def getFunctions(catalogName: String, schemaName: String, functionName: String): OperationHandle
getFunctions operation handler
getFunctions operation handler
- Exceptions thrown
- abstract def getHiveConf(): HiveConf
- Definition Classes
- HiveSessionBase
- abstract def getInfo(getInfoType: GetInfoType): GetInfoValue
getInfo operation handler
getInfo operation handler
- Exceptions thrown
- abstract def getIpAddress(): String
- Definition Classes
- HiveSessionBase
- abstract def getLastAccessTime(): Long
- Definition Classes
- HiveSessionBase
- abstract def getMetaStoreClient(): IMetaStoreClient
- abstract def getNoOperationTime(): Long
- abstract def getOperationLogSessionDir(): File
Get the session dir, which is the parent dir of operation logs
Get the session dir, which is the parent dir of operation logs
- returns
a file representing the parent directory of operation logs
- Definition Classes
- HiveSessionBase
- abstract def getPassword(): String
- Definition Classes
- HiveSessionBase
- abstract def getPrimaryKeys(catalog: String, schema: String, table: String): OperationHandle
getPrimaryKeys operation handler
getPrimaryKeys operation handler
- Exceptions thrown
- abstract def getProtocolVersion(): TProtocolVersion
- Definition Classes
- HiveSessionBase
- abstract def getResultSetMetadata(opHandle: OperationHandle): TTableSchema
- abstract def getSchemas(catalogName: String, schemaName: String): OperationHandle
getSchemas operation handler
getSchemas operation handler
- Exceptions thrown
- abstract def getSessionHandle(): SessionHandle
- Definition Classes
- HiveSessionBase
- abstract def getSessionManager(): SessionManager
Get the session manager for the session
Get the session manager for the session
- Definition Classes
- HiveSessionBase
- abstract def getSessionState(): SessionState
- Definition Classes
- HiveSessionBase
- abstract def getTableTypes(): OperationHandle
getTableTypes operation handler
getTableTypes operation handler
- Exceptions thrown
- abstract def getTables(catalogName: String, schemaName: String, tableName: String, tableTypes: List[String]): OperationHandle
getTables operation handler
getTables operation handler
- Exceptions thrown
- abstract def getTypeInfo(): OperationHandle
getTypeInfo operation handler
getTypeInfo operation handler
- Exceptions thrown
- abstract def getUserName(): String
- Definition Classes
- HiveSessionBase
- abstract def getUsername(): String
- Definition Classes
- HiveSessionBase
- abstract def isOperationLogEnabled(): Boolean
Check whether operation logging is enabled and session dir is created successfully
Check whether operation logging is enabled and session dir is created successfully
- Definition Classes
- HiveSessionBase
- abstract def open(sessionConfMap: Map[String, String]): Unit
- abstract def renewDelegationToken(authFactory: HiveAuthFactory, tokenStr: String): Unit
- abstract def setIpAddress(ipAddress: String): Unit
- Definition Classes
- HiveSessionBase
- abstract def setOperationLogSessionDir(operationLogRootDir: File): Unit
Set the session dir, which is the parent dir of operation logs
Set the session dir, which is the parent dir of operation logs
- operationLogRootDir
the parent dir of the session dir
- Definition Classes
- HiveSessionBase
- abstract def setOperationManager(operationManager: OperationManager): Unit
Set operation manager for the session
Set operation manager for the session
- Definition Classes
- HiveSessionBase
- abstract def setSessionManager(sessionManager: SessionManager): Unit
Set the session manager for the session
Set the session manager for the session
- Definition Classes
- HiveSessionBase
- abstract def setUserName(userName: String): Unit
- Definition Classes
- HiveSessionBase
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 asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)