Class/Object

com.twitter.scalding

Args

Related Docs: object Args | package scalding

Permalink

class Args extends Serializable

Source
Args.scala
Linear Supertypes
Serializable, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Args
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Args(m: Map[String, List[String]])

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(keyvals: (String, Iterable[String])): Args

    Permalink
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def apply(position: Int): String

    Permalink

    This is a synonym for required

  6. def apply(key: String): String

    Permalink

    This is a synonym for required

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def boolean(key: String): Boolean

    Permalink

    Does this Args contain a given key?

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def double(key: String): Double

    Permalink
  11. def double(key: String, default: Double): Double

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Args → AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def float(key: String): Float

    Permalink
  16. def float(key: String, default: Float): Float

    Permalink
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getOrElse(key: String, default: String): String

    Permalink

    Equivalent to .optional(key).getOrElse(default)

  19. def hashCode(): Int

    Permalink
    Definition Classes
    Args → AnyRef → Any
  20. def int(key: String): Int

    Permalink
  21. def int(key: String, default: Int): Int

    Permalink
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def list(key: String): List[String]

    Permalink

    Get the list of values associated with a given key.

    Get the list of values associated with a given key. if the key is absent, return the empty list. NOTE: empty does not mean the key is absent, it could be a key without a value. Use boolean() to check existence.

  24. def long(key: String): Long

    Permalink
  25. def long(key: String, default: Long): Long

    Permalink
  26. val m: Map[String, List[String]]

    Permalink
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def optional(key: String): Option[String]

    Permalink

    If there is zero or one element, return it as an Option.

    If there is zero or one element, return it as an Option. If there is a list of more than one item, you get an error

  31. def positional: List[String]

    Permalink

    Gets the list of positional arguments

  32. def required(key: String): String

    Permalink

    return exactly one value for a given key.

    return exactly one value for a given key. If there is more than one value, you get an exception

  33. def required(position: Int): String

    Permalink

    return required positional value.

  34. def restrictTo(acceptedArgs: Set[String]): Unit

    Permalink

    Asserts whether all the args belong to the given set of accepted arguments.

    Asserts whether all the args belong to the given set of accepted arguments. If an arg does not belong to the given set, you get an error.

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

    Permalink
    Definition Classes
    AnyRef
  36. def toList: List[String]

    Permalink
  37. def toString(): String

    Permalink
    Definition Classes
    Args → AnyRef → Any
  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped