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
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CastHelpers
  2. Helpers
  3. DateHandling
  4. RegexMatching
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class Regex extends AnyRef
    Definition Classes
    RegexMatching

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 cast(value: Any): String
    Attributes
    protected
    Definition Classes
    Helpers
  6. def castAggrManyList[T](row: List[_], i: Int): List[Set[T]]
    Attributes
    protected
  7. def castAggrManyListBigDecimal(row: List[_], i: Int): List[Set[BigDecimal]]
    Attributes
    protected
  8. def castAggrManyListBigInt(row: List[_], i: Int): List[Set[BigInt]]
    Attributes
    protected
  9. def castAggrManyListDistinct[T](row: List[_], i: Int): List[Set[T]]
    Attributes
    protected
  10. def castAggrManyListDistinctBigDecimal(row: List[_], i: Int): List[Set[BigDecimal]]
    Attributes
    protected
  11. def castAggrManyListDistinctBigInt(row: List[_], i: Int): List[Set[BigInt]]
    Attributes
    protected
  12. def castAggrManyListDistinctFloat(row: List[_], i: Int): List[Set[Float]]
    Attributes
    protected
  13. def castAggrManyListDistinctInt(row: List[_], i: Int): List[Set[Int]]
    Attributes
    protected
  14. def castAggrManyListFloat(row: List[_], i: Int): List[Set[Float]]
    Attributes
    protected
  15. def castAggrManyListInt(row: List[_], i: Int): List[Set[Int]]
    Attributes
    protected
  16. def castAggrManyListRand[T](row: List[_], i: Int): List[Set[T]]
    Attributes
    protected
  17. def castAggrManyListRandBigDecimal(row: List[_], i: Int): List[Set[BigDecimal]]
    Attributes
    protected
  18. def castAggrManyListRandBigInt(row: List[_], i: Int): List[Set[BigInt]]
    Attributes
    protected
  19. def castAggrManyListRandFloat(row: List[_], i: Int): List[Set[Float]]
    Attributes
    protected
  20. def castAggrManyListRandInt(row: List[_], i: Int): List[Set[Int]]
    Attributes
    protected
  21. def castAggrManySingle[T](row: List[_], i: Int): Set[T]
    Attributes
    protected
  22. def castAggrManySingleBigDecimal(row: List[_], i: Int): Set[BigDecimal]
    Attributes
    protected
  23. def castAggrManySingleBigInt(row: List[_], i: Int): Set[BigInt]
    Attributes
    protected
  24. def castAggrManySingleFloat(row: List[_], i: Int): Set[Float]
    Attributes
    protected
  25. def castAggrManySingleInt(row: List[_], i: Int): Set[Int]
    Attributes
    protected
  26. def castAggrOneList[T](row: List[_], i: Int): List[T]
    Attributes
    protected
  27. def castAggrOneListBigDecimal(row: List[_], i: Int): List[BigDecimal]
    Attributes
    protected
  28. def castAggrOneListBigInt(row: List[_], i: Int): List[BigInt]
    Attributes
    protected
  29. def castAggrOneListDistinct[T](row: List[_], i: Int): List[T]
    Attributes
    protected
  30. def castAggrOneListDistinctBigDecimal(row: List[_], i: Int): List[BigDecimal]
    Attributes
    protected
  31. def castAggrOneListDistinctBigInt(row: List[_], i: Int): List[BigInt]
    Attributes
    protected
  32. def castAggrOneListDistinctFloat(row: List[_], i: Int): List[Float]
    Attributes
    protected
  33. def castAggrOneListDistinctInt(row: List[_], i: Int): List[Int]
    Attributes
    protected
  34. def castAggrOneListFloat(row: List[_], i: Int): List[Float]
    Attributes
    protected
  35. def castAggrOneListInt(row: List[_], i: Int): List[Int]
    Attributes
    protected
  36. def castAggrOneListRand[T](row: List[_], i: Int): List[T]
    Attributes
    protected
  37. def castAggrOneListRandBigDecimal(row: List[_], i: Int): List[BigDecimal]
    Attributes
    protected
  38. def castAggrOneListRandBigInt(row: List[_], i: Int): List[BigInt]
    Attributes
    protected
  39. def castAggrOneListRandFloat(row: List[_], i: Int): List[Float]
    Attributes
    protected
  40. def castAggrOneListRandInt(row: List[_], i: Int): List[Int]
    Attributes
    protected
  41. def castAggrSingleSample[T](row: List[_], i: Int): T
    Attributes
    protected
  42. def castAggrSingleSampleBigDecimal(row: List[_], i: Int): BigDecimal
    Attributes
    protected
  43. def castAggrSingleSampleBigInt(row: List[_], i: Int): BigInt
    Attributes
    protected
  44. def castAggrSingleSampleFloat(row: List[_], i: Int): Float
    Attributes
    protected
  45. def castAggrSingleSampleInt(row: List[_], i: Int): Int
    Attributes
    protected
  46. def castMany[T](row: List[_], i: Int): Set[T]
    Attributes
    protected
  47. def castManyBigDecimal(row: List[_], i: Int): Set[BigDecimal]
    Attributes
    protected
  48. def castManyBigInt(row: List[_], i: Int): Set[BigInt]
    Attributes
    protected
  49. def castManyEnum(row: List[_], i: Int): Set[String]
    Attributes
    protected
  50. def castManyFloat(row: List[_], i: Int): Set[Float]
    Attributes
    protected
  51. def castManyInt(row: List[_], i: Int): Set[Int]
    Attributes
    protected
  52. def castMapBigDecimal(row: List[_], i: Int): Map[String, BigDecimal]
    Attributes
    protected
  53. def castMapBigInt(row: List[_], i: Int): Map[String, BigInt]
    Attributes
    protected
  54. def castMapBoolean(row: List[_], i: Int): Map[String, Boolean]
    Attributes
    protected
  55. def castMapDate(row: List[_], i: Int): Map[String, Date]
    Attributes
    protected
  56. def castMapDouble(row: List[_], i: Int): Map[String, Double]
    Attributes
    protected
  57. def castMapFloat(row: List[_], i: Int): Map[String, Float]
    Attributes
    protected
  58. def castMapInt(row: List[_], i: Int): Map[String, Int]
    Attributes
    protected
  59. def castMapLong(row: List[_], i: Int): Map[String, Long]
    Attributes
    protected
  60. def castMapString(row: List[_], i: Int): Map[String, String]
    Attributes
    protected
  61. def castMapURI(row: List[_], i: Int): Map[String, URI]
    Attributes
    protected
  62. def castMapUUID(row: List[_], i: Int): Map[String, UUID]
    Attributes
    protected
  63. def castOne[T](row: List[_], i: Int): T
    Attributes
    protected
  64. def castOneBigDecimal(row: List[_], i: Int): BigDecimal
    Attributes
    protected
  65. def castOneBigInt(row: List[_], i: Int): BigInt
    Attributes
    protected
  66. def castOneFloat(row: List[_], i: Int): Float
    Attributes
    protected
  67. def castOneInt(row: List[_], i: Int): Int
    Attributes
    protected
  68. def castOneInt2(row: List[_], i: Int): Int
    Attributes
    protected
  69. def castOptMany[T](row: List[_], i: Int): Option[Set[T]]
    Attributes
    protected
  70. def castOptManyApply[T](row: List[_], i: Int): Option[Set[T]]
    Attributes
    protected
  71. def castOptManyApplyBigDecimal(row: List[_], i: Int): Option[Set[BigDecimal]]
    Attributes
    protected
  72. def castOptManyApplyBigInt(row: List[_], i: Int): Option[Set[BigInt]]
    Attributes
    protected
  73. def castOptManyApplyDouble(row: List[_], i: Int): Option[Set[Double]]
    Attributes
    protected
  74. def castOptManyApplyFloat(row: List[_], i: Int): Option[Set[Float]]
    Attributes
    protected
  75. def castOptManyApplyInt(row: List[_], i: Int): Option[Set[Int]]
    Attributes
    protected
  76. def castOptManyApplyLong(row: List[_], i: Int): Option[Set[Long]]
    Attributes
    protected
  77. def castOptManyBigDecimal(row: List[_], i: Int): Option[Set[BigDecimal]]
    Attributes
    protected
  78. def castOptManyBigInt(row: List[_], i: Int): Option[Set[BigInt]]
    Attributes
    protected
  79. def castOptManyDouble(row: List[_], i: Int): Option[Set[Double]]
    Attributes
    protected
  80. def castOptManyEnum(row: List[_], i: Int): Option[Set[String]]
    Attributes
    protected
  81. def castOptManyFloat(row: List[_], i: Int): Option[Set[Float]]
    Attributes
    protected
  82. def castOptManyInt(row: List[_], i: Int): Option[Set[Int]]
    Attributes
    protected
  83. def castOptManyLong(row: List[_], i: Int): Option[Set[Long]]
    Attributes
    protected
  84. def castOptManyRefAttr(row: List[_], i: Int): Option[Set[Long]]
    Attributes
    protected
  85. def castOptMapApplyBigDecimal(row: List[_], i: Int): Option[Map[String, BigDecimal]]
    Attributes
    protected
  86. def castOptMapApplyBigInt(row: List[_], i: Int): Option[Map[String, BigInt]]
    Attributes
    protected
  87. def castOptMapApplyBoolean(row: List[_], i: Int): Option[Map[String, Boolean]]
    Attributes
    protected
  88. def castOptMapApplyDate(row: List[_], i: Int): Option[Map[String, Date]]
    Attributes
    protected
  89. def castOptMapApplyDouble(row: List[_], i: Int): Option[Map[String, Double]]
    Attributes
    protected
  90. def castOptMapApplyFloat(row: List[_], i: Int): Option[Map[String, Float]]
    Attributes
    protected
  91. def castOptMapApplyInt(row: List[_], i: Int): Option[Map[String, Int]]
    Attributes
    protected
  92. def castOptMapApplyLong(row: List[_], i: Int): Option[Map[String, Long]]
    Attributes
    protected
  93. def castOptMapApplyString(row: List[_], i: Int): Option[Map[String, String]]
    Attributes
    protected
  94. def castOptMapApplyURI(row: List[_], i: Int): Option[Map[String, URI]]
    Attributes
    protected
  95. def castOptMapApplyUUID(row: List[_], i: Int): Option[Map[String, UUID]]
    Attributes
    protected
  96. def castOptMapBigDecimal(row: List[_], i: Int): Option[Map[String, BigDecimal]]
    Attributes
    protected
  97. def castOptMapBigInt(row: List[_], i: Int): Option[Map[String, BigInt]]
    Attributes
    protected
  98. def castOptMapBoolean(row: List[_], i: Int): Option[Map[String, Boolean]]
    Attributes
    protected
  99. def castOptMapDate(row: List[_], i: Int): Option[Map[String, Date]]
    Attributes
    protected
  100. def castOptMapDouble(row: List[_], i: Int): Option[Map[String, Double]]
    Attributes
    protected
  101. def castOptMapFloat(row: List[_], i: Int): Option[Map[String, Float]]
    Attributes
    protected
  102. def castOptMapInt(row: List[_], i: Int): Option[Map[String, Int]]
    Attributes
    protected
  103. def castOptMapLong(row: List[_], i: Int): Option[Map[String, Long]]
    Attributes
    protected
  104. def castOptMapString(row: List[_], i: Int): Option[Map[String, String]]
    Attributes
    protected
  105. def castOptMapURI(row: List[_], i: Int): Option[Map[String, URI]]
    Attributes
    protected
  106. def castOptMapUUID(row: List[_], i: Int): Option[Map[String, UUID]]
    Attributes
    protected
  107. def castOptOne[T](row: List[_], i: Int): Option[T]
    Attributes
    protected
  108. def castOptOneApply[T](row: List[_], i: Int): Option[T]
    Attributes
    protected
  109. def castOptOneApplyBigDecimal(row: List[_], i: Int): Option[BigDecimal]
    Attributes
    protected
  110. def castOptOneApplyBigInt(row: List[_], i: Int): Option[BigInt]
    Attributes
    protected
  111. def castOptOneApplyDouble(row: List[_], i: Int): Option[Double]
    Attributes
    protected
  112. def castOptOneApplyFloat(row: List[_], i: Int): Option[Float]
    Attributes
    protected
  113. def castOptOneApplyInt(row: List[_], i: Int): Option[Int]
    Attributes
    protected
  114. def castOptOneApplyLong(row: List[_], i: Int): Option[Long]
    Attributes
    protected
  115. def castOptOneBigDecimal(row: List[_], i: Int): Option[BigDecimal]
    Attributes
    protected
  116. def castOptOneBigInt(row: List[_], i: Int): Option[BigInt]
    Attributes
    protected
  117. def castOptOneDouble(row: List[_], i: Int): Option[Double]
    Attributes
    protected
  118. def castOptOneEnum(row: List[_], i: Int): Option[String]
    Attributes
    protected
  119. def castOptOneFloat(row: List[_], i: Int): Option[Float]
    Attributes
    protected
  120. def castOptOneInt(row: List[_], i: Int): Option[Int]
    Attributes
    protected
  121. def castOptOneLong(row: List[_], i: Int): Option[Long]
    Attributes
    protected
  122. def castOptOneRefAttr(row: List[_], i: Int): Option[Long]
    Attributes
    protected
  123. def castRow(row: List[AnyRef]): Tpl
    Attributes
    protected
  124. def clean(attr: String): String
    Definition Classes
    Helpers
  125. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  126. def date2datomicStr(date: Date, zoneOffset: ZoneOffset = localZoneOffset): String
    Definition Classes
    DateHandling
  127. def date2str(date: Date, zoneOffset: ZoneOffset = localZoneOffset): String
    Definition Classes
    DateHandling
  128. def daylight(ms: Long): Int
    Definition Classes
    DateHandling
  129. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  130. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  131. def expandDateStr(dateStr: String): String
    Definition Classes
    DateHandling
  132. final def f(a: Any): Any
    Attributes
    protected
    Definition Classes
    Helpers
  133. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  134. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  135. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  136. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  137. lazy val localOffset: String
    Definition Classes
    DateHandling
  138. lazy val localZoneOffset: ZoneOffset
    Definition Classes
    DateHandling
  139. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  140. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  141. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  142. final def o(opt: Option[Any]): String
    Attributes
    protected
    Definition Classes
    Helpers
  143. final def os(opt: Option[Set[_]]): String
    Attributes
    protected
    Definition Classes
    Helpers
  144. final def seq[T](values: Seq[T]): String
    Attributes
    protected
    Definition Classes
    Helpers
  145. def str2date(s: String, zoneOffset: ZoneOffset = localZoneOffset): Date
    Definition Classes
    DateHandling
  146. def str2zdt(s: String, zoneOffset: ZoneOffset = localZoneOffset): ZonedDateTime
    Definition Classes
    DateHandling
  147. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  148. final def time(n: Int, prev: Int = 0): Unit
    Attributes
    protected
    Definition Classes
    Helpers
  149. def toString(): String
    Definition Classes
    AnyRef → Any
  150. def truncateDateStr(dateStr: String): String
    Definition Classes
    DateHandling
  151. final def tupleToSeq(arg: Any): Seq[Any]
    Attributes
    protected
    Definition Classes
    Helpers
  152. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  153. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  154. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  155. lazy val zone: ZoneId
    Definition Classes
    DateHandling
  156. object mkDate
    Attributes
    protected
    Definition Classes
    Helpers

Inherited from Helpers

Inherited from DateHandling

Inherited from RegexMatching

Inherited from AnyRef

Inherited from Any

Ungrouped