class
HiveOps extends Logging
Instance Constructors
-
new
HiveOps(client: IMetaStoreClient)
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
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, location: Path, partition: Partition): Unit
-
def
createPartitionIfNotExists(dbName: String, tableName: String, partition: Partition, path: Path): Boolean
-
def
createTable(databaseName: String, tableName: String, schema: StructType, partitionKeys: Seq[String], dialect: HiveDialect = ParquetHiveDialect(), 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
-
def
hivePartitions(dbName: String, tableName: String): List[Partition]
-
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, partition: Partition): Boolean
-
def
partitionFieldSchemas(dbName: String, tableName: String): List[FieldSchema]
-
def
partitionFields(dbName: String, tableName: String): List[Field]
-
def
partitionKeys(dbName: String, tableName: String): List[String]
-
def
partitionMap(dbName: String, tableName: String): Map[String, Seq[String]]
-
def
partitionMetaData(dbName: String, tableName: String, partition: Partition): Option[PartitionMetaData]
-
def
partitionValues(dbName: String, tableName: String, key: String): Seq[String]
-
def
partitions(dbName: String, tableName: String): List[Partition]
-
def
partitionsMetaData(dbName: String, tableName: String): Seq[PartitionMetaData]
-
def
schema(dbName: String, tableName: String): StructType
-
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