trait CsvRenderers extends AnyRef

Trait to define various renderers for rendering instance of case classes (with their various parameters), containers (Seq and Option), etc. to CSV output.

CONSIDER a mechanism to ensure that objects involving case classes are presented in the same order as specified by the header.

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

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def optionRenderer[T](implicit arg0: CsvRenderer[T], ca: CsvAttributes): CsvRenderer[Option[T]]

    Method to return a CsvRenderer[ Option[T] ].

    Method to return a CsvRenderer[ Option[T] ].

    T

    the underlying type of the first parameter of the input to the render method.

    returns

    a CsvRenderer[ Option[T] ].

  16. def renderer1[P1, T <: Product](construct: (P1) => T)(implicit arg0: CsvRenderer[P1], arg1: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 1-ary Product and which is based on a function to convert a P into a T.

    Method to return a CsvRenderer[T] where T is a 1-ary Product and which is based on a function to convert a P into a T.

    NOTE: be careful using this particular method it only applies where T is a 1-tuple (e.g. a case class with one field -- not common).

    P1

    the type of the (single) field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function P => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a HierarchicalRenderer[T].

  17. def renderer10[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) => T)(implicit arg0: CsvRenderer[P1], arg1: CsvRenderer[P2], arg2: CsvRenderer[P3], arg3: CsvRenderer[P4], arg4: CsvRenderer[P5], arg5: CsvRenderer[P6], arg6: CsvRenderer[P7], arg7: CsvRenderer[P8], arg8: CsvRenderer[P9], arg9: CsvRenderer[P10], arg10: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 10-ary Product and which is based on the given "construct" function.

    Method to return a CsvRenderer[T] where T is a 10-ary Product and which is based on the given "construct" function.

    P1

    the type of the first field of the Product type T.

    P2

    the type of the second field of the Product type T.

    P3

    the type of the third field of the Product type T.

    P4

    the type of the fourth field of the Product type T.

    P5

    the type of the fifth field of the Product type T.

    P6

    the type of the sixth field of the Product type T.

    P7

    the type of the seventh field of the Product type T.

    P8

    the type of the eighth field of the Product type T.

    P9

    the type of the ninth field of the Product type T.

    P10

    the type of the tenth field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function (P1,P2,P3,P4,P5,P6,P7,P8,P9,P10) => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a CsvRenderer[T].

  18. def renderer11[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) => T)(implicit arg0: CsvRenderer[P1], arg1: CsvRenderer[P2], arg2: CsvRenderer[P3], arg3: CsvRenderer[P4], arg4: CsvRenderer[P5], arg5: CsvRenderer[P6], arg6: CsvRenderer[P7], arg7: CsvRenderer[P8], arg8: CsvRenderer[P9], arg9: CsvRenderer[P10], arg10: CsvRenderer[P11], arg11: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 11-ary Product and which is based on the given "construct" function.

    Method to return a CsvRenderer[T] where T is a 11-ary Product and which is based on the given "construct" function.

    P1

    the type of the first field of the Product type T.

    P2

    the type of the second field of the Product type T.

    P3

    the type of the third field of the Product type T.

    P4

    the type of the fourth field of the Product type T.

    P5

    the type of the fifth field of the Product type T.

    P6

    the type of the sixth field of the Product type T.

    P7

    the type of the seventh field of the Product type T.

    P8

    the type of the eighth field of the Product type T.

    P9

    the type of the ninth field of the Product type T.

    P10

    the type of the tenth field of the Product type T.

    P11

    the type of the eleventh field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function (P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11) => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a CsvRenderer[T].

  19. def renderer12[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) => T)(implicit arg0: CsvRenderer[P1], arg1: CsvRenderer[P2], arg2: CsvRenderer[P3], arg3: CsvRenderer[P4], arg4: CsvRenderer[P5], arg5: CsvRenderer[P6], arg6: CsvRenderer[P7], arg7: CsvRenderer[P8], arg8: CsvRenderer[P9], arg9: CsvRenderer[P10], arg10: CsvRenderer[P11], arg11: CsvRenderer[P12], arg12: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 12-ary Product and which is based on the given "construct" function.

    Method to return a CsvRenderer[T] where T is a 12-ary Product and which is based on the given "construct" function.

    P1

    the type of the first field of the Product type T.

    P2

    the type of the second field of the Product type T.

    P3

    the type of the third field of the Product type T.

    P4

    the type of the fourth field of the Product type T.

    P5

    the type of the fifth field of the Product type T.

    P6

    the type of the sixth field of the Product type T.

    P7

    the type of the seventh field of the Product type T.

    P8

    the type of the eighth field of the Product type T.

    P9

    the type of the ninth field of the Product type T.

    P10

    the type of the tenth field of the Product type T.

    P11

    the type of the eleventh field of the Product type T.

    P12

    the type of the twelfth field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function (P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12) => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a CsvRenderer[T].

  20. def renderer2[P1, P2, T <: Product](construct: (P1, P2) => T)(implicit arg0: CsvRenderer[P1], arg1: CsvRenderer[P2], arg2: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 2-ary Product and which is based on a function to convert a (P1,P2) into a T.

    Method to return a CsvRenderer[T] where T is a 2-ary Product and which is based on a function to convert a (P1,P2) into a T.

    P1

    the type of the first field of the Product type T.

    P2

    the type of the second field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function (P1,P2) => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a CsvRenderer[T].

  21. def renderer3[P1, P2, P3, T <: Product](construct: (P1, P2, P3) => T)(implicit arg0: CsvRenderer[P1], arg1: CsvRenderer[P2], arg2: CsvRenderer[P3], arg3: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 3-ary Product and which is based on a function to convert a (P1,P2,P3) into a T.

    Method to return a CsvRenderer[T] where T is a 3-ary Product and which is based on a function to convert a (P1,P2,P3) into a T.

    P1

    the type of the first field of the Product type T.

    P2

    the type of the second field of the Product type T.

    P3

    the type of the third field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function (P1,P2,P3) => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a CsvRenderer[T].

  22. def renderer4[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) => T)(implicit arg0: CsvRenderer[P1], arg1: CsvRenderer[P2], arg2: CsvRenderer[P3], arg3: CsvRenderer[P4], arg4: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 4-ary Product and which is based on the given "construct" function.

    Method to return a CsvRenderer[T] where T is a 4-ary Product and which is based on the given "construct" function.

    P1

    the type of the first field of the Product type T.

    P2

    the type of the second field of the Product type T.

    P3

    the type of the third field of the Product type T.

    P4

    the type of the fourth field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function (P1,P2,P3,P4) => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a CsvRenderer[T].

  23. def renderer5[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) => T)(implicit arg0: CsvRenderer[P1], arg1: CsvRenderer[P2], arg2: CsvRenderer[P3], arg3: CsvRenderer[P4], arg4: CsvRenderer[P5], arg5: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 5-ary Product and which is based on the given "construct" function.

    Method to return a CsvRenderer[T] where T is a 5-ary Product and which is based on the given "construct" function.

    P1

    the type of the first field of the Product type T.

    P2

    the type of the second field of the Product type T.

    P3

    the type of the third field of the Product type T.

    P4

    the type of the fourth field of the Product type T.

    P5

    the type of the fifth field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function (P1,P2,P3,P4,P5) => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a CsvRenderer[T].

  24. def renderer6[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) => T)(implicit arg0: CsvRenderer[P1], arg1: CsvRenderer[P2], arg2: CsvRenderer[P3], arg3: CsvRenderer[P4], arg4: CsvRenderer[P5], arg5: CsvRenderer[P6], arg6: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 6-ary Product and which is based on the given "construct" function.

    Method to return a CsvRenderer[T] where T is a 6-ary Product and which is based on the given "construct" function.

    P1

    the type of the first field of the Product type T.

    P2

    the type of the second field of the Product type T.

    P3

    the type of the third field of the Product type T.

    P4

    the type of the fourth field of the Product type T.

    P5

    the type of the fifth field of the Product type T.

    P6

    the type of the sixth field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function (P1,P2,P3,P4,P5,P6) => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a CsvRenderer[T].

  25. def renderer7[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) => T)(implicit arg0: CsvRenderer[P1], arg1: CsvRenderer[P2], arg2: CsvRenderer[P3], arg3: CsvRenderer[P4], arg4: CsvRenderer[P5], arg5: CsvRenderer[P6], arg6: CsvRenderer[P7], arg7: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 7-ary Product and which is based on the given "construct" function.

    Method to return a CsvRenderer[T] where T is a 7-ary Product and which is based on the given "construct" function.

    P1

    the type of the first field of the Product type T.

    P2

    the type of the second field of the Product type T.

    P3

    the type of the third field of the Product type T.

    P4

    the type of the fourth field of the Product type T.

    P5

    the type of the fifth field of the Product type T.

    P6

    the type of the sixth field of the Product type T.

    P7

    the type of the seventh field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function (P1,P2,P3,P4,P5,P6,P7) => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a CsvRenderer[T].

  26. def renderer8[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) => T)(implicit arg0: CsvRenderer[P1], arg1: CsvRenderer[P2], arg2: CsvRenderer[P3], arg3: CsvRenderer[P4], arg4: CsvRenderer[P5], arg5: CsvRenderer[P6], arg6: CsvRenderer[P7], arg7: CsvRenderer[P8], arg8: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 8-ary Product and which is based on the given "construct" function.

    Method to return a CsvRenderer[T] where T is a 8-ary Product and which is based on the given "construct" function.

    P1

    the type of the first field of the Product type T.

    P2

    the type of the second field of the Product type T.

    P3

    the type of the third field of the Product type T.

    P4

    the type of the fourth field of the Product type T.

    P5

    the type of the fifth field of the Product type T.

    P6

    the type of the sixth field of the Product type T.

    P7

    the type of the seventh field of the Product type T.

    P8

    the type of the eighth field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function (P1,P2,P3,P4,P5,P6,P7,P8) => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a CsvRenderer[T].

  27. def renderer9[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) => T)(implicit arg0: CsvRenderer[P1], arg1: CsvRenderer[P2], arg2: CsvRenderer[P3], arg3: CsvRenderer[P4], arg4: CsvRenderer[P5], arg5: CsvRenderer[P6], arg6: CsvRenderer[P7], arg7: CsvRenderer[P8], arg8: CsvRenderer[P9], arg9: ClassTag[T], csvAttributes: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] where T is a 9-ary Product and which is based on the given "construct" function.

    Method to return a CsvRenderer[T] where T is a 9-ary Product and which is based on the given "construct" function.

    P1

    the type of the first field of the Product type T.

    P2

    the type of the second field of the Product type T.

    P3

    the type of the third field of the Product type T.

    P4

    the type of the fourth field of the Product type T.

    P5

    the type of the fifth field of the Product type T.

    P6

    the type of the sixth field of the Product type T.

    P7

    the type of the seventh field of the Product type T.

    P8

    the type of the eighth field of the Product type T.

    P9

    the type of the ninth field of the Product type T.

    T

    the underlying type of the first parameter of the input to the render method.

    construct

    a function (P1,P2,P3,P4,P5,P6,P7,P8,P9) => T, usually the apply method of a case class. The sole purpose of this function is for type inference--it is never actually invoked.

    returns

    a CsvRenderer[T].

  28. def sequenceRenderer[T](implicit arg0: CsvRenderer[T], ca: CsvAttributes): CsvRenderer[Seq[T]]

    Method to return a CsvRenderer[ Seq[T] ].

    Method to return a CsvRenderer[ Seq[T] ].

    TEST

    T

    the underlying type of the first parameter of the input to the render method.

    returns

    a CsvRenderer[ Seq[T] ]

  29. def skipRenderer[T](alignment: Int = 1)(implicit ca: CsvAttributes): CsvRenderer[T]

    Method to return a CsvRenderer[T] which does not output a T at all, only a number of delimiters according to the value of alignment.

    Method to return a CsvRenderer[T] which does not output a T at all, only a number of delimiters according to the value of alignment.

    T

    the type of the parameter to the render method.

    alignment

    (defaults to 1): one more than the number of delimiters to output. If you are skipping a Product (such as a case class instance), then you should carefully count up how many (nested) elements to skip. So, for example, if you are skipping a Product with three members, you would set alignment = 3, even though you only want to output 2 delimiters.

    returns

    a CsvRenderer[T].

  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped