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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Cast
- Serializable
- Product
- Equals
- DataTypeConverter
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
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 append(other: Cast): Cast
Append another cast to this cast.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val canFail: Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def convert(element: Element): Element
- Definition Classes
- Cast → DataTypeConverter
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val from: DataType
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def isIdentity: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSafe: Boolean
Returns true if this cast is safe to execute
- val loosing: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val op: (Element) => Element
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def targetType: DataType
- Definition Classes
- Cast → DataTypeConverter
- val to: DataType
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])