com.twitter.scalding.typed

TemplatePartition

case class TemplatePartition(partitionFields: Fields, template: String) extends Partition with Product with Serializable

Creates a partition using the given template string.

The template string needs to have %s as placeholder for a given field.

Linear Supertypes
Serializable, Product, Equals, Partition, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TemplatePartition
  2. Serializable
  3. Product
  4. Equals
  5. Partition
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TemplatePartition(partitionFields: Fields, template: String)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def getPartitionFields(): Fields

    Returns the partition fields.

    Returns the partition fields.

    Definition Classes
    TemplatePartition → Partition
  12. def getPathDepth(): Int

    Returns the path depth.

    Returns the path depth. In this case the number of partition fields.

    Definition Classes
    TemplatePartition → Partition
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. val partitionFields: Fields

  18. lazy val pattern: Pattern

    Regex pattern created from the template to extract the partition values from a path.

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. val template: String

  21. def toPartition(tupleEntry: TupleEntry): String

    Given the specified tuple entry fill in the supplied template entry to create the partition path.

    Given the specified tuple entry fill in the supplied template entry to create the partition path.

    Definition Classes
    TemplatePartition → Partition
  22. def toTuple(partition: String, tupleEntry: TupleEntry): Unit

    Converts the given partition string to field values and populates the supplied tuple entry with it.

    Converts the given partition string to field values and populates the supplied tuple entry with it.

    Definition Classes
    TemplatePartition → Partition
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Partition

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped