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 Mapper
- type NestedProperty
- type Parser
- type Property
- type Replier
- type Service
- 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 ¶
func ExtractFilters ¶
func NewBoolValue ¶
NewBoolValue constructs a new boolean Value.
func NewDateValue ¶
NewDateValue constructs a new string Value.
func NewGeoValue ¶
func NewGeoValue(v *models.GeoCoordinates) *pb.Value
NewGeoValue constructs a new geo Value.
func NewNumberValue ¶
NewNumberValue constructs a new number Value.
func NewObjectValue ¶
func NewObjectValue(v *pb.Properties) *pb.Value
NewObjectValue constructs a new struct Value.
func NewStringValue ¶
NewStringValue constructs a new string Value.
func NewTextValue ¶
func NewUuidValue ¶
NewUuidValue constructs a new string Value.
Types ¶
type Mapper ¶
type Mapper struct {
// contains filtered or unexported fields
}
func NewMapping ¶
func (*Mapper) NewNestedValue ¶
func (m *Mapper) NewNestedValue(v interface{}, dt schema.DataType, parent schema.PropertyInterface, prop search.SelectProperty) (*pb.Value, error)
func (*Mapper) NewNilValue ¶
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 Property ¶
func (*Property) GetNestedProperties ¶
func (p *Property) GetNestedProperties() []*models.NestedProperty
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) BatchDelete ¶
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 ¶
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.