Packages

t

molecule.transform

CastHelpers

trait CastHelpers[Tpl] extends Helpers

Core molecule interface defining actions that can be called on molecules.

Generally we could often have made higher-order methods taking a casting function for variating cases. But we prioritize minimizing the macro-generated code as much as possible to lower compile time overhead.

Source
CastHelpers.scala
Linear Supertypes
Helpers, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CastHelpers
  2. Helpers
  3. AnyRef
  4. 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. final def cast(value: Any): String
    Attributes
    protected
    Definition Classes
    Helpers
  6. def castAggrLazySeq[T](row: List[_], i: Int): T
    Attributes
    protected
  7. def castAggrLazySeqBigDecimal(row: List[_], i: Int): BigDecimal
    Attributes
    protected
  8. def castAggrLazySeqBigInt(row: List[_], i: Int): BigInt
    Attributes
    protected
  9. def castAggrLazySeqDouble(row: List[_], i: Int): Float
    Attributes
    protected
  10. def castAggrLazySeqInt(row: List[_], i: Int): Int
    Attributes
    protected
  11. def castAggrListHashSet[T](row: List[_], i: Int): List[T]
    Attributes
    protected
  12. def castAggrListHashSetBigDecimal(row: List[_], i: Int): List[BigDecimal]
    Attributes
    protected
  13. def castAggrListHashSetBigInt(row: List[_], i: Int): List[BigInt]
    Attributes
    protected
  14. def castAggrListHashSetFloat(row: List[_], i: Int): List[Float]
    Attributes
    protected
  15. def castAggrListHashSetInt(row: List[_], i: Int): List[Int]
    Attributes
    protected
  16. def castAggrListLazySeq[T](row: List[_], i: Int): List[T]
    Attributes
    protected
  17. def castAggrListLazySeqBigDecimal(row: List[_], i: Int): List[BigDecimal]
    Attributes
    protected
  18. def castAggrListLazySeqBigInt(row: List[_], i: Int): List[BigInt]
    Attributes
    protected
  19. def castAggrListLazySeqFloat(row: List[_], i: Int): List[Float]
    Attributes
    protected
  20. def castAggrListLazySeqInt(row: List[_], i: Int): List[Int]
    Attributes
    protected
  21. def castAggrListVector[T](row: List[_], i: Int): List[T]
    Attributes
    protected
  22. def castAggrListVectorBigDecimal(row: List[_], i: Int): List[BigDecimal]
    Attributes
    protected
  23. def castAggrListVectorBigInt(row: List[_], i: Int): List[BigInt]
    Attributes
    protected
  24. def castAggrListVectorFloat(row: List[_], i: Int): List[Float]
    Attributes
    protected
  25. def castAggrListVectorInt(row: List[_], i: Int): List[Int]
    Attributes
    protected
  26. def castAggrVector[T](row: List[_], i: Int): T
    Attributes
    protected
  27. def castAggrVectorBigDecimal(row: List[_], i: Int): BigDecimal
    Attributes
    protected
  28. def castAggrVectorBigInt(row: List[_], i: Int): BigInt
    Attributes
    protected
  29. def castAggrVectorDouble(row: List[_], i: Int): Float
    Attributes
    protected
  30. def castAggrVectorInt(row: List[_], i: Int): Int
    Attributes
    protected
  31. def castMany[T](row: List[_], i: Int): Set[T]
    Attributes
    protected
  32. def castManyBigDecimal(row: List[_], i: Int): Set[BigDecimal]
    Attributes
    protected
  33. def castManyBigInt(row: List[_], i: Int): Set[BigInt]
    Attributes
    protected
  34. def castManyEnum(row: List[_], i: Int): Set[String]
    Attributes
    protected
  35. def castManyFloat(row: List[_], i: Int): Set[Float]
    Attributes
    protected
  36. def castManyInt(row: List[_], i: Int): Set[Int]
    Attributes
    protected
  37. def castMapBigDecimal(row: List[_], i: Int): Map[String, BigDecimal]
    Attributes
    protected
  38. def castMapBigInt(row: List[_], i: Int): Map[String, BigInt]
    Attributes
    protected
  39. def castMapBoolean(row: List[_], i: Int): Map[String, Boolean]
    Attributes
    protected
  40. def castMapDate(row: List[_], i: Int): Map[String, Date]
    Attributes
    protected
  41. def castMapDouble(row: List[_], i: Int): Map[String, Double]
    Attributes
    protected
  42. def castMapFloat(row: List[_], i: Int): Map[String, Float]
    Attributes
    protected
  43. def castMapInt(row: List[_], i: Int): Map[String, Int]
    Attributes
    protected
  44. def castMapLong(row: List[_], i: Int): Map[String, Long]
    Attributes
    protected
  45. def castMapString(row: List[_], i: Int): Map[String, String]
    Attributes
    protected
  46. def castMapURI(row: List[_], i: Int): Map[String, URI]
    Attributes
    protected
  47. def castMapUUID(row: List[_], i: Int): Map[String, UUID]
    Attributes
    protected
  48. def castOne[T](row: List[_], i: Int): T
    Attributes
    protected
  49. def castOneBigDecimal(row: List[_], i: Int): BigDecimal
    Attributes
    protected
  50. def castOneBigInt(row: List[_], i: Int): BigInt
    Attributes
    protected
  51. def castOneFloat(row: List[_], i: Int): Float
    Attributes
    protected
  52. def castOneInt(row: List[_], i: Int): Int
    Attributes
    protected
  53. def castOneInt2(row: List[_], i: Int): Int
    Attributes
    protected
  54. def castOptMany[T](row: List[_], i: Int): Option[Set[T]]
    Attributes
    protected
  55. def castOptManyApply[T](row: List[_], i: Int): Option[Set[T]]
    Attributes
    protected
  56. def castOptManyApplyBigDecimal(row: List[_], i: Int): Option[Set[BigDecimal]]
    Attributes
    protected
  57. def castOptManyApplyBigInt(row: List[_], i: Int): Option[Set[BigInt]]
    Attributes
    protected
  58. def castOptManyApplyDouble(row: List[_], i: Int): Option[Set[Double]]
    Attributes
    protected
  59. def castOptManyApplyFloat(row: List[_], i: Int): Option[Set[Float]]
    Attributes
    protected
  60. def castOptManyApplyInt(row: List[_], i: Int): Option[Set[Int]]
    Attributes
    protected
  61. def castOptManyApplyLong(row: List[_], i: Int): Option[Set[Long]]
    Attributes
    protected
  62. def castOptManyBigDecimal(row: List[_], i: Int): Option[Set[BigDecimal]]
    Attributes
    protected
  63. def castOptManyBigInt(row: List[_], i: Int): Option[Set[BigInt]]
    Attributes
    protected
  64. def castOptManyDouble(row: List[_], i: Int): Option[Set[Double]]
    Attributes
    protected
  65. def castOptManyEnum(row: List[_], i: Int): Option[Set[String]]
    Attributes
    protected
  66. def castOptManyFloat(row: List[_], i: Int): Option[Set[Float]]
    Attributes
    protected
  67. def castOptManyInt(row: List[_], i: Int): Option[Set[Int]]
    Attributes
    protected
  68. def castOptManyLong(row: List[_], i: Int): Option[Set[Long]]
    Attributes
    protected
  69. def castOptManyRefAttr(row: List[_], i: Int): Option[Set[Long]]
    Attributes
    protected
  70. def castOptMapApplyBigDecimal(row: List[_], i: Int): Option[Map[String, BigDecimal]]
    Attributes
    protected
  71. def castOptMapApplyBigInt(row: List[_], i: Int): Option[Map[String, BigInt]]
    Attributes
    protected
  72. def castOptMapApplyBoolean(row: List[_], i: Int): Option[Map[String, Boolean]]
    Attributes
    protected
  73. def castOptMapApplyDate(row: List[_], i: Int): Option[Map[String, Date]]
    Attributes
    protected
  74. def castOptMapApplyDouble(row: List[_], i: Int): Option[Map[String, Double]]
    Attributes
    protected
  75. def castOptMapApplyFloat(row: List[_], i: Int): Option[Map[String, Float]]
    Attributes
    protected
  76. def castOptMapApplyInt(row: List[_], i: Int): Option[Map[String, Int]]
    Attributes
    protected
  77. def castOptMapApplyLong(row: List[_], i: Int): Option[Map[String, Long]]
    Attributes
    protected
  78. def castOptMapApplyString(row: List[_], i: Int): Option[Map[String, String]]
    Attributes
    protected
  79. def castOptMapApplyURI(row: List[_], i: Int): Option[Map[String, URI]]
    Attributes
    protected
  80. def castOptMapApplyUUID(row: List[_], i: Int): Option[Map[String, UUID]]
    Attributes
    protected
  81. def castOptMapBigDecimal(row: List[_], i: Int): Option[Map[String, BigDecimal]]
    Attributes
    protected
  82. def castOptMapBigInt(row: List[_], i: Int): Option[Map[String, BigInt]]
    Attributes
    protected
  83. def castOptMapBoolean(row: List[_], i: Int): Option[Map[String, Boolean]]
    Attributes
    protected
  84. def castOptMapDate(row: List[_], i: Int): Option[Map[String, Date]]
    Attributes
    protected
  85. def castOptMapDouble(row: List[_], i: Int): Option[Map[String, Double]]
    Attributes
    protected
  86. def castOptMapFloat(row: List[_], i: Int): Option[Map[String, Float]]
    Attributes
    protected
  87. def castOptMapInt(row: List[_], i: Int): Option[Map[String, Int]]
    Attributes
    protected
  88. def castOptMapLong(row: List[_], i: Int): Option[Map[String, Long]]
    Attributes
    protected
  89. def castOptMapString(row: List[_], i: Int): Option[Map[String, String]]
    Attributes
    protected
  90. def castOptMapURI(row: List[_], i: Int): Option[Map[String, URI]]
    Attributes
    protected
  91. def castOptMapUUID(row: List[_], i: Int): Option[Map[String, UUID]]
    Attributes
    protected
  92. def castOptOne[T](row: List[_], i: Int): Option[T]
    Attributes
    protected
  93. def castOptOneApply[T](row: List[_], i: Int): Option[T]
    Attributes
    protected
  94. def castOptOneApplyBigDecimal(row: List[_], i: Int): Option[BigDecimal]
    Attributes
    protected
  95. def castOptOneApplyBigInt(row: List[_], i: Int): Option[BigInt]
    Attributes
    protected
  96. def castOptOneApplyDouble(row: List[_], i: Int): Option[Double]
    Attributes
    protected
  97. def castOptOneApplyFloat(row: List[_], i: Int): Option[Float]
    Attributes
    protected
  98. def castOptOneApplyInt(row: List[_], i: Int): Option[Int]
    Attributes
    protected
  99. def castOptOneApplyLong(row: List[_], i: Int): Option[Long]
    Attributes
    protected
  100. def castOptOneBigDecimal(row: List[_], i: Int): Option[BigDecimal]
    Attributes
    protected
  101. def castOptOneBigInt(row: List[_], i: Int): Option[BigInt]
    Attributes
    protected
  102. def castOptOneDouble(row: List[_], i: Int): Option[Double]
    Attributes
    protected
  103. def castOptOneEnum(row: List[_], i: Int): Option[String]
    Attributes
    protected
  104. def castOptOneFloat(row: List[_], i: Int): Option[Float]
    Attributes
    protected
  105. def castOptOneInt(row: List[_], i: Int): Option[Int]
    Attributes
    protected
  106. def castOptOneLong(row: List[_], i: Int): Option[Long]
    Attributes
    protected
  107. def castOptOneRefAttr(row: List[_], i: Int): Option[Long]
    Attributes
    protected
  108. def castRow(row: List[AnyRef]): Tpl
    Attributes
    protected
  109. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  110. final def date(s: String): Date
    Attributes
    protected
    Definition Classes
    Helpers
  111. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  112. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  113. final def f(a: Any): Any
    Attributes
    protected
    Definition Classes
    Helpers
  114. final def f2(a: Any): Any
    Attributes
    protected
    Definition Classes
    Helpers
  115. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  116. final def format(date: Date): String
    Attributes
    protected
    Definition Classes
    Helpers
  117. final def format2(date: Date): String
    Attributes
    protected
    Definition Classes
    Helpers
  118. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  119. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  120. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  121. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  122. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  123. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  124. final def o(opt: Option[Any]): String
    Attributes
    protected
    Definition Classes
    Helpers
  125. final lazy val sdf: SimpleDateFormat
    Attributes
    protected
    Definition Classes
    Helpers
  126. final def seq[T](values: Seq[T]): String
    Attributes
    protected
    Definition Classes
    Helpers
  127. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  128. final def time(n: Int, prev: Int = 0): Unit
    Attributes
    protected
    Definition Classes
    Helpers
  129. def toString(): String
    Definition Classes
    AnyRef → Any
  130. final def tupleToSeq(arg: Any): Seq[Any]
    Attributes
    protected
    Definition Classes
    Helpers
  131. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  132. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  133. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  134. object mkDate
    Attributes
    protected
    Definition Classes
    Helpers

Inherited from Helpers

Inherited from AnyRef

Inherited from Any

Ungrouped