QuerySizeValidator

grackle.QueryCompiler.QuerySizeValidator
class QuerySizeValidator(maxDepth: Int, maxWidth: Int) extends Phase

A compiler phase which estimates the size of a query and applies width and depth limits.

Attributes

Source
compiler.scala
Graph
Supertypes
trait Phase
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def querySize(query: Query, frags: Map[String, UntypedFragment]): (Int, Int)

Attributes

Source
compiler.scala
override def transform(query: Query): Elab[Query]

Transform the supplied query algebra term query.

Transform the supplied query algebra term query.

Attributes

Definition Classes
Source
compiler.scala

Inherited methods

def transformSelect(fieldName: String, alias: Option[String], child: Query): Elab[Query]

Attributes

Inherited from:
Phase
Source
compiler.scala
def validateSubselection(fieldName: String, child: Query): Elab[Unit]

Attributes

Inherited from:
Phase
Source
compiler.scala

Inherited fields

Attributes

Inherited from:
Phase
Source
compiler.scala