OracleVector(vectorString, providerType)
This constructor creates an instance of the OracleVector class with the string representation of a vector.
Declaration
// C# public OracleVector(string vectorString, OracleDbType providerType);
Parameters
-
vectorStringThe string representation of a vector
-
providerTypeThe
OracleDbTypeof the resultingOracleVector.
Exceptions
ArgumentException - The vector string parameter is an invalid string representation of an OracleVector or the providerType is not a OracleDbType.Vector*
ArgumentNullException - The string parameter is null.
Remarks
The allowed providerType values are:
-
OracleDbType.Vector -
OracleDbType.Vector_Int8 -
OracleDbType.Vector_Float32 -
OracleDbType.Vector_Float64 -
OracleDbType.Vector_Binary
If providerType is OracleDbType.Vector, then the OracleSparseVector ProviderType will be OracleDbType.Vector_Float32.
If the parameter value is an empty string, then the constructed instance will have null value and IsNull will be true.