Class GraphQLQueryRootForStarPattern
java.lang.Object
se.liu.ida.hefquin.engine.wrappers.graphql.utils.GraphQLQueryRootForStarPattern
An class for objects that wrap a 
StarPattern and provide
 functionality for creating the root field of a GraphQL query
 based on the star pattern.- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final GraphQL2RDFConfigurationprotected final GraphQLSchemaprotected final StarPattern - 
Constructor Summary
ConstructorsConstructorDescriptionGraphQLQueryRootForStarPattern(StarPattern sp, GraphQL2RDFConfiguration config, GraphQLSchema schema)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected GraphQLEntrypointprotected StringbooleanReturns a map representing the arguments that can be used from the given star pattern.final GraphQLEntrypointReturns the relevant entry point with regards to if the corresponding star pattern has the required arguments.final StringReturns the GraphQL object type that corresponds to the star pattern ornullif the type cannot be determined.inthashCode() 
- 
Field Details
- 
sp
 - 
config
 - 
schema
 
 - 
 - 
Constructor Details
- 
GraphQLQueryRootForStarPattern
public GraphQLQueryRootForStarPattern(StarPattern sp, GraphQL2RDFConfiguration config, GraphQLSchema schema)  
 - 
 - 
Method Details
- 
getStarPattern
 - 
getGraphQLObjectType
Returns the GraphQL object type that corresponds to the star pattern ornullif the type cannot be determined. - 
getGraphQLArguments
 - 
getGraphQLEntryPoint
Returns the relevant entry point with regards to if the corresponding star pattern has the required arguments.- Throws:
 QueryTranslatingException- if no valid entrypoint was found.
 - 
determineGraphQLObjectType
 - 
determineGraphQLArguments
 - 
determineGraphQLEntryPoint
- Throws:
 QueryTranslatingException
 - 
equals
 - 
hashCode
 
 -