class TableRedirect extends AnyRef
This is the main class of the table redirect that interacts with other components.
- Alphabetic
- By Inheritance
- TableRedirect
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TableRedirect(config: DeltaConfig[Option[String]])
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.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val config: DeltaConfig[Option[String]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): 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.
-
final
def
getClass(): Class[_]
- 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.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isFeatureSet(metadata: Metadata): Boolean
Determine whether the property of table redirect feature is set.
-
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()
-
def
remove(deltaLog: DeltaLog, catalogTableOpt: Option[CatalogTable]): Unit
Issues a commit to remove the redirect property from the
catalogTableOpt. -
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.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()