Query

io.hireproof.structure.Query
See theQuery companion object
final case class Query[A](name: String, schema: Eval[Schema[A]]) extends Product[A]

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Product[A]
trait Structure[A]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

override type Element[a] = Query[a]
override type Group[a] = Queries[a]
override type Self[a] = Query[a]

Value members

Concrete methods

def fromStringChain(queries: Chain[(String, String)]): Validated[Errors, (Chain[(String, String)], A)]
def mapSchema[T](f: Schema[A] => Schema[T]): Query[T]
def toStringChain(a: A): Chain[(String, String)]
override def zip[T](query: Query[T]): Queries[(A, T)]

Attributes

Definition Classes
override def zipAll[T](queries: Queries[T]): Queries[(A, T)]

Attributes

Definition Classes

Inherited methods

final def const(value: => A): Self[Unit]

Attributes

Inherited from:
Structure
final def imap[T](f: A => T)(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def ivalidate[T](validation: Validation[A, T])(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def merge[T](implicit evidence: Aux[A, T]): Self[T]

Attributes

Inherited from:
Structure
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def validate(validation: Validation[A, A]): Self[A]

Attributes

Inherited from:
Structure
final def ximap[T](implicit evidence: Aux[T, A]): Self[T]

Attributes

Inherited from:
Product
final def |*|[T](element: Query[T])(implicit evidence: Merger[(A, T)]): Group[Out]

Attributes

Inherited from:
Product