GetOracleVector(string)
This method returns an OracleVector object of the specified VECTOR column.
Declaration
// C#
public OracleVector GetOracleVector (string name);Parameters
name
The specified column name.
Return Value
The OracleVector value of the column.
Exceptions
InvalidOperationException - The connection is closed, the reader is closed, Read() has not been called or all rows have been read.
IndexOutOfRangeException - Unable to find specified column in result set.
InvalidCastException - The accessor method is invalid for this column type, or the column value is NULL.
Remarks
If the column value is NULL, then it returns OracleVector.Null.
When retrieving from a sparse VECTOR column, you can cast the OracleVector to an OracleSparseVector object to utilize sparse vectors APIs.
See Also:
-
"Oracle.DataAccess.Client and Oracle.ManagedDataAccess.Client Namespaces"
-
OracleVector class
-
OracleSparseVector class