Query

object Query extends Query
Companion:
class
trait Product
trait Mirror
class Query
trait Serializable
trait Product
trait Equals
trait Support
trait QueryPart
class Object
trait Matchable
class Any
Query.type

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def apply(query: String): Query
def merge(queries: List[Query], separator: String): Query

Merges queries and renames overlapping argument names

Merges queries and renames overlapping argument names

Value parameters:
queries

the list of queries to merge

separator

the separator string between each query

Returns:

merge quest

Inherited methods

def +(that: Query): Query
Inherited from:
Query
def compressed: String
Inherited from:
Query
override def equals(obj: Any): Boolean

Compares the receiver object (this) with the argument object (that) for equivalence.

Compares the receiver object (this) with the argument object (that) for equivalence.

Any implementation of this method should be an equivalence relation:

  • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
  • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

Value parameters:
that

the object to compare against this object for equality.

Returns:

true if the receiver object is equivalent to the argument; false otherwise.

Definition Classes
Query -> Equals -> Any
Inherited from:
Query
def namedVariable(name: String, value: Json): Query
Inherited from:
Query
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def reverseLookup: Map[Json, String]
Inherited from:
Query
def static(value: String): Query
Inherited from:
Query
override def toQueryPart: QueryPart
Definition Classes
Inherited from:
Query
def variable(value: Json): Query
Inherited from:
Query
def variables: Map[String, Json]
Inherited from:
Query
def withParts(parts: QueryPart*): Query
Inherited from:
Query
def withQuery(that: Query): Query
Inherited from:
Query

Inherited fields

lazy val string: String
Inherited from:
Query