DataPropertyModel class

Represents a data property on a vector store record.

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

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

Constructors

DataPropertyModel({required String modelName, required Type type, bool isNullable = true})
Creates a DataPropertyModel with the given modelName and type.

Properties

hashCode int
The hash code for this object.
no setterinherited
isFullTextIndexed bool
Whether this property should be indexed for full-text search.
getter/setter pair
isIndexed bool
Whether this property should be indexed for filtering.
getter/setter pair
isNullable bool
Whether the property accepts null values.
finalinherited
modelName String
The model name of the property.
getter/setter pairinherited
providerAnnotations Map<String, Object?>?
Provider-specific annotations for this property.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storageName String
The storage name used in the vector store.
getter/setter pairinherited
type Type
The Dart Type of the property.
getter/setter pairinherited

Methods

configureAccessors(Object? getter(Object record), void setter(Object record, Object? value)) → void
Configures explicit getter and setter callbacks for POCO mapping.
inherited
configureDynamicAccessors() → void
Configures getter and setter callbacks for dynamic Map<String, Object?> mapping.
inherited
getValue<T>(Object record) → T
Reads the property value from record as T.
inherited
getValueAsObject(Object record) Object?
Reads the property value from record as an Object?.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue<T>(Object record, T value) → void
Writes a typed value to the property on record.
inherited
setValueAsObject(Object record, Object? value) → void
Writes value to the property on record.
inherited
toString() String
A string representation of this object.
override

Operators

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