Documentation ¶
Index ¶
- type Connector
- func (c *Connector) CloseConnection()
- func (c *Connector) CreateCollection(parentCtx context.Context) (err error)
- func (c *Connector) CreateFieldIndex(parentCtx context.Context, fieldName string, fieldType *pb.FieldType) (err error)
- func (c *Connector) DeleteCollection(parentCtx context.Context) error
- func (c *Connector) DeletePointsByIds(parentCtx context.Context, pointIds ...*pb.PointId) (err error)
- func (c *Connector) DeletePointsByName(parentCtx context.Context, name string) (err error)
- func (c *Connector) GetPointsById(parentCtx context.Context, pointIds ...*pb.PointId) ([]*pb.RetrievedPoint, error)
- func (c *Connector) GetPointsHavingName(parentCtx context.Context, name string) ([]*pb.RetrievedPoint, error)
- func (c *Connector) InitConnection(def *conf.DataSourceDefinition)
- func (c *Connector) ListCollections(parentCtx context.Context) (collections []*pb.CollectionDescription, err error)
- func (c *Connector) SimilarToThis(parentCtx context.Context, point []float32, k uint64, filter *pb.Filter) ([]*pb.ScoredPoint, error)
- func (c *Connector) UpsertPoints(parentCtx context.Context, waitUpsert bool, points []*pb.PointStruct) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct { abstract.ConfigurableConnector // contains filtered or unexported fields }
func NewQdrantConnector ¶
func NewQdrantConnector() *Connector
func (*Connector) CloseConnection ¶
func (c *Connector) CloseConnection()
func (*Connector) CreateCollection ¶
func (*Connector) CreateFieldIndex ¶
func (*Connector) DeleteCollection ¶
func (*Connector) DeletePointsByIds ¶
func (*Connector) DeletePointsByName ¶
func (*Connector) GetPointsById ¶
func (*Connector) GetPointsHavingName ¶
func (*Connector) InitConnection ¶
func (c *Connector) InitConnection(def *conf.DataSourceDefinition)
InitConnection ... inits connection
func (*Connector) ListCollections ¶
func (*Connector) SimilarToThis ¶
func (*Connector) UpsertPoints ¶
Click to show internal directories.
Click to hide internal directories.