com.twitter.scalding

Args

class Args extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Args
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Args(m: Map[String, List[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. def +(keyvals: (String, Iterable[String])): Args

  5. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  7. def apply(position: Int): String

    This is a synonym for required

  8. def apply(key: String): String

    This is a synonym for required

  9. final def asInstanceOf[T0]: T0

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

    Does this Args contain a given key?

  11. def clone(): AnyRef

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

  13. def double(key: String, default: Double): Double

  14. final def eq(arg0: AnyRef): Boolean

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

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

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

  18. def float(key: String, default: Float): Float

  19. final def getClass(): Class[_]

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

    Equivalent to .

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

  21. def hashCode(): Int

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

  23. def int(key: String, default: Int): Int

  24. final def isInstanceOf[T0]: Boolean

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

    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.

  26. def long(key: String): Long

  27. def long(key: String, default: Long): Long

  28. val m: Map[String, List[String]]

  29. final def ne(arg0: AnyRef): Boolean

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

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

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

    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

  33. def positional: List[String]

    Gets the list of positional arguments

  34. def required(key: String): String

    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

  35. def required(position: Int): String

    return required positional value.

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

    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.

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

    Definition Classes
    AnyRef
  38. def toList: List[String]

  39. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped