Package graphql.schema
Class PropertyDataFetcherHelper
java.lang.Object
graphql.schema.PropertyDataFetcherHelper
This class is the guts of a property data fetcher and also used in AST code to turn
in memory java objects into AST elements
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic ObjectgetPropertyValue(String propertyName, Object object, GraphQLType graphQLType) static ObjectgetPropertyValue(String propertyName, Object object, GraphQLType graphQLType, Supplier<DataFetchingEnvironment> environment) static booleansetUseLambdaFactory(boolean flag) static booleansetUseNegativeCache(boolean flag) static booleansetUseSetAccessible(boolean flag)
-
Constructor Details
-
PropertyDataFetcherHelper
public PropertyDataFetcherHelper()
-
-
Method Details
-
getPropertyValue
-
getPropertyValue
public static Object getPropertyValue(String propertyName, Object object, GraphQLType graphQLType, Supplier<DataFetchingEnvironment> environment) -
clearReflectionCache
public static void clearReflectionCache() -
setUseSetAccessible
public static boolean setUseSetAccessible(boolean flag) -
setUseLambdaFactory
public static boolean setUseLambdaFactory(boolean flag) -
setUseNegativeCache
public static boolean setUseNegativeCache(boolean flag)
-