com.twitter.scalding

Args

Related Docs: object Args | package scalding

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: Any): Boolean

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

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

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

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

    This is a synonym for required

  6. def apply(key: String): String

    This is a synonym for required

  7. final def asInstanceOf[T0]: T0

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

    Does this Args contain a given key?

  9. def clone(): AnyRef

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

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

  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. def float(key: String): Float

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

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

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

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

  19. def hashCode(): Int

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

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

  22. final def isInstanceOf[T0]: Boolean

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

  24. def long(key: String): Long

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

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

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

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

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

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

  31. def positional: List[String]

    Gets the list of positional arguments

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

  33. def required(position: Int): String

    return required positional value.

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

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

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

  37. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped