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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Equivalent to .

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

  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. 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.

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

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

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

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

    Definition Classes
    AnyRef
  24. 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

  25. def positional: List[String]

    Gets the list of positional arguments

  26. 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

  27. def required(position: Int): String

    return required positional value.

  28. 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.

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

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

  31. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped