Documentation ¶
Overview ¶
_ _
*__ _____ __ ___ ___ __ _| |_ ___ *\ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ * \ 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 ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LocalRef ¶
LocalRef to be filled by the database connector to indicate that the particular reference field is a local ref and does not require further resolving, as opposed to a NetworkRef.
type NetworkRef ¶
type NetworkRef struct {
crossrefs.NetworkKind
}
NetworkRef is a WIP, it will most likely change
type Params ¶
type Params struct { Kind kind.Kind Filters *common_filters.LocalFilter ClassName string Pagination *common.Pagination Properties []SelectProperty }
type SelectClass ¶
type SelectClass struct { ClassName string RefProperties []SelectProperty }
type SelectProperty ¶
type SelectProperty struct { Name string IsPrimitive bool // Include the __typename in all the Refs below. IncludeTypeName bool // Not a primitive type? Then select these properties. Refs []SelectClass }
func (SelectProperty) FindSelectClass ¶
func (sp SelectProperty) FindSelectClass(className schema.ClassName) *SelectClass
FindSelectClass by specifying the exact class name
func (SelectProperty) HasPeer ¶
func (sp SelectProperty) HasPeer(peerName string) bool
HasPeer returns true if any of the referenced classes are from the specified peer
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
_ _ *__ _____ __ ___ ___ __ _| |_ ___ *\ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ * \ V V / __/ (_| |\ V /| | (_| | || __/ * \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___| * * Copyright © 2016 - 2019 Weaviate.
|
_ _ *__ _____ __ ___ ___ __ _| |_ ___ *\ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ * \ V V / __/ (_| |\ V /| | (_| | || __/ * \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___| * * Copyright © 2016 - 2019 Weaviate. |