Packages

c

io.delta.flink.source.internal.utils

TransitiveOptional

class TransitiveOptional[T] extends AnyRef

A container object which may or may not contain a non-null value. It supports chaining through

An example of using TransitiveOptional class for method chaining where every method returns TransitiveOptional instance. In this chain, the next step will be executed ONLY if the previous one returned an empty TransitiveOptional

    return getSnapshotFromCheckpoint(checkpointSnapshotVersion)
           .or(this::getSnapshotFromStartingVersionOption)
           .or(this::getSnapshotFromStartingTimestampOption)
           .or(this::getHeadSnapshot)
           .get();

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

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

    If a value is present, returns the value, otherwise throws NoSuchElementException.

    If a value is present, returns the value, otherwise throws NoSuchElementException.

    returns

    the non-null value described by this TransitiveOptional

    Exceptions thrown

    NoSuchElementException if no value is present

  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def or(supplier: Supplier[_ <: TransitiveOptional[_ <: T]]): TransitiveOptional[T]

    If a value is present, returns an TransitiveOptional describing the value, otherwise returns an TransitiveOptional produced by the supplying function.

    If a value is present, returns an TransitiveOptional describing the value, otherwise returns an TransitiveOptional produced by the supplying function.

    supplier

    the supplying function that produces an TransitiveOptional to be returned

    returns

    returns an TransitiveOptional describing the value of this TransitiveOptional, if a value is present, otherwise an TransitiveOptional produced by the supplying function.

    Exceptions thrown

    NullPointerException if the supplying function is null or produces a null result

  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped