slick.lifted

AnyOptionExtensionMethods

final class AnyOptionExtensionMethods[O <: Rep[_], P] extends AnyVal

Extension methods for Options of single- and multi-column values

Source
ExtensionMethods.scala
Linear Supertypes
AnyVal, NotNull, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AnyOptionExtensionMethods
  2. AnyVal
  3. NotNull
  4. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AnyOptionExtensionMethods(r: O)

Value Members

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

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

    Definition Classes
    Any
  3. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  4. def ->[B](y: B): (AnyOptionExtensionMethods[O, P], B)

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to ArrowAssoc[AnyOptionExtensionMethods[O, P]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  7. def ensuring(cond: (AnyOptionExtensionMethods[O, P]) ⇒ Boolean, msg: ⇒ Any): AnyOptionExtensionMethods[O, P]

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to Ensuring[AnyOptionExtensionMethods[O, P]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  8. def ensuring(cond: (AnyOptionExtensionMethods[O, P]) ⇒ Boolean): AnyOptionExtensionMethods[O, P]

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to Ensuring[AnyOptionExtensionMethods[O, P]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: Boolean, msg: ⇒ Any): AnyOptionExtensionMethods[O, P]

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to Ensuring[AnyOptionExtensionMethods[O, P]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean): AnyOptionExtensionMethods[O, P]

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to Ensuring[AnyOptionExtensionMethods[O, P]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def filter[T](p: (P) ⇒ T)(implicit wt: CanBeQueryCondition[T]): O

    Return this Option if it is non-empty and applying the predicate p to this Option's value returns true.

    Return this Option if it is non-empty and applying the predicate p to this Option's value returns true. Otherwise, return None.

  12. def flatMap[QO](f: (P) ⇒ Rep[Option[QO]]): Rep[Option[QO]]

    Return the result of applying f to this Option's value if this Option is non-empty, otherwise None.

  13. def flatten[QO](implicit ev: <:<[P, Rep[Option[QO]]]): Rep[Option[QO]]

    Flatten a nested Option.

  14. def fold[B, BP](ifEmpty: B)(f: (P) ⇒ B)(implicit shape: Shape[FlatShapeLevel, B, _, BP]): BP

    Apply f to the value inside this Option, if it is non-empty, otherwise return ifEmpty.

  15. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  17. def getOrElse[M, P2 <: P](default: M)(implicit shape: Shape[FlatShapeLevel, M, _, P2], ol: OptionLift[P2, O]): P

    Get the value inside this Option, if it is non-empty, otherwise the supplied default.

  18. def isDefined: Rep[Boolean]

    Check if this Option is non-empty.

  19. def isEmpty: Rep[Boolean]

    Check if this Option is empty.

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def map[Q, QO](f: (P) ⇒ Q)(implicit ol: OptionLift[Q, Rep[Option[QO]]]): Rep[Option[QO]]

    Transform the value inside this Option

  22. def nonEmpty: Rep[Boolean]

    Check if this Option is non-empty.

  23. val r: O

  24. def toString(): String

    Definition Classes
    Any
  25. def [B](y: B): (AnyOptionExtensionMethods[O, P], B)

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to ArrowAssoc[AnyOptionExtensionMethods[O, P]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anyOptionExtensionMethods: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anyOptionExtensionMethods: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: AnyOptionExtensionMethods[O, P]

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to ArrowAssoc[AnyOptionExtensionMethods[O, P]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anyOptionExtensionMethods: ArrowAssoc[AnyOptionExtensionMethods[O, P]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: AnyOptionExtensionMethods[O, P]

    Implicit information
    This member is added by an implicit conversion from AnyOptionExtensionMethods[O, P] to Ensuring[AnyOptionExtensionMethods[O, P]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anyOptionExtensionMethods: Ensuring[AnyOptionExtensionMethods[O, P]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Inherited by implicit conversion any2stringadd from AnyOptionExtensionMethods[O, P] to StringAdd

Inherited by implicit conversion any2stringfmt from AnyOptionExtensionMethods[O, P] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from AnyOptionExtensionMethods[O, P] to ArrowAssoc[AnyOptionExtensionMethods[O, P]]

Inherited by implicit conversion any2Ensuring from AnyOptionExtensionMethods[O, P] to Ensuring[AnyOptionExtensionMethods[O, P]]

Ungrouped