CollectionModelBuildingOptions class final

Options that control how a CollectionModel is built.

This is a support type for provider implementors; application code should not reference it directly.

Annotations
  • @Source(name: 'CollectionModelBuildingOptions.cs', namespace: 'Microsoft.Extensions.VectorData.ProviderServices', repository: 'dotnet/extensions', path: 'src/Libraries/Microsoft.Extensions.VectorData.Abstractions/' 'ProviderServices/')

Constructors

CollectionModelBuildingOptions({required bool supportsMultipleVectors, required bool requiresAtLeastOneVector, bool usesExternalSerializer = false, String? reservedKeyStorageName})
Creates a CollectionModelBuildingOptions.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
requiresAtLeastOneVector → bool
Whether the provider requires at least one vector property.
final
reservedKeyStorageName → String?
A reserved storage name for the key property that the provider always uses, regardless of the model name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportsMultipleVectors → bool
Whether the provider supports multiple vector properties per record.
final
usesExternalSerializer → bool
Whether the provider uses an external serializer (e.g. dart:convert) to transform records instead of the model's property accessors.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited