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

  • vectorString

    The string representation of a vector

  • providerType

    The OracleDbType of the resulting OracleVector.

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_Int8

  • OracleDbType.Vector_Float32

  • OracleDbType.Vector_Float64

  • OracleDbType.Vector_Binary

If the parameter value is an empty string, then the constructed instance will have null value and IsNull will be true.