GetOracleVector(int)
This method returns an OracleVector object of the specified VECTOR column.
Declaration
// C#
public OracleVector GetOracleVector(int index);Parameters
index
A zero-based column index.
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 - The column index is invalid.
InvalidCastException - The accessor method is invalid for this column type.
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