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 class
FetchedValue.Builder
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.collect.ImmutableList<GraphQLError>
errors
private java.lang.Object
fetchedValue
private java.lang.Object
localContext
private java.lang.Object
rawFetchedValue
-
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.Object
getFetchedValue()
java.lang.Object
getLocalContext()
java.lang.Object
getRawFetchedValue()
static FetchedValue.Builder
newFetchedValue()
static FetchedValue.Builder
newFetchedValue(FetchedValue otherValue)
java.lang.String
toString()
FetchedValue
transform(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:
toString
in classjava.lang.Object
-
newFetchedValue
public static FetchedValue.Builder newFetchedValue()
-
newFetchedValue
public static FetchedValue.Builder newFetchedValue(FetchedValue otherValue)
-
-