Package graphql.analysis
Class QueryDepthInfo
java.lang.Object
graphql.analysis.QueryDepthInfo
The query depth info.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getDepth()
This returns the query depth.static QueryDepthInfo.Builder
toString()
-
Field Details
-
depth
private final int depth
-
-
Constructor Details
-
QueryDepthInfo
private QueryDepthInfo(int depth)
-
-
Method Details
-
getDepth
public int getDepth()This returns the query depth.- Returns:
- the query depth
-
toString
-
newQueryDepthInfo
- Returns:
- a new
QueryDepthInfo
builder
-