Package graphql.execution
Class FetchedValue
- java.lang.Object
-
- graphql.execution.FetchedValue
-
@PublicApi public class FetchedValue extends java.lang.Object
Note: This is returned byInstrumentationFieldCompleteParameters.getFetchedValue()and therefore part of the public despite never used in a method signature.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFetchedValue.Builder
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.collect.ImmutableList<GraphQLError>errorsprivate java.lang.ObjectfetchedValueprivate java.lang.ObjectlocalContextprivate java.lang.ObjectrawFetchedValue
-
Constructor Summary
Constructors Constructor Description FetchedValue(java.lang.Object fetchedValue, java.lang.Object rawFetchedValue, com.google.common.collect.ImmutableList<GraphQLError> errors, java.lang.Object localContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GraphQLError>getErrors()java.lang.ObjectgetFetchedValue()java.lang.ObjectgetLocalContext()java.lang.ObjectgetRawFetchedValue()static FetchedValue.BuildernewFetchedValue()static FetchedValue.BuildernewFetchedValue(FetchedValue otherValue)java.lang.StringtoString()FetchedValuetransform(java.util.function.Consumer<FetchedValue.Builder> builderConsumer)
-
-
-
Field Detail
-
fetchedValue
private final java.lang.Object fetchedValue
-
rawFetchedValue
private final java.lang.Object rawFetchedValue
-
localContext
private final java.lang.Object localContext
-
errors
private final com.google.common.collect.ImmutableList<GraphQLError> errors
-
-
Constructor Detail
-
FetchedValue
FetchedValue(java.lang.Object fetchedValue, java.lang.Object rawFetchedValue, com.google.common.collect.ImmutableList<GraphQLError> errors, java.lang.Object localContext)
-
-
Method Detail
-
getFetchedValue
public java.lang.Object getFetchedValue()
-
getRawFetchedValue
public java.lang.Object getRawFetchedValue()
-
getErrors
public java.util.List<GraphQLError> getErrors()
-
getLocalContext
public java.lang.Object getLocalContext()
-
transform
public FetchedValue transform(java.util.function.Consumer<FetchedValue.Builder> builderConsumer)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
newFetchedValue
public static FetchedValue.Builder newFetchedValue()
-
newFetchedValue
public static FetchedValue.Builder newFetchedValue(FetchedValue otherValue)
-
-