CBLVectorEncoding
@interface CBLVectorEncoding : NSObject
ENTERPRISE EDITION ONLY
Vector encoding type to use in vector indexes.
-
No encoding; 4 bytes per dimension, no data loss.
Declaration
Objective-C
+ (nonnull instancetype)none; -
Scalar Quantizer encoding.
Declaration
Objective-C
+ (nonnull instancetype)scalarQuantizerWithType:(id)type;Parameters
typeThe type of Scalar Quantizer
-
Product Quantizer encoding.
Declaration
Objective-C
+ (nonnull instancetype)productQuantizerWithSubquantizers: (unsigned int)subquantizers bits:(unsigned int)bits;Parameters
subquantizersNumber of subquantizers. Must be > 1 and a factor of vector dimensions.
bitsNumber of bits. Must be >= 4 and <= 12.
-
Unavailable
Not available
Declaration
Objective-C
- (nonnull instancetype)init;
CBLVectorEncoding Class Reference