Documentation
¶
Index ¶
- func RegisterTypes(ctx context.Context, conn *pgx.Conn) error
- type HalfVectorCodec
- func (c HalfVectorCodec) DecodeDatabaseSQLValue(m *pgtype.Map, oid uint32, format int16, src []byte) (driver.Value, error)
- func (c HalfVectorCodec) DecodeValue(m *pgtype.Map, oid uint32, format int16, src []byte) (any, error)
- func (HalfVectorCodec) FormatSupported(format int16) bool
- func (HalfVectorCodec) PlanEncode(m *pgtype.Map, oid uint32, format int16, value any) pgtype.EncodePlan
- func (HalfVectorCodec) PlanScan(m *pgtype.Map, oid uint32, format int16, target any) pgtype.ScanPlan
- func (HalfVectorCodec) PreferredFormat() int16
- type SparseVectorCodec
- func (c SparseVectorCodec) DecodeDatabaseSQLValue(m *pgtype.Map, oid uint32, format int16, src []byte) (driver.Value, error)
- func (c SparseVectorCodec) DecodeValue(m *pgtype.Map, oid uint32, format int16, src []byte) (any, error)
- func (SparseVectorCodec) FormatSupported(format int16) bool
- func (SparseVectorCodec) PlanEncode(m *pgtype.Map, oid uint32, format int16, value any) pgtype.EncodePlan
- func (SparseVectorCodec) PlanScan(m *pgtype.Map, oid uint32, format int16, target any) pgtype.ScanPlan
- func (SparseVectorCodec) PreferredFormat() int16
- type VectorCodec
- func (c VectorCodec) DecodeDatabaseSQLValue(m *pgtype.Map, oid uint32, format int16, src []byte) (driver.Value, error)
- func (c VectorCodec) DecodeValue(m *pgtype.Map, oid uint32, format int16, src []byte) (any, error)
- func (VectorCodec) FormatSupported(format int16) bool
- func (VectorCodec) PlanEncode(m *pgtype.Map, oid uint32, format int16, value any) pgtype.EncodePlan
- func (VectorCodec) PlanScan(m *pgtype.Map, oid uint32, format int16, target any) pgtype.ScanPlan
- func (VectorCodec) PreferredFormat() int16
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTypes ¶
Types ¶
type HalfVectorCodec ¶
type HalfVectorCodec struct{}
func (HalfVectorCodec) DecodeDatabaseSQLValue ¶
func (HalfVectorCodec) DecodeValue ¶
func (HalfVectorCodec) FormatSupported ¶
func (HalfVectorCodec) FormatSupported(format int16) bool
func (HalfVectorCodec) PlanEncode ¶
func (HalfVectorCodec) PlanEncode(m *pgtype.Map, oid uint32, format int16, value any) pgtype.EncodePlan
func (HalfVectorCodec) PreferredFormat ¶
func (HalfVectorCodec) PreferredFormat() int16
type SparseVectorCodec ¶
type SparseVectorCodec struct{}
func (SparseVectorCodec) DecodeDatabaseSQLValue ¶
func (SparseVectorCodec) DecodeValue ¶
func (SparseVectorCodec) FormatSupported ¶
func (SparseVectorCodec) FormatSupported(format int16) bool
func (SparseVectorCodec) PlanEncode ¶
func (SparseVectorCodec) PlanEncode(m *pgtype.Map, oid uint32, format int16, value any) pgtype.EncodePlan
func (SparseVectorCodec) PreferredFormat ¶
func (SparseVectorCodec) PreferredFormat() int16
type VectorCodec ¶
type VectorCodec struct{}
func (VectorCodec) DecodeDatabaseSQLValue ¶
func (VectorCodec) DecodeValue ¶
func (VectorCodec) FormatSupported ¶
func (VectorCodec) FormatSupported(format int16) bool
func (VectorCodec) PlanEncode ¶
func (VectorCodec) PlanEncode(m *pgtype.Map, oid uint32, format int16, value any) pgtype.EncodePlan
func (VectorCodec) PreferredFormat ¶
func (VectorCodec) PreferredFormat() int16
Click to show internal directories.
Click to hide internal directories.