Package mdg.engine.proto
Class Reports.Trace.QueryPlanNode
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
mdg.engine.proto.Reports.Trace.QueryPlanNode
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Reports.Trace.QueryPlanNodeOrBuilder
- Enclosing class:
- Reports.Trace
public static final class Reports.Trace.QueryPlanNode
extends com.google.protobuf.GeneratedMessage
implements Reports.Trace.QueryPlanNodeOrBuilder
represents a node in the query plan, under which there is a trace tree for that service fetch. In particular, each fetch node represents a call to an implementing service, and calls to implementing services may not be unique. See https://github.com/apollographql/apollo-server/blob/master/packages/apollo-gateway/src/QueryPlan.ts for more information and details.Protobuf type
mdg.engine.proto.Trace.QueryPlanNode- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classrepresents a node in the query plan, under which there is a trace tree for that service fetch.static final classThis represents a node to send an operation to an implementing servicestatic interfacestatic final classThis node represents a way to reach into the response path and attach related entities.static interfacestatic enumstatic final classThis represents a set of nodes to be executed in parallel by the Gateway executorstatic interfacestatic final classProtobuf typemdg.engine.proto.Trace.QueryPlanNode.ResponsePathElementstatic interfacestatic final classThis represents a set of nodes to be executed sequentially by the Gateway executorstatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Reports.Trace.QueryPlanNodestatic final com.google.protobuf.Descriptors.DescriptorgetFetch().mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3;.mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3;.mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4;.mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4;.mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2;.mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2;com.google.protobuf.Parser<Reports.Trace.QueryPlanNode>.mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1;.mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1;intbooleanhasFetch().mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3;boolean.mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4;inthashCode()boolean.mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2;boolean.mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Reports.Trace.QueryPlanNode prototype) protected Reports.Trace.QueryPlanNode.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Reports.Trace.QueryPlanNodeparseDelimitedFrom(InputStream input) static Reports.Trace.QueryPlanNodeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Reports.Trace.QueryPlanNodeparseFrom(byte[] data) static Reports.Trace.QueryPlanNodeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Reports.Trace.QueryPlanNodeparseFrom(com.google.protobuf.ByteString data) static Reports.Trace.QueryPlanNodeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Reports.Trace.QueryPlanNodeparseFrom(com.google.protobuf.CodedInputStream input) static Reports.Trace.QueryPlanNodeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Reports.Trace.QueryPlanNodeparseFrom(InputStream input) static Reports.Trace.QueryPlanNodeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Reports.Trace.QueryPlanNodeparseFrom(ByteBuffer data) static Reports.Trace.QueryPlanNodeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Reports.Trace.QueryPlanNode>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SEQUENCE_FIELD_NUMBER
public static final int SEQUENCE_FIELD_NUMBER- See Also:
-
PARALLEL_FIELD_NUMBER
public static final int PARALLEL_FIELD_NUMBER- See Also:
-
FETCH_FIELD_NUMBER
public static final int FETCH_FIELD_NUMBER- See Also:
-
FLATTEN_FIELD_NUMBER
public static final int FLATTEN_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getNodeCase
- Specified by:
getNodeCasein interfaceReports.Trace.QueryPlanNodeOrBuilder
-
hasSequence
public boolean hasSequence().mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1;- Specified by:
hasSequencein interfaceReports.Trace.QueryPlanNodeOrBuilder- Returns:
- Whether the sequence field is set.
-
getSequence
.mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1;- Specified by:
getSequencein interfaceReports.Trace.QueryPlanNodeOrBuilder- Returns:
- The sequence.
-
getSequenceOrBuilder
.mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1;- Specified by:
getSequenceOrBuilderin interfaceReports.Trace.QueryPlanNodeOrBuilder
-
hasParallel
public boolean hasParallel().mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2;- Specified by:
hasParallelin interfaceReports.Trace.QueryPlanNodeOrBuilder- Returns:
- Whether the parallel field is set.
-
getParallel
.mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2;- Specified by:
getParallelin interfaceReports.Trace.QueryPlanNodeOrBuilder- Returns:
- The parallel.
-
getParallelOrBuilder
.mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2;- Specified by:
getParallelOrBuilderin interfaceReports.Trace.QueryPlanNodeOrBuilder
-
hasFetch
public boolean hasFetch().mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3;- Specified by:
hasFetchin interfaceReports.Trace.QueryPlanNodeOrBuilder- Returns:
- Whether the fetch field is set.
-
getFetch
.mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3;- Specified by:
getFetchin interfaceReports.Trace.QueryPlanNodeOrBuilder- Returns:
- The fetch.
-
getFetchOrBuilder
.mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3;- Specified by:
getFetchOrBuilderin interfaceReports.Trace.QueryPlanNodeOrBuilder
-
hasFlatten
public boolean hasFlatten().mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4;- Specified by:
hasFlattenin interfaceReports.Trace.QueryPlanNodeOrBuilder- Returns:
- Whether the flatten field is set.
-
getFlatten
.mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4;- Specified by:
getFlattenin interfaceReports.Trace.QueryPlanNodeOrBuilder- Returns:
- The flatten.
-
getFlattenOrBuilder
.mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4;- Specified by:
getFlattenOrBuilderin interfaceReports.Trace.QueryPlanNodeOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Reports.Trace.QueryPlanNode parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Reports.Trace.QueryPlanNode parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Reports.Trace.QueryPlanNode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Reports.Trace.QueryPlanNode parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Reports.Trace.QueryPlanNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Reports.Trace.QueryPlanNode parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Reports.Trace.QueryPlanNode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Reports.Trace.QueryPlanNode parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Reports.Trace.QueryPlanNode parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Reports.Trace.QueryPlanNode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Reports.Trace.QueryPlanNode.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-