trait HiveSession extends HiveSessionBase
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
- HiveSession
- HiveSessionBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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): RowSet
-
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): TableSchema
-
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( ... ) @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
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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()