org.talares.api

queries

package queries

Holds implicit conversion classes and functions for working with org.talares.api.queries.Query's.

Since

0.1.0

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

Type Members

  1. case class Filter(andOr: AndOr, args: Seq[Operation]) extends QueryOption with Product with Serializable

    Represents a QueryOption that filters a result according to a given set of arguments.

  2. implicit class FilterOps extends AnyRef

    Turns two Operation's into a Filter by either AND'ing or OR'ing them together.

  3. case class Operation(key: String, operator: Operator, value: Any) extends Product with Serializable

    Represents a specific operation to be included in a QueryOption.

  4. case class Query(name: String, args: Seq[(String, String)] = ...)(parent: Option[Query] = scala.None)(options: Seq[QueryOption] = ...) extends Product with Serializable

    A Scala representation of an OData query URL.

  5. implicit class QueryOps extends AnyRef

    Holds functions for transforming key value pairs of String to Any into Operation's.

  6. trait QueryOption extends AnyRef

    Represents part(s) of a OData query that are optional and mutate the result in a specific way.

Value Members

  1. object Filter extends Enumeration

  2. object Operator extends Enumeration

    Operators for specifying Operation's.

  3. object Query extends Serializable

  4. implicit def operatorToFilter(operator: Operation)(implicit andOr: AndOr = And): QueryOption

    Takes an Operation and a implicit AndOr and turns it into a QueryOption.

    Takes an Operation and a implicit AndOr and turns it into a QueryOption.

    operator

    the Operation to be transformed

    andOr

    whether to AND or OR the given Operation

    returns

    an instance of QueryOption which represents the conditions expressed by the Operation and AndOr

Inherited from AnyRef

Inherited from Any

Ungrouped