GetNonZeroFloatArray(string)
This method returns the non-zero-dimension values float[] of the specified sparse VECTOR column.
Declaration
// C#
public float[] GetNonZeroFloatArray(string name);Parameters
name
The specified column name.
Return Value
The non-zero-dimension values float[] 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, the VECTOR column is a dense vector type column, a BINARY format vector column, or the column value is NULL.
Remarks
IsDBNull should be called to check for NULL values before calling this method.
Only call this method on a sparse VECTOR column where SchemaTable["VectorType"] is OracleVectorType.Sparse. This method cannot be called on BINARY format vector columns.