class
HiveOps extends Logging
Instance Constructors
-
new
HiveOps(client: IMetaStoreClient)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
addColumn(dbName: String, tableName: String, field: Field): Unit
-
final
def
asInstanceOf[T0]: T0
-
val
client: IMetaStoreClient
-
def
clone(): AnyRef
-
def
createDatabase(name: String, description: String = null, overwrite: Boolean = false): Unit
-
def
createPartition(dbName: String, tableName: String, partition: PartitionSpec, location: Path): Unit
-
def
createPartition(dbName: String, tableName: String, partition: PartitionSpec): Unit
-
def
createPartitionIfNotExists(dbName: String, tableName: String, parts: List[PartitionPart]): Unit
-
def
createTable(databaseName: String, tableName: String, schema: Schema, partitionKeys: List[String], format: HiveFormat = HiveFormat.Text, props: Map[String, String] = Map.empty, tableType: TableType = TableType.MANAGED_TABLE, location: String = null, overwrite: Boolean = false): Boolean
-
def
createTimeAsInt(): Int
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
location(dbName: String, tableName: String): String
-
val
logger: Logger
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
partitionExists(dbName: String, tableName: String, parts: List[PartitionPart]): Boolean
-
def
partitionKeyNames(dbName: String, tableName: String): List[String]
-
def
partitionKeys(dbName: String, tableName: String): List[FieldSchema]
-
def
partitionPath(parts: List[PartitionPart], tablePath: Path): Path
-
def
partitionPath(dbName: String, tableName: String, parts: List[PartitionPart]): Path
-
def
partitionPathString(parts: List[PartitionPart], tablePath: Path): String
-
def
partitions(dbName: String, tableName: String): List[org.apache.hadoop.hive.metastore.api.Partition]
-
def
schema(dbName: String, tableName: String): Schema
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
tableExists(databaseName: String, tableName: String): Boolean
-
def
tableFormat(dbName: String, tableName: String): String
-
def
tablePath(dbName: String, tableName: String): Path
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Logging
Inherited from AnyRef
Inherited from Any