Object

io.eels.component.hive

HiveOps

Related Doc: package hive

Permalink

object HiveOps extends StrictLogging

Linear Supertypes
StrictLogging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HiveOps
  2. StrictLogging
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createPartition(dbName: String, tableName: String, partition: Partition, location: Path)(implicit client: HiveMetaStoreClient): Unit

    Permalink

    Creates a new partition in Hive in the given database:table.

    Creates a new partition in Hive in the given database:table. The location of the partition must be specified. If you want to use the default location then use the other variant that doesn't require the location path. The values for the serialzation formats are taken from the values for the table.

  7. def createPartition(dbName: String, tableName: String, partition: Partition)(implicit client: HiveMetaStoreClient): Unit

    Permalink

    Creates a new partition in Hive in the given database:table in the default location, which will be the partition key values as a subdirectory of the table location.

    Creates a new partition in Hive in the given database:table in the default location, which will be the partition key values as a subdirectory of the table location. The values for the serialzation formats are taken from the values for the table.

  8. def createPartitionIfNotExists(dbName: String, tableName: String, parts: Seq[PartitionPart])(implicit client: HiveMetaStoreClient): Unit

    Permalink
  9. def createTable(databaseName: String, tableName: String, schema: Schema, partitionKeys: List[String] = Nil, format: HiveFormat = HiveFormat.Text, props: Map[String, String] = Map.empty, tableType: TableType = TableType.MANAGED_TABLE, location: Option[String] = None, overwrite: Boolean = false)(implicit client: HiveMetaStoreClient): Boolean

    Permalink
  10. def createTimeAsInt: Int

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hivePartitions(dbName: String, tableName: String)(implicit client: HiveMetaStoreClient): List[org.apache.hadoop.hive.metastore.api.Partition]

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def location(dbName: String, tableName: String)(implicit client: HiveMetaStoreClient): String

    Permalink
  19. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging → Logging
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def partitionExists(dbName: String, tableName: String, parts: Seq[PartitionPart])(implicit client: HiveMetaStoreClient): Boolean

    Permalink
  24. def partitionKeyNames(dbName: String, tableName: String)(implicit client: HiveMetaStoreClient): List[String]

    Permalink
  25. def partitionKeys(dbName: String, tableName: String)(implicit client: HiveMetaStoreClient): List[FieldSchema]

    Permalink
  26. def partitionMap(dbName: String, tableName: String)(implicit client: HiveMetaStoreClient): Map[String, Set[String]]

    Permalink

    Returns a map of all partition keys to their values.

    Returns a map of all partition keys to their values. This operation is optimized, in that it does not need to scan files, but can retrieve the information directly from the hive metastore.

  27. def partitionPath(dbName: String, tableName: String, parts: Seq[PartitionPart], tablePath: Path): Path

    Permalink
  28. def partitionPath(dbName: String, tableName: String, parts: Seq[PartitionPart])(implicit client: HiveMetaStoreClient): Path

    Permalink
  29. def partitionValues(dbName: String, tableName: String, key: String)(implicit client: HiveMetaStoreClient): Set[String]

    Permalink

    Returns all partition values for a given partition key.

    Returns all partition values for a given partition key. This operation is optimized, in that it does not need to scan files, but can retrieve the information directly from the hive metastore.

  30. def partitionValues(dbName: String, tableName: String, keys: Seq[String])(implicit client: HiveMetaStoreClient): List[Set[String]]

    Permalink

    Returns all partition values for the given partition keys.

    Returns all partition values for the given partition keys. This operation is optimized, in that it does not need to scan files, but can retrieve the information directly from the hive metastore.

  31. def partitions(dbName: String, tableName: String)(implicit client: HiveMetaStoreClient): List[Partition]

    Permalink
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def tableExists(databaseName: String, tableName: String)(implicit client: HiveMetaStoreClient): Boolean

    Permalink
  34. def tableFormat(dbName: String, tableName: String)(implicit client: HiveMetaStoreClient): String

    Permalink
  35. def tablePath(dbName: String, tableName: String)(implicit client: HiveMetaStoreClient): Path

    Permalink
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StrictLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped