Package

com.twitter.scalding.macros

impl

Permalink

package impl

Content Hierarchy
Visibility
  1. Public
  2. All

Type Members

  1. trait CaseClassFieldSetter extends AnyRef

    Permalink

    Helper to set fields from a case class to other "container" types E.g.

    Helper to set fields from a case class to other "container" types E.g. cascading Tuple, jdbc PreparedStatement

  2. sealed trait NamingScheme extends AnyRef

    Permalink

    Naming scheme for cascading Tuple fields used by FieldsProviderImpl macro.

Value Members

  1. object CaseClassBasedSetterImpl

    Permalink

    Helper class for generating setters from case class to other types.

    Helper class for generating setters from case class to other types. E.g. cascading Tuple, jdbc PreparedStatement

  2. object FieldsProviderImpl

    Permalink

    This class contains the core macro implementations.

    This class contains the core macro implementations. This is in a separate module to allow it to be in a separate compilation unit, which makes it easier to provide helper methods interfacing with macros.

  3. object Indexed extends NamingScheme with Product with Serializable

    Permalink

    Uses zero-based indexes for field names.

  4. object NamedNoPrefix extends NamingScheme with Product with Serializable

    Permalink

    No prefixes for naming nested fields.

    No prefixes for naming nested fields. For e.g. for the following nested case class:

    case class Outer(id: Long, name: String, details: Inner)
    case class Inner(phone: Int)

    the nested field's name will remain "phone".

    Useful esp. for flattening nested case classes to SQL table columns.

  5. object NamedWithPrefix extends NamingScheme with Product with Serializable

    Permalink

    Uses prefixes for naming nested fields.

    Uses prefixes for naming nested fields. For e.g. for the following nested case class:

    case class Outer(id: Long, name: String, details: Inner)
    case class Inner(phone: Int)

    the nested field's name will be "details.phone".

  6. object TupleConverterImpl

    Permalink

    This class contains the core macro implementations.

    This class contains the core macro implementations. This is in a separate module to allow it to be in a separate compilation unit, which makes it easier to provide helper methods interfacing with macros.

  7. object TupleFieldSetter extends CaseClassFieldSetter

    Permalink

    Helper class for setting case class fields in cascading Tuple

  8. object TupleSetterImpl

    Permalink

    This class contains the core macro implementations.

    This class contains the core macro implementations. This is in a separate module to allow it to be in a separate compilation unit, which makes it easier to provide helper methods interfacing with macros.

  9. object TypeDescriptorProviderImpl

    Permalink

    This class contains the core macro implementations.

    This class contains the core macro implementations. This is in a separate module to allow it to be in a separate compilation unit, which makes it easier to provide helper methods interfacing with macros.

Ungrouped