Node
class Node( val response_name: String? = null, val index: Int? = null, val original_field_name: String = "", val type: String = "", val parent_type: String = "", val cache_policy: Trace.CachePolicy? = null, val start_time: Long = 0, val end_time: Long = 0, error: List<Trace.Error> = emptyList(), child: List<Trace.Node> = emptyList(), unknownFields: ByteString = ByteString.EMPTY) : Message<Trace.Node, Nothing>
We store information on each resolver execution as a Node on a tree. The structure of the tree corresponds to the structure of the GraphQL response; it does not indicate the order in which resolvers were invoked. Note that nodes representing indexes (and the root node) don't contain all Node fields (eg types and times).
Constructors
Link copied to clipboard
constructor( response_name: String? = null, index: Int? = null, original_field_name: String = "", type: String = "", parent_type: String = "", cache_policy: Trace.CachePolicy? = null, start_time: Long = 0, end_time: Long = 0, error: List<Trace.Error> = emptyList(), child: List<Trace.Node> = emptyList(), unknownFields: ByteString = ByteString.EMPTY)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The field's parent type; e.g. "User" for User.email:String!
Link copied to clipboard
Link copied to clipboard
relative to the trace's start_time, in ns
Link copied to clipboard
Functions
Link copied to clipboard
fun copy( response_name: String? = this.response_name, index: Int? = this.index, original_field_name: String = this.original_field_name, type: String = this.type, parent_type: String = this.parent_type, cache_policy: Trace.CachePolicy? = this.cache_policy, start_time: Long = this.start_time, end_time: Long = this.end_time, error: List<Trace.Error> = this.error, child: List<Trace.Node> = this.child, unknownFields: ByteString = this.unknownFields): Trace.Node
Link copied to clipboard