Class RootRDFQueryQuery
- java.lang.Object
-
- com.shopify.graphql.support.AbstractQuery<RootRDFQueryQuery>
-
- org.topbraidlive.client.java.graphql.platform.RootRDFQueryQuery
-
public class RootRDFQueryQuery extends AbstractQuery<RootRDFQueryQuery>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classRootRDFQueryQuery.GraphReportArgumentsstatic interfaceRootRDFQueryQuery.GraphReportArgumentsDefinitionclassRootRDFQueryQuery.GraphsArgumentsstatic interfaceRootRDFQueryQuery.GraphsArgumentsDefinitionclassRootRDFQueryQuery.GraphTypesArgumentsstatic interfaceRootRDFQueryQuery.GraphTypesArgumentsDefinitionclassRootRDFQueryQuery.MasterGraphsArgumentsstatic interfaceRootRDFQueryQuery.MasterGraphsArgumentsDefinitionclassRootRDFQueryQuery.TestResultsArgumentsstatic interfaceRootRDFQueryQuery.TestResultsArgumentsDefinitionclassRootRDFQueryQuery.UsersArgumentsstatic interfaceRootRDFQueryQuery.UsersArgumentsDefinition
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractQuery
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RootRDFQueryQueryaddFragment(Fragment fragment)Adds a GraphQL "named" fragment to the query.RootRDFQueryQueryaddFragmentReference(Fragment<RootRDFQueryQuery> fragment)Adds aRootRDFQueryQueryfragment reference at the current position of the query.static Fragment<RootRDFQueryQuery>createFragment(String name, RootRDFQueryQueryDefinition queryDef)Creates a GraphQL "named" fragment with the specified query type definition.RootRDFQueryQuerygraphReport(_GraphReportQueryDefinition queryDef)The results report of the data graph, validating all resources.RootRDFQueryQuerygraphReport(RootRDFQueryQuery.GraphReportArgumentsDefinition argsDef, _GraphReportQueryDefinition queryDef)The results report of the data graph, validating all resources.RootRDFQueryQuerygraphs(GraphQueryDefinition queryDef)An (RDF) graph managed by the TopBraid Platform.RootRDFQueryQuerygraphs(RootRDFQueryQuery.GraphsArgumentsDefinition argsDef, GraphQueryDefinition queryDef)An (RDF) graph managed by the TopBraid Platform.RootRDFQueryQuerygraphTypes(GraphTypeQueryDefinition queryDef)A graph type such as Taxonomy.RootRDFQueryQuerygraphTypes(RootRDFQueryQuery.GraphTypesArgumentsDefinition argsDef, GraphTypeQueryDefinition queryDef)A graph type such as Taxonomy.RootRDFQueryQuerymasterGraphs(MasterGraphQueryDefinition queryDef)A graph managed by TopBraid together with a change history and permission system.RootRDFQueryQuerymasterGraphs(RootRDFQueryQuery.MasterGraphsArgumentsDefinition argsDef, MasterGraphQueryDefinition queryDef)A graph managed by TopBraid together with a change history and permission system.RootRDFQueryQueryRootTypeShapes(_TypeShapeQueryDefinition queryDef)Requests the shape information for all root types.RootRDFQueryQuerytestResults(_TestResultQueryDefinition queryDef)The results of test cases.RootRDFQueryQuerytestResults(RootRDFQueryQuery.TestResultsArgumentsDefinition argsDef, _TestResultQueryDefinition queryDef)The results of test cases.StringtoString()RootRDFQueryQueryTypeShapeByName(String name, _TypeShapeQueryDefinition queryDef)Requests the shape information of a type with a given name.RootRDFQueryQueryTypeShapeByUri(String uri, _TypeShapeQueryDefinition queryDef)Requests the shape information of a type with a given URI.RootRDFQueryQueryTypeShapesForResource(String uri, _TypeShapeQueryDefinition queryDef)Requests the shapes that can be applied to a given resource, based on its declared RDF type.RootRDFQueryQueryusers(RootRDFQueryQuery.UsersArgumentsDefinition argsDef, UserQueryDefinition queryDef)A TopBraid user (account).RootRDFQueryQueryusers(UserQueryDefinition queryDef)A TopBraid user (account).-
Methods inherited from class com.shopify.graphql.support.AbstractQuery
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAlias
-
-
-
-
Method Detail
-
RootTypeShapes
public RootRDFQueryQuery RootTypeShapes(_TypeShapeQueryDefinition queryDef)
Requests the shape information for all root types.
-
TypeShapeByName
public RootRDFQueryQuery TypeShapeByName(String name, _TypeShapeQueryDefinition queryDef)
Requests the shape information of a type with a given name.
-
TypeShapeByUri
public RootRDFQueryQuery TypeShapeByUri(String uri, _TypeShapeQueryDefinition queryDef)
Requests the shape information of a type with a given URI.
-
TypeShapesForResource
public RootRDFQueryQuery TypeShapesForResource(String uri, _TypeShapeQueryDefinition queryDef)
Requests the shapes that can be applied to a given resource, based on its declared RDF type.
-
graphReport
public RootRDFQueryQuery graphReport(_GraphReportQueryDefinition queryDef)
The results report of the data graph, validating all resources.
-
graphReport
public RootRDFQueryQuery graphReport(RootRDFQueryQuery.GraphReportArgumentsDefinition argsDef, _GraphReportQueryDefinition queryDef)
The results report of the data graph, validating all resources.
-
graphTypes
public RootRDFQueryQuery graphTypes(GraphTypeQueryDefinition queryDef)
A graph type such as Taxonomy.
-
graphTypes
public RootRDFQueryQuery graphTypes(RootRDFQueryQuery.GraphTypesArgumentsDefinition argsDef, GraphTypeQueryDefinition queryDef)
A graph type such as Taxonomy.
-
graphs
public RootRDFQueryQuery graphs(GraphQueryDefinition queryDef)
An (RDF) graph managed by the TopBraid Platform.
-
graphs
public RootRDFQueryQuery graphs(RootRDFQueryQuery.GraphsArgumentsDefinition argsDef, GraphQueryDefinition queryDef)
An (RDF) graph managed by the TopBraid Platform.
-
masterGraphs
public RootRDFQueryQuery masterGraphs(MasterGraphQueryDefinition queryDef)
A graph managed by TopBraid together with a change history and permission system.
-
masterGraphs
public RootRDFQueryQuery masterGraphs(RootRDFQueryQuery.MasterGraphsArgumentsDefinition argsDef, MasterGraphQueryDefinition queryDef)
A graph managed by TopBraid together with a change history and permission system.
-
testResults
public RootRDFQueryQuery testResults(_TestResultQueryDefinition queryDef)
The results of test cases.
-
testResults
public RootRDFQueryQuery testResults(RootRDFQueryQuery.TestResultsArgumentsDefinition argsDef, _TestResultQueryDefinition queryDef)
The results of test cases.
-
users
public RootRDFQueryQuery users(UserQueryDefinition queryDef)
A TopBraid user (account).
-
users
public RootRDFQueryQuery users(RootRDFQueryQuery.UsersArgumentsDefinition argsDef, UserQueryDefinition queryDef)
A TopBraid user (account).
-
addFragment
public RootRDFQueryQuery addFragment(Fragment fragment)
Adds a GraphQL "named" fragment to the query. If a fragment with the same name is already added, calling this method will replace the existing fragment.- Parameters:
fragment- The fragment to add.
-
createFragment
public static Fragment<RootRDFQueryQuery> createFragment(String name, RootRDFQueryQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition. The generics nature of fragments ensures that a fragment can only be used at the right place in the GraphQL request.- Parameters:
name- The name of the fragment, must be unique for a given GraphQL request.queryDef- The fragment definition.- Returns:
- The fragment of a given generics type.
-
addFragmentReference
public RootRDFQueryQuery addFragmentReference(Fragment<RootRDFQueryQuery> fragment)
Adds aRootRDFQueryQueryfragment reference at the current position of the query. For example for a fragment namedtest, calling this method will add the reference...testin the query. For GraphQL types implementing an interface, there will be some similar methods using the Query type of each implemented interface.- Parameters:
fragment- The fragment to reference.
-
-