Class/Object

org.http4s.rho.bits

TypedQuery

Related Docs: object TypedQuery | package bits

Permalink

final case class TypedQuery[F[_], T <: HList](rule: RequestRule[F]) extends UriConvertible[F] with Product with Serializable

Typed shell for the Query operations of the DSL

Linear Supertypes
Serializable, Serializable, Product, Equals, UriConvertible[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypedQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. UriConvertible
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypedQuery(rule: RequestRule[F])

    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 &[T1 <: HList](next: TypedQuery[F, T1])(implicit prepend: Prepend[T1, T]): TypedQuery[F, Out]

    Permalink

    Match this rule and then next rule

    Match this rule and then next rule

    Alias of and

  4. def &&[T1 <: HList](next: TypedQuery[F, T1])(implicit prepend: Prepend[T1, T]): TypedQuery[F, Out]

    Permalink

    Match this rule and then next rule

    Match this rule and then next rule

    Alias of and

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. def and[T1 <: HList](next: TypedQuery[F, T1])(implicit prepend: Prepend[T1, T]): TypedQuery[F, Out]

    Permalink

    Match this rule and then next rule

    Match this rule and then next rule

    Alias of &&

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def asUri(request: Request[F]): Try[Uri]

    Permalink

    Converts a route into an Uri.

    Converts a route into an Uri.

    If the conversion fails None is returned. In case your route has multiple paths only one way will be resolved as instance of Uri. If the route is a URI Template but not an URI None will be returned.

    Definition Classes
    UriConvertible
  9. def asUriTemplate(request: Request[F]): Try[UriTemplate]

    Permalink

    Converts a route into an UriTemplate.

    Converts a route into an UriTemplate.

    If the conversion fails None is returned. In case your route has multiple paths only one way will be resolved as instance of UriTemplate.

    Definition Classes
    TypedQueryUriConvertible
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def ignore: TypedQuery[F, HNil]

    Permalink

    Ignore the output generated by this rule

    Ignore the output generated by this rule

    The new rule will perform all the same actions and actually compute the results but they will be ignored during the route evaluation

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def map[TR <: HList, FU, R](f: FU)(implicit rev: Aux[T, TR], fp: shapeless.ops.function.FnToProduct.Aux[FU, (TR) ⇒ R]): TypedQuery[F, ::[R, HNil]]

    Permalink

    Map the output generated by this rule into a new type

    Map the output generated by this rule into a new type

    The new rule will have all the original metadata.

  16. val names: List[String]

    Permalink

    Resolves names of query parameters to capture

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  20. def or(alt: TypedQuery[F, T]): TypedQuery[F, T]

    Permalink

    Match this rule or alt rule if this rule fails

    Match this rule or alt rule if this rule fails

    Alias of ||

  21. val rule: RequestRule[F]

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

    Permalink
    Definition Classes
    AnyRef
  23. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withMetadata(metadata: Metadata): TypedQuery[F, T]

    Permalink

    Enclose this rule in metadata

    Enclose this rule in metadata

    Type safe way to add metadata to a TypedQuery rule

  27. def ||(alt: TypedQuery[F, T]): TypedQuery[F, T]

    Permalink

    Match this rule or alt rule if this rule fails

    Match this rule or alt rule if this rule fails

    Alias of or

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from UriConvertible[F]

Inherited from AnyRef

Inherited from Any

Ungrouped