object RedirectReaderWriter extends TableRedirect
- Alphabetic
- By Inheritance
- RedirectReaderWriter
- TableRedirect
- 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
- def add(deltaLog: DeltaLog, catalogTableOpt: Option[CatalogTable], redirectType: String, spec: RedirectSpec, noRedirectRules: Set[NoRedirectRule] = Set.empty[NoRedirectRule]): Unit
Issues a commit to add the redirect property with state
EnableRedirectInProgressto thecatalogTableOpt.Issues a commit to add the redirect property with state
EnableRedirectInProgressto thecatalogTableOpt.- deltaLog
The deltaLog object of the table to be redirected.
- catalogTableOpt
The CatalogTable object of the table to be redirected.
- redirectType
The type of redirection is used as an identifier to deserialize the content of
spec.- spec
The specification of redirection contains all necessary detail of looking up the redirect destination table.
- Definition Classes
- TableRedirect
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val config: DeltaConfig[Option[String]]
- Definition Classes
- TableRedirect
- 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])
- def generateRedirectMetadata(redirectType: String, state: RedirectState, redirectSpec: RedirectSpec, noRedirectRules: Set[NoRedirectRule]): Map[String, String]
Generate the key-value pair of the table redirect property.
Generate the key-value pair of the table redirect property. Its key is the table redirect property name and its name is the JSON string of TableRedirectConfiguration.
- Definition Classes
- TableRedirect
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getRedirectConfiguration(deltaLogMetadata: Metadata): Option[TableRedirectConfiguration]
Parse the property of table redirect feature to be an in-memory object of TableRedirectConfiguration.
Parse the property of table redirect feature to be an in-memory object of TableRedirectConfiguration.
- Definition Classes
- TableRedirect
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isFeatureSet(metadata: Metadata): Boolean
Determine whether the property of table redirect feature is set.
Determine whether the property of table redirect feature is set.
- Definition Classes
- TableRedirect
- def isFeatureSupported(snapshot: Snapshot): Boolean
True if
snapshotenables redirect-reader-writer feature. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isUpdateProperty(snapshot: Snapshot, propKeys: Seq[String]): Boolean
True if the update property command tries to set/unset redirect-reader-writer feature.
- 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()
- def remove(deltaLog: DeltaLog, catalogTableOpt: Option[CatalogTable]): Unit
Issues a commit to remove the redirect property from the
catalogTableOpt.Issues a commit to remove the redirect property from the
catalogTableOpt.- Definition Classes
- TableRedirect
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update(deltaLog: DeltaLog, catalogTableOpt: Option[CatalogTable], state: RedirectState, spec: RedirectSpec, noRedirectRules: Set[NoRedirectRule] = Set.empty[NoRedirectRule]): Unit
Issues a commit to update the table redirect property on the
catalogTableOpt.Issues a commit to update the table redirect property on the
catalogTableOpt. For the commits update thestate, a validation is applied to ensure the state transition is valid.- deltaLog
The deltaLog object of the table to be redirected.
- catalogTableOpt
The CatalogTable object of the table to be redirected.
- state
The new state of redirection.
- spec
The specification of redirection contains all necessary detail of looking up the redirect destination table.
- Definition Classes
- TableRedirect
- 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()