class HiveSessionImpl extends HiveSession
HiveSession
- Alphabetic
- By Inheritance
- HiveSessionImpl
- HiveSession
- HiveSessionBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
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 acquire(userAccess: Boolean): Unit
- Attributes
- protected[session]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cancelDelegationToken(authFactory: HiveAuthFactory, tokenStr: String): Unit
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- def cancelOperation(opHandle: OperationHandle): Unit
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def close(): Unit
close the session
close the session
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def closeExpiredOperations(): Unit
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- def closeOperation(opHandle: OperationHandle): Unit
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def executeStatement(statement: String, confOverlay: Map[String, String], queryTimeout: Long): OperationHandle
execute operation handler
execute operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def executeStatement(statement: String, confOverlay: Map[String, String]): OperationHandle
execute operation handler
execute operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def executeStatementAsync(statement: String, confOverlay: Map[String, String], queryTimeout: Long): OperationHandle
execute operation handler
execute operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def executeStatementAsync(statement: String, confOverlay: Map[String, String]): OperationHandle
execute operation handler
execute operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def fetchResults(opHandle: OperationHandle, orientation: FetchOrientation, maxRows: Long, fetchType: FetchType): TRowSet
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- def getCatalogs(): OperationHandle
getCatalogs operation handler
getCatalogs operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getColumns(catalogName: String, schemaName: String, tableName: String, columnName: String): OperationHandle
getColumns operation handler
getColumns operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def getCrossReference(primaryCatalog: String, primarySchema: String, primaryTable: String, foreignCatalog: String, foreignSchema: String, foreignTable: String): OperationHandle
getCrossReference operation handler
getCrossReference operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def getDelegationToken(authFactory: HiveAuthFactory, owner: String, renewer: String): String
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- def getFunctions(catalogName: String, schemaName: String, functionName: String): OperationHandle
getFunctions operation handler
getFunctions operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def getHiveConf(): HiveConf
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def getInfo(getInfoType: GetInfoType): GetInfoValue
getInfo operation handler
getInfo operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def getIpAddress(): String
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def getLastAccessTime(): Long
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def getMetaStoreClient(): IMetaStoreClient
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- def getNoOperationTime(): Long
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- 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
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def getPassword(): String
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def getPrimaryKeys(catalog: String, schema: String, table: String): OperationHandle
getPrimaryKeys operation handler
getPrimaryKeys operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def getProtocolVersion(): TProtocolVersion
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def getResultSetMetadata(opHandle: OperationHandle): TTableSchema
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- def getSchemas(catalogName: String, schemaName: String): OperationHandle
getSchemas operation handler
getSchemas operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def getSession(): HiveSession
- Attributes
- protected[session]
- def getSessionHandle(): SessionHandle
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def getSessionManager(): SessionManager
Get the session manager for the session
Get the session manager for the session
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def getSessionState(): SessionState
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def getTableTypes(): OperationHandle
getTableTypes operation handler
getTableTypes operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def getTables(catalogName: String, schemaName: String, tableName: String, tableTypes: List[String]): OperationHandle
getTables operation handler
getTables operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def getTypeInfo(): OperationHandle
getTypeInfo operation handler
getTypeInfo operation handler
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- Exceptions thrown
- def getUserName(): String
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def getUsername(): String
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- 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()
- def open(sessionConfMap: Map[String, String]): Unit
Opens a new HiveServer2 session for the client connection.
Opens a new HiveServer2 session for the client connection. Creates a new SessionState object that will be associated with this HiveServer2 session. When the server executes multiple queries in the same session, this SessionState object is reused across multiple queries. Note that if doAs is true, this call goes through a proxy object, which wraps the method logic in a UserGroupInformation#doAs. That's why it is important to create SessionState here rather than in the constructor.
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- def release(userAccess: Boolean): Unit
1.
1. We'll remove the ThreadLocal SessionState as this thread might now serve other requests. 2. We'll cache the ThreadLocal RawStore object for this background thread for an orderly cleanup when this thread is garbage collected later.
- Attributes
- protected[session]
- See also
org.apache.hive.service.server.ThreadWithGarbageCleanup#finalize()
- def renewDelegationToken(authFactory: HiveAuthFactory, tokenStr: String): Unit
- Definition Classes
- HiveSessionImpl → HiveSession
- Annotations
- @Override()
- def setIpAddress(ipAddress: String): Unit
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- 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
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def setOperationManager(operationManager: OperationManager): Unit
Set operation manager for the session
Set operation manager for the session
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def setSessionManager(sessionManager: SessionManager): Unit
Set the session manager for the session
Set the session manager for the session
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- def setUserName(userName: String): Unit
- Definition Classes
- HiveSessionImpl → HiveSessionBase
- Annotations
- @Override()
- 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)