Packages

case class Cast(from: DataType, to: DataType, loosing: Boolean, canFail: Boolean, op: (Element) ⇒ Element) extends DataTypeConverter with Product with Serializable

A Single Cast Operation, converting one element type to another one.

from

source type

to

destination type

loosing

if true, the cast is loosing precision

canFail

if true, the cast can fail

op

the cast operation

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cast
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. DataTypeConverter
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Cast(from: DataType, to: DataType, loosing: Boolean, canFail: Boolean, op: (Element) ⇒ Element)

    from

    source type

    to

    destination type

    loosing

    if true, the cast is loosing precision

    canFail

    if true, the cast can fail

    op

    the cast operation

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 append(other: Cast): Cast

    Append another cast to this cast.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val canFail: Boolean
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def convert(element: Element): Element
    Definition Classes
    CastDataTypeConverter
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val from: DataType
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def isIdentity: Boolean
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isSafe: Boolean

    Returns true if this cast is safe to execute

  15. val loosing: Boolean
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. val op: (Element) ⇒ Element
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def targetType: DataType
    Definition Classes
    CastDataTypeConverter
  22. val to: DataType
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DataTypeConverter

Inherited from AnyRef

Inherited from Any

Ungrouped