Class

za.co.absa.cobrix.spark.cobol.parameters

Parameters

Related Doc: package parameters

Permalink

class Parameters extends AnyRef

Wraps parameters provided by spark.read.option(...) in order to track which parameters are actually used/recognized.

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

Instance Constructors

  1. new Parameters(params: Map[String, String])

    Permalink

    params

    Parameters provided by spark.read.option(...)

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(key: String): String

    Permalink

    Gets a value from the underlying parameters map tracking its usage.

    Gets a value from the underlying parameters map tracking its usage.

    key

    A key to the parameters map

    returns

    A value associated with the key

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contains(key: String): Boolean

    Permalink

    Returns true if a key is present in the underlying map tracking its usage.

    Returns true if a key is present in the underlying map tracking its usage.

    key

    A key to the parameters map

    returns

    True if the key is present in the map

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(key: String): Option[String]

    Permalink

    Gets a value from the underlying parameters map tracking its usage.

    Gets a value from the underlying parameters map tracking its usage.

    key

    A key to the parameters map

    returns

    An option boxed value associated with the key

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getMap: Map[String, String]

    Permalink

    Returns the underlying map.

    Returns the underlying map. This is used for getting spark-cobol options by enumerating the map itself.

    returns

    The underlying parameters map

  14. def getOrElse(key: String, default: ⇒ String): String

    Permalink

    Gets a value from the underlying parameters map tracking its usage.

    Gets a value from the underlying parameters map tracking its usage.

    key

    A key to the parameters map

    default

    A default value that will be returned if the map does not contain the key.

    returns

    An value associated with the key or the default value if the key is not present in the map

  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isKeyUsed(key: String): Boolean

    Permalink

    Returns the underlying map.

    Returns the underlying map. This is used for getting spark-cobol options by enumerating the map itself.

    returns

    True is the provided key was used for determining how a COBOL data need to be processed.

  18. def markUsed(key: String): Unit

    Permalink

    Marks that a key is actually used by 'spark-cobol'.

    Marks that a key is actually used by 'spark-cobol'. The method is used when options are processed by enumerating the underlying map.

    key

    A key to the parameters map

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped