OrderById

sangria.validation.rules.overlappingfields.SelectionField.OrderById

This gives us a stable order of fields in sets. It is determined by the order of traversal of the query.

Attributes

Graph
Supertypes
trait Serializable
trait Comparator[SelectionField]
class Object
trait Matchable
class Any
Show all
Self type
OrderById.type

Members list

Type members

Inherited classlikes

class OrderingOps(lhs: T)

Attributes

Inherited from:
Ordering
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def compare(x: SelectionField, y: SelectionField): Int

Attributes

Definition Classes
Ordering -> Comparator

Inherited methods

Attributes

Definition Classes
Inherited from:
Ordering

Attributes

Definition Classes
Inherited from:
Ordering

Attributes

Definition Classes
Inherited from:
Ordering

Attributes

Inherited from:
Ordering

Attributes

Definition Classes
Inherited from:
Ordering

Attributes

Definition Classes
Inherited from:
Ordering
def max[U <: SelectionField](x: U, y: U): U

Attributes

Inherited from:
Ordering
def min[U <: SelectionField](x: U, y: U): U

Attributes

Inherited from:
Ordering
def on[U](f: U => SelectionField): Ordering[U]

Attributes

Inherited from:
Ordering

Attributes

Inherited from:
Ordering
def orElseBy[S](f: SelectionField => S)(implicit ord: Ordering[S]): Ordering[T]

Attributes

Inherited from:
Ordering
override def reverse: Ordering[T]

Attributes

Definition Classes
Inherited from:
Ordering
def reversed(): Comparator[T]

Attributes

Inherited from:
Comparator
def thenComparing[U <: Comparable[_ >: U <: <FromJavaObject>]](x$0: Function[_ >: SelectionField <: <FromJavaObject>, _ <: U]): Comparator[T]

Attributes

Inherited from:
Comparator
def thenComparing[U <: <FromJavaObject>](x$0: Function[_ >: SelectionField <: <FromJavaObject>, _ <: U], x$1: Comparator[_ >: U <: <FromJavaObject>]): Comparator[T]

Attributes

Inherited from:
Comparator
def thenComparing(x$0: Comparator[_ >: SelectionField <: <FromJavaObject>]): Comparator[T]

Attributes

Inherited from:
Comparator
def thenComparingDouble(x$0: ToDoubleFunction[_ >: SelectionField <: <FromJavaObject>]): Comparator[T]

Attributes

Inherited from:
Comparator
def thenComparingInt(x$0: ToIntFunction[_ >: SelectionField <: <FromJavaObject>]): Comparator[T]

Attributes

Inherited from:
Comparator
def thenComparingLong(x$0: ToLongFunction[_ >: SelectionField <: <FromJavaObject>]): Comparator[T]

Attributes

Inherited from:
Comparator

Attributes

Inherited from:
Ordering

Implicits

Inherited implicits

Attributes

Inherited from:
Ordering