ColumnHalfVector class
A Column holding a HalfVector from pgvector.
- Inheritance
-
- Object
- Column<
HalfVector> - ColumnHalfVector
Constructors
Properties
- columnName → String
-
Name of the Column.
no setterinherited
- dimension → int
-
The dimension of the half vector (number of elements).
final
- hasDefault → bool
-
flag to tell if this Column has any
default
valuefinalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- queryAlias → String
-
Query alias for the Column.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- table → Table
-
Table that column belongs to.
finalinherited
- type → Type
-
Corresponding dart Type.
finalinherited
Methods
-
distanceCosine(
HalfVector other) → ColumnVectorDistance< HalfVector> -
Computes the cosine distance between this vector column and another vector.
inherited
-
distanceInnerProduct(
HalfVector other) → ColumnVectorDistance< HalfVector> -
Computes the inner product distance between this vector column and another vector.
inherited
-
distanceL1(
HalfVector other) → ColumnVectorDistance< HalfVector> -
Computes the L1 (Manhattan) distance between this vector column and another vector.
inherited
-
distanceL2(
HalfVector other) → ColumnVectorDistance< HalfVector> -
Computes the L2 (Euclidean) distance between this vector column and another vector.
inherited
-
equals(
HalfVector value) → Expression -
Creates an Expression checking if the value in the column equals the
specified value.
inherited
-
inSet(
Set< HalfVector> values) → Expression -
Creates and Expression checking if the value in the column is included
in the specified set of values.
If the set is empty the expression will match no rows.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
HalfVector value) → Expression -
Creates an Expression checking if the value in the column does not equal
the specified value.
inherited
-
notInSet(
Set< HalfVector> values) → Expression -
Creates and Expression checking if the value in the column is NOT
included in the specified set of values.
If the set is empty the expression will match all rows.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited