Documentation ¶
Overview ¶
Package network_get provides the network get graphql endpoint for Weaviate
_ _ *__ _____ __ ___ ___ __ _| |_ ___ *\ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ * \ V V / __/ (_| |\ V /| | (_| | || __/ * \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___| * * Copyright © 2016 - 2019 Weaviate. All rights reserved. * LICENSE: https://github.com/creativesoftwarefdn/weaviate/blob/develop/LICENSE.md * DESIGN & CONCEPT: Bob van Luijt (@bobvanluijt) * CONTACT: hello@creativesoftwarefdn.org
Index ¶
- Variables
- func ActionClassFieldsFromSchema(dbSchema *schema.Schema, getActionsAndThings *map[string]*graphql.Object, ...) (*graphql.Object, error)
- func NetworkGetInstanceResolve(p graphql.ResolveParams) (interface{}, error)
- func ThingClassFieldsFromSchema(dbSchema *schema.Schema, actionsAndThings *map[string]*graphql.Object, ...) (*graphql.Object, error)
- type Builder
- type FiltersAndResolver
- type Params
- type Resolver
Constants ¶
This section is empty.
Variables ¶
View Source
var ResolveAction = resolveKind(kind.ACTION_KIND)
ResolveAction as part of a network query: Network -> Get -> Action -> <nameOfAction>
View Source
var ResolveThing = resolveKind(kind.THING_KIND)
ResolveThing as part of a network query: Network -> Get -> Thing -> <nameOfThing>
Functions ¶
func ActionClassFieldsFromSchema ¶
func ActionClassFieldsFromSchema(dbSchema *schema.Schema, getActionsAndThings *map[string]*graphql.Object, weaviate string) (*graphql.Object, error)
Build the dynamically generated Get Actions part of the schema
func NetworkGetInstanceResolve ¶
func NetworkGetInstanceResolve(p graphql.ResolveParams) (interface{}, error)
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder for Network -> Get
type FiltersAndResolver ¶
type FiltersAndResolver struct {
Resolver Resolver
}
FiltersAndResolver is a helper tuple to bubble data through the resolvers.
Click to show internal directories.
Click to hide internal directories.