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 class
RootRDFQueryQuery.GraphReportArguments
static interface
RootRDFQueryQuery.GraphReportArgumentsDefinition
class
RootRDFQueryQuery.GraphsArguments
static interface
RootRDFQueryQuery.GraphsArgumentsDefinition
class
RootRDFQueryQuery.GraphTypesArguments
static interface
RootRDFQueryQuery.GraphTypesArgumentsDefinition
class
RootRDFQueryQuery.MasterGraphsArguments
static interface
RootRDFQueryQuery.MasterGraphsArgumentsDefinition
class
RootRDFQueryQuery.TestResultsArguments
static interface
RootRDFQueryQuery.TestResultsArgumentsDefinition
class
RootRDFQueryQuery.UsersArguments
static interface
RootRDFQueryQuery.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 RootRDFQueryQuery
addFragment(Fragment fragment)
Adds a GraphQL "named" fragment to the query.RootRDFQueryQuery
addFragmentReference(Fragment<RootRDFQueryQuery> fragment)
Adds aRootRDFQueryQuery
fragment 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.RootRDFQueryQuery
graphReport(_GraphReportQueryDefinition queryDef)
The results report of the data graph, validating all resources.RootRDFQueryQuery
graphReport(RootRDFQueryQuery.GraphReportArgumentsDefinition argsDef, _GraphReportQueryDefinition queryDef)
The results report of the data graph, validating all resources.RootRDFQueryQuery
graphs(GraphQueryDefinition queryDef)
An (RDF) graph managed by the TopBraid Platform.RootRDFQueryQuery
graphs(RootRDFQueryQuery.GraphsArgumentsDefinition argsDef, GraphQueryDefinition queryDef)
An (RDF) graph managed by the TopBraid Platform.RootRDFQueryQuery
graphTypes(GraphTypeQueryDefinition queryDef)
A graph type such as Taxonomy.RootRDFQueryQuery
graphTypes(RootRDFQueryQuery.GraphTypesArgumentsDefinition argsDef, GraphTypeQueryDefinition queryDef)
A graph type such as Taxonomy.RootRDFQueryQuery
masterGraphs(MasterGraphQueryDefinition queryDef)
A graph managed by TopBraid together with a change history and permission system.RootRDFQueryQuery
masterGraphs(RootRDFQueryQuery.MasterGraphsArgumentsDefinition argsDef, MasterGraphQueryDefinition queryDef)
A graph managed by TopBraid together with a change history and permission system.RootRDFQueryQuery
RootTypeShapes(_TypeShapeQueryDefinition queryDef)
Requests the shape information for all root types.RootRDFQueryQuery
testResults(_TestResultQueryDefinition queryDef)
The results of test cases.RootRDFQueryQuery
testResults(RootRDFQueryQuery.TestResultsArgumentsDefinition argsDef, _TestResultQueryDefinition queryDef)
The results of test cases.String
toString()
RootRDFQueryQuery
TypeShapeByName(String name, _TypeShapeQueryDefinition queryDef)
Requests the shape information of a type with a given name.RootRDFQueryQuery
TypeShapeByUri(String uri, _TypeShapeQueryDefinition queryDef)
Requests the shape information of a type with a given URI.RootRDFQueryQuery
TypeShapesForResource(String uri, _TypeShapeQueryDefinition queryDef)
Requests the shapes that can be applied to a given resource, based on its declared RDF type.RootRDFQueryQuery
users(RootRDFQueryQuery.UsersArgumentsDefinition argsDef, UserQueryDefinition queryDef)
A TopBraid user (account).RootRDFQueryQuery
users(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 aRootRDFQueryQuery
fragment reference at the current position of the query. For example for a fragment namedtest
, calling this method will add the reference...test
in 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.
-
-