Class

org.apache.spark.sql.hive

SnappyHiveCatalogBase

Related Doc: package hive

Permalink

abstract class SnappyHiveCatalogBase extends HiveExternalCatalog

Linear Supertypes
HiveExternalCatalog, internal.Logging, ExternalCatalog, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SnappyHiveCatalogBase
  2. HiveExternalCatalog
  3. Logging
  4. ExternalCatalog
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SnappyHiveCatalogBase(conf: SparkConf, hadoopConf: Configuration)

    Permalink
    Attributes
    protected[org.apache.spark.sql.hive]

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. def alterDatabase(dbDefinition: CatalogDatabase): Unit

    Permalink

    Alter a database whose name matches the one specified in dbDefinition, assuming the database exists.

    Alter a database whose name matches the one specified in dbDefinition, assuming the database exists.

    Note: As of now, this only supports altering database properties!

    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  5. def alterPartitions(db: String, table: String, newParts: Seq[CatalogTablePartition]): Unit

    Permalink

    Alter one or many table partitions whose specs that match those specified in parts, assuming the partitions exist.

    Alter one or many table partitions whose specs that match those specified in parts, assuming the partitions exist.

    Note: If the underlying implementation does not support altering a certain field, this becomes a no-op.

    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  6. def alterTable(tableDefinition: CatalogTable): Unit

    Permalink

    Alter a table whose name that matches the one specified in tableDefinition, assuming the table exists.

    Alter a table whose name that matches the one specified in tableDefinition, assuming the table exists.

    Note: As of now, this doesn't support altering table schema, partition column names and bucket specification. We will ignore them even if users do specify different values for these fields.

    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  7. def alterTableSchema(db: String, table: String, schema: StructType): Unit

    Permalink

    Alter the schema of a table identified by the provided database and table name.

    Alter the schema of a table identified by the provided database and table name. The new schema should still contain the existing bucket columns and partition columns used by the table. This method will also update any Spark SQL-related parameters stored as Hive table properties (such as the schema itself).

    db

    Database that table to alter schema for exists in

    table

    Name of table to alter schema for

    schema

    Updated schema to be used for the table (must contain existing partition and bucket columns)

    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def client(): HiveClient

    Permalink

    A Hive client used to interact with the metastore.

    A Hive client used to interact with the metastore.

    Definition Classes
    SnappyHiveCatalogBase → HiveExternalCatalog
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def createDatabase(dbDefinition: CatalogDatabase, ignoreIfExists: Boolean): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  12. def createFunction(db: String, funcDefinition: CatalogFunction): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  13. def createPartitions(db: String, table: String, parts: Seq[CatalogTablePartition], ignoreIfExists: Boolean): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  14. def createTable(tableDefinition: CatalogTable, ignoreIfExists: Boolean): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  15. def databaseExists(db: String): Boolean

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  16. def dropDatabase(db: String, ignoreIfNotExists: Boolean, cascade: Boolean): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  17. def dropFunction(db: String, name: String): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  18. def dropPartitions(db: String, table: String, parts: Seq[TablePartitionSpec], ignoreIfNotExists: Boolean, purge: Boolean, retainData: Boolean): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  19. def dropTable(db: String, table: String, ignoreIfNotExists: Boolean, purge: Boolean): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  20. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def functionExists(db: String, funcName: String): Boolean

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def getDatabase(db: String): CatalogDatabase

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  26. def getFunction(db: String, funcName: String): CatalogFunction

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  27. def getPartition(db: String, table: String, spec: TablePartitionSpec): CatalogTablePartition

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  28. def getPartitionOption(db: String, table: String, spec: TablePartitionSpec): Option[CatalogTablePartition]

    Permalink

    Returns the specified partition or None if it does not exist.

    Returns the specified partition or None if it does not exist.

    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  29. def getTable(db: String, table: String): CatalogTable

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  30. def getTableOption(db: String, table: String): Option[CatalogTable]

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  31. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  32. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean = false): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. def listDatabases(pattern: String): Seq[String]

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  37. def listDatabases(): Seq[String]

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  38. def listFunctions(db: String, pattern: String): Seq[String]

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  39. def listPartitionNames(db: String, table: String, partialSpec: Option[TablePartitionSpec] = None): Seq[String]

    Permalink

    Returns the partition names from hive metastore for a given table in a database.

    Returns the partition names from hive metastore for a given table in a database.

    db

    database name

    table

    table name

    partialSpec

    partition spec

    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  40. def listPartitions(db: String, table: String, partialSpec: Option[TablePartitionSpec] = None): Seq[CatalogTablePartition]

    Permalink

    Returns the partitions from hive metastore for a given table in a database.

    Returns the partitions from hive metastore for a given table in a database.

    db

    database name

    table

    table name

    partialSpec

    partition spec

    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  41. def listPartitionsByFilter(db: String, table: String, predicates: Seq[Expression]): Seq[CatalogTablePartition]

    Permalink

    List the metadata of partitions that belong to the specified table, assuming it exists, that satisfy the given partition-pruning predicate expressions.

    List the metadata of partitions that belong to the specified table, assuming it exists, that satisfy the given partition-pruning predicate expressions.

    db

    database name

    table

    table name

    predicates

    partition-pruning predicates

    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  42. def listTables(db: String, pattern: String): Seq[String]

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  43. def listTables(db: String): Seq[String]

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  44. def loadDynamicPartitions(db: String, table: String, loadPath: String, partition: TablePartitionSpec, replace: Boolean, numDP: Int, holdDDLTime: Boolean): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  45. def loadPartition(db: String, table: String, loadPath: String, partition: TablePartitionSpec, isOverwrite: Boolean, holdDDLTime: Boolean, inheritTableSpecs: Boolean): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  46. def loadTable(db: String, table: String, loadPath: String, isOverwrite: Boolean, holdDDLTime: Boolean): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  47. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  48. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  49. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  50. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  51. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  52. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  53. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  54. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  55. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  56. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  57. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  58. def logWarning(msg: ⇒ String): Unit

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

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

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

    Permalink
    Definition Classes
    AnyRef
  62. def renameFunction(db: String, oldName: String, newName: String): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  63. def renamePartitions(db: String, table: String, specs: Seq[TablePartitionSpec], newSpecs: Seq[TablePartitionSpec]): Unit

    Permalink

    Override the specs of one or many existing table partitions, assuming they exist.

    Override the specs of one or many existing table partitions, assuming they exist. This assumes index i of specs corresponds to index i of newSpecs.

    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  64. def renameTable(db: String, oldName: String, newName: String): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  65. def requireDbExists(db: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalCatalog
  66. def requireFunctionExists(db: String, funcName: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalCatalog
  67. def requireFunctionNotExists(db: String, funcName: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalCatalog
  68. def requireTableExists(db: String, table: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalCatalog
  69. def setCurrentDatabase(db: String): Unit

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  70. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  71. def tableExists(db: String, table: String): Boolean

    Permalink
    Definition Classes
    HiveExternalCatalog → ExternalCatalog
  72. def toString(): String

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

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

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

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

Inherited from HiveExternalCatalog

Inherited from internal.Logging

Inherited from ExternalCatalog

Inherited from AnyRef

Inherited from Any

Ungrouped