class TableRedirect extends AnyRef

This is the main class of the table redirect that interacts with other components.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableRedirect
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TableRedirect(config: DeltaConfig[Option[String]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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 EnableRedirectInProgress to the catalogTableOpt.

    Issues a commit to add the redirect property with state EnableRedirectInProgress to the catalogTableOpt.

    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.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. val config: DeltaConfig[Option[String]]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. 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.

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getRedirectConfiguration(deltaLogMetadata: Metadata): Option[TableRedirectConfiguration]

    Parse the property of table redirect feature to be an in-memory object of TableRedirectConfiguration.

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def isFeatureSet(metadata: Metadata): Boolean

    Determine whether the property of table redirect feature is set.

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def remove(deltaLog: DeltaLog, catalogTableOpt: Option[CatalogTable]): Unit

    Issues a commit to remove the redirect property from the catalogTableOpt.

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. 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 the state, 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.

  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped