Package graphql.analysis
Class QueryDepthInfo
- java.lang.Object
-
- graphql.analysis.QueryDepthInfo
-
@PublicApi public class QueryDepthInfo extends java.lang.Object
The query depth info.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryDepthInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDepth()This returns the query depth.static QueryDepthInfo.BuildernewQueryDepthInfo()java.lang.StringtoString()
-
-
-
Method Detail
-
getDepth
public int getDepth()
This returns the query depth.- Returns:
- the query depth
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
newQueryDepthInfo
public static QueryDepthInfo.Builder newQueryDepthInfo()
- Returns:
- a new
QueryDepthInfobuilder
-
-