Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import scala.language.experimental.{ macros => sMacros }
* Note in the com.twitter.scalding.macros package there are macros to
* generate this for case classes, which may be very convenient.
*/
@implicitNotFound("This class is used to bind together a Fields instance to an instance of type T. There is a implicit macro that generates a TypeDescriptor[T] for any type T where T is Boolean, String, Short, Int, Long, FLoat, or Double, or an option of these, or a tuple or case class of a supported type. (Nested tuples and case classes are allowed.) If your type T is not one of these, then you must write your own TypeDescriptor.")
@implicitNotFound("""This class is used to bind together a Fields instance to an instance of type T. There is a implicit macro that generates a TypeDescriptor[T] for any type T where T is Boolean, String, Short, Int, Long, FLoat, or Double, or an option of these (with the exception of Option[String]), or a tuple or case class of a supported type. (Nested tuples and case classes are allowed.) Note: Option[String] specifically is not allowed as Some("") and None are indistinguishable. If your type T is not one of these, then you must write your own TypeDescriptor.""")
trait TypeDescriptor[T] extends java.io.Serializable {
def setter: TupleSetter[T]
def converter: TupleConverter[T]
Expand Down