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 class
QueryDepthInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDepth()
This returns the query depth.static QueryDepthInfo.Builder
newQueryDepthInfo()
java.lang.String
toString()
-
-
-
Method Detail
-
getDepth
public int getDepth()
This returns the query depth.- Returns:
- the query depth
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
newQueryDepthInfo
public static QueryDepthInfo.Builder newQueryDepthInfo()
- Returns:
- a new
QueryDepthInfo
builder
-
-