object UpdateCatalog extends Serializable
- Alphabetic
- By Inheritance
- UpdateCatalog
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- val ERROR_KEY: String
- val HIVE_METASTORE_NAME: String
- val LONG_SCHEMA_ERROR: String
- val NON_LATIN_CHARS_ERROR: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def awaitCompletion(timeoutMillis: Long): Boolean
Waits for all active and queued updates to finish until the given timeout.
Waits for all active and queued updates to finish until the given timeout. Will return true if all async threads have completed execution. Will return false if not. Exposed for tests.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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
- def truncateSchemaIfNecessary(schema: StructType, truncationThreshold: Long): (StructType, Map[String, String])
If the schema contains non-latin encoding characters, the schema can become garbled.
If the schema contains non-latin encoding characters, the schema can become garbled. We need to truncate the schema in that case. Also, if any of the fields is longer than
truncationThreshold, then the schema will be truncated to an empty schema to avoid corruption.- returns
a tuple of the truncated schema and a map of error messages if any. The error message is only set if the schema is truncated. Truncation can happen if the schema is too long or if it contains non-latin characters.
- def updatedProperties(snapshot: Snapshot): Map[String, String]
Updates our properties map with the version and timestamp information of the snapshot.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()