Documentation ¶
Overview ¶
Package aggregate provides the local aggregate graphql endpoint for Weaviate
Index ¶
Constants ¶
View Source
const GroupedByFieldName = "groupedBy"
GroupedByFieldName is a special graphQL field that appears alongside the to-be-aggregated props, but doesn't require any processing by the connectors itself, as it just displays meta info about the overall aggregation.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ModulesProvider ¶
type RequestsLog ¶
RequestsLog is a local abstraction on the RequestsLog that needs to be provided to the graphQL API in order to log Local.Get queries.
type Resolver ¶
type Resolver interface {
Aggregate(ctx context.Context, principal *models.Principal, info *aggregation.Params) (interface{}, error)
}
Resolver is a local interface that can be composed with other interfaces to form the overall GraphQL API main interface. All data-base connectors that want to support the Meta feature must implement this interface.
Click to show internal directories.
Click to hide internal directories.