Documentation
¶
Index ¶
- Constants
- func BatchFromProto(req *pb.BatchObjectsRequest, ...) ([]*models.Object, map[int]int, map[int]error)
- func ExtractFilters(filterIn *pb.Filters, authorizedGetClass func(string) (*models.Class, error), ...) (filters.Clause, error)
- func NewBoolValue(v bool) *pb.Value
- func NewDateValue(v string) *pb.Value
- func NewGeoValue(v *models.GeoCoordinates) *pb.Value
- func NewIntValue(v int64) *pb.Value
- func NewNumberValue(v float64) *pb.Value
- func NewObjectValue(v *pb.Properties) *pb.Value
- func NewStringValue(v string) *pb.Value
- func NewTextValue(v string) *pb.Value
- func NewUuidValue(v string) *pb.Value
- type AggregateParser
- type AggregateReplier
- type Mapper
- type NestedProperty
- type Parser
- type Property
- type Replier
- type Service
- func (s *Service) Aggregate(ctx context.Context, req *pb.AggregateRequest) (*pb.AggregateReply, error)
- func (s *Service) BatchDelete(ctx context.Context, req *pb.BatchDeleteRequest) (*pb.BatchDeleteReply, error)
- func (s *Service) BatchObjects(ctx context.Context, req *pb.BatchObjectsRequest) (*pb.BatchObjectsReply, error)
- func (s *Service) Check(ctx context.Context, request *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
- func (s *Service) Search(ctx context.Context, req *pb.SearchRequest) (*pb.SearchReply, error)
- func (s *Service) TenantsGet(ctx context.Context, req *pb.TenantsGetRequest) (*pb.TenantsGetReply, error)
- func (s *Service) Watch(request *grpc_health_v1.HealthCheckRequest, ...) error
Constants ¶
View Source
const BEACON_START = "weaviate://localhost/"
Variables ¶
This section is empty.
Functions ¶
func BatchFromProto ¶ added in v1.27.0
func ExtractFilters ¶ added in v1.27.0
func NewBoolValue ¶ added in v1.23.0
NewBoolValue constructs a new boolean Value.
func NewDateValue ¶ added in v1.23.0
NewDateValue constructs a new string Value.
func NewGeoValue ¶ added in v1.23.0
func NewGeoValue(v *models.GeoCoordinates) *pb.Value
NewGeoValue constructs a new geo Value.
func NewIntValue ¶ added in v1.23.0
NewIntValue constructs a new number Value.
func NewNumberValue ¶ added in v1.23.0
NewNumberValue constructs a new number Value.
func NewObjectValue ¶ added in v1.23.0
func NewObjectValue(v *pb.Properties) *pb.Value
NewObjectValue constructs a new struct Value.
func NewStringValue ¶ added in v1.23.0
NewStringValue constructs a new string Value.
func NewTextValue ¶ added in v1.25.0
func NewUuidValue ¶ added in v1.23.0
NewUuidValue constructs a new string Value.
Types ¶
type AggregateParser ¶ added in v1.28.5
type AggregateParser struct {
// contains filtered or unexported fields
}
func NewAggregateParser ¶ added in v1.28.5
func NewAggregateParser(authorizedGetClass func(string) (*models.Class, error)) *AggregateParser
func (*AggregateParser) Aggregate ¶ added in v1.28.5
func (p *AggregateParser) Aggregate(req *pb.AggregateRequest) (*aggregation.Params, error)
type AggregateReplier ¶ added in v1.28.5
type AggregateReplier struct {
// contains filtered or unexported fields
}
func NewAggregateReplier ¶ added in v1.28.5
func NewAggregateReplier(authorizedGetClass func(string) (*models.Class, error), params *aggregation.Params) *AggregateReplier
func (*AggregateReplier) Aggregate ¶ added in v1.28.5
func (r *AggregateReplier) Aggregate(res interface{}, isGroupby bool) (*pb.AggregateReply, error)
type Mapper ¶ added in v1.25.0
type Mapper struct {
// contains filtered or unexported fields
}
func NewMapping ¶ added in v1.25.0
func (*Mapper) NewNestedValue ¶ added in v1.25.0
func (m *Mapper) NewNestedValue(v interface{}, dt schema.DataType, parent schema.PropertyInterface, prop search.SelectProperty) (*pb.Value, error)
func (*Mapper) NewNilValue ¶ added in v1.25.0
NewNilValue constructs a new nil Value.
type NestedProperty ¶
type NestedProperty struct {
*models.NestedProperty
}
func (*NestedProperty) GetName ¶
func (p *NestedProperty) GetName() string
func (*NestedProperty) GetNestedProperties ¶
func (p *NestedProperty) GetNestedProperties() []*models.NestedProperty
type Parser ¶ added in v1.27.0
type Parser struct {
// contains filtered or unexported fields
}
type Property ¶
func (*Property) GetNestedProperties ¶
func (p *Property) GetNestedProperties() []*models.NestedProperty
type Replier ¶ added in v1.25.0
type Replier struct {
// contains filtered or unexported fields
}
func NewReplier ¶ added in v1.25.0
type Service ¶
type Service struct { pb.UnimplementedWeaviateServer // contains filtered or unexported fields }
func NewService ¶
func NewService(traverser *traverser.Traverser, authComposer composer.TokenFunc, allowAnonymousAccess bool, schemaManager *schemaManager.Manager, batchManager *objects.BatchManager, config *config.Config, authorization authorization.Authorizer, logger logrus.FieldLogger, ) *Service
func (*Service) Aggregate ¶ added in v1.28.5
func (s *Service) Aggregate(ctx context.Context, req *pb.AggregateRequest) (*pb.AggregateReply, error)
func (*Service) BatchDelete ¶ added in v1.23.3
func (s *Service) BatchDelete(ctx context.Context, req *pb.BatchDeleteRequest) (*pb.BatchDeleteReply, error)
func (*Service) BatchObjects ¶
func (s *Service) BatchObjects(ctx context.Context, req *pb.BatchObjectsRequest) (*pb.BatchObjectsReply, error)
func (*Service) Check ¶
func (s *Service) Check(ctx context.Context, request *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
func (*Service) Search ¶
func (s *Service) Search(ctx context.Context, req *pb.SearchRequest) (*pb.SearchReply, error)
func (*Service) TenantsGet ¶ added in v1.25.0
func (s *Service) TenantsGet(ctx context.Context, req *pb.TenantsGetRequest) (*pb.TenantsGetReply, error)
func (*Service) Watch ¶
func (s *Service) Watch(request *grpc_health_v1.HealthCheckRequest, server grpc_health_v1.Health_WatchServer) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.