Query

com.outr.arango.query.Query$
See theQuery companion class
object Query extends Query

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Query
trait Serializable
trait Product
trait Equals
trait Support
trait QueryPart
class Object
trait Matchable
class Any
Self type
Query.type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

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

Attributes

queries

the list of queries to merge

separator

the separator string between each query

Returns:

merge quest

Inherited methods

def +(that: Query): Query

Attributes

Inherited from:
Query
def compressed: String

Attributes

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

Attributes

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

Attributes

Inherited from:
Query
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def reverseLookup: Map[Json, String]

Attributes

Inherited from:
Query
def static(value: String): Query

Attributes

Inherited from:
Query
override def toQueryPart: QueryPart

Attributes

Definition Classes
Inherited from:
Query
def variable(value: Json): Query

Attributes

Inherited from:
Query
def variables: Map[String, Json]

Attributes

Inherited from:
Query
def withParts(parts: QueryPart*): Query

Attributes

Inherited from:
Query
def withQuery(that: Query): Query

Attributes

Inherited from:
Query

Inherited fields

lazy val string: String

Attributes

Inherited from:
Query