OracleSparseVector(sparseVectorString)

This constructor creates an instance of the OracleSparseVector class with the string representation of a sparse vector.

Declaration

// C#
public OracleSparseVector(string sparseVectorString);

Parameters

sparseVectorString

The string representation of a sparse vector

Exceptions

ArgumentException - The parameter is an invalid string representation of an OracleSparseVector.

ArgumentNullException - The parameter is null.

Remarks

The ProviderType is OracleDbType.Vector_Float32 unless it is in binary sparse vector format. If that is the case, the ProviderType is OracleDbType.Vector_Binary.

If the vector parameter has a length of zero, then the constructed instance will have null value and IsNull will be true.