Click or drag to resize
CqlReader Class
Reads a forward-only stream of rows from Cassandra.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.Data.CommonDbDataReader
      Dse.DataCqlReader

Namespace: Dse.Data
Assembly: Dse (in Dse.dll) Version: 2.2.0
Syntax
C#
public class CqlReader : DbDataReader

The CqlReader type exposes the following members.

Methods
  NameDescription
Public methodClose (Overrides DbDataReaderClose.)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the current instance of the DbDataReader class.
(Inherited from DbDataReader.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetBoolean
Gets the value of the specified column as a Boolean.
(Overrides DbDataReaderGetBoolean(Int32).)
Public methodGetByte
Gets the value of the specified column as a byte.
(Overrides DbDataReaderGetByte(Int32).)
Public methodGetBytes
Reads a stream of bytes from the specified column, starting at location indicated by dataOffset, into the buffer, starting at the location indicated by bufferOffset.
(Overrides DbDataReaderGetBytes(Int32, Int64, Byte, Int32, Int32).)
Public methodGetChar
Gets the value of the specified column as a single character.
(Overrides DbDataReaderGetChar(Int32).)
Public methodGetChars
Reads a stream of characters from the specified column, starting at location indicated by dataOffset, into the buffer, starting at the location indicated by bufferOffset.
(Overrides DbDataReaderGetChars(Int32, Int64, Char, Int32, Int32).)
Public methodGetData
Returns a DbDataReader object for the requested column ordinal.
(Inherited from DbDataReader.)
Public methodGetDataTypeName
Gets name of the data type of the specified column.
(Overrides DbDataReaderGetDataTypeName(Int32).)
Public methodGetDateTime
Gets the value of the specified column as a DateTime object.
(Overrides DbDataReaderGetDateTime(Int32).)
Public methodGetDecimal
Gets the value of the specified column as a Decimal object.
(Overrides DbDataReaderGetDecimal(Int32).)
Public methodGetDouble
Gets the value of the specified column as a double-precision floating point number.
(Overrides DbDataReaderGetDouble(Int32).)
Public methodGetEnumerator (Overrides DbDataReaderGetEnumerator.)
Public methodGetFieldType
Gets the data type of the specified column.
(Overrides DbDataReaderGetFieldType(Int32).)
Public methodGetFieldValueT
Synchronously gets the value of the specified column as a type.
(Inherited from DbDataReader.)
Public methodGetFieldValueAsyncT(Int32)
Asynchronously gets the value of the specified column as a type.
(Inherited from DbDataReader.)
Public methodGetFieldValueAsyncT(Int32, CancellationToken)
Asynchronously gets the value of the specified column as a type.
(Inherited from DbDataReader.)
Public methodGetFloat
Gets the value of the specified column as a single-precision floating point number.
(Overrides DbDataReaderGetFloat(Int32).)
Public methodGetGuid
Gets the value of the specified column as a globally-unique identifier (GUID).
(Overrides DbDataReaderGetGuid(Int32).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt16
Gets the value of the specified column as a 16-bit signed integer.
(Overrides DbDataReaderGetInt16(Int32).)
Public methodGetInt32
Gets the value of the specified column as a 32-bit signed integer.
(Overrides DbDataReaderGetInt32(Int32).)
Public methodGetInt64
Gets the value of the specified column as a 64-bit signed integer.
(Overrides DbDataReaderGetInt64(Int32).)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetName
Gets the name of the column, given the zero-based column ordinal.
(Overrides DbDataReaderGetName(Int32).)
Public methodGetOrdinal
Gets the column ordinal given the name of the column.
(Overrides DbDataReaderGetOrdinal(String).)
Public methodGetProviderSpecificFieldType
Returns the provider-specific field type of the specified column.
(Inherited from DbDataReader.)
Public methodGetProviderSpecificValue
Gets the value of the specified column as an instance of Object.
(Inherited from DbDataReader.)
Public methodGetProviderSpecificValues
Gets all provider-specific attribute columns in the collection for the current row.
(Inherited from DbDataReader.)
Public methodGetSchemaTable (Overrides DbDataReaderGetSchemaTable.)
Public methodGetStream
Retrieves data as a Stream.
(Inherited from DbDataReader.)
Public methodGetString (Overrides DbDataReaderGetString(Int32).)
Public methodGetTextReader
Retrieves data as a TextReader.
(Inherited from DbDataReader.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Gets the value of the specified column as an instance of Object.
(Overrides DbDataReaderGetValue(Int32).)
Public methodGetValues
Populates an array of objects with the column values of the current row.
(Overrides DbDataReaderGetValues(Object).)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodIsDBNull
Gets a value that indicates whether the column contains nonexistent or missing values.
(Overrides DbDataReaderIsDBNull(Int32).)
Public methodIsDBNullAsync(Int32)
An asynchronous version of IsDBNull(Int32), which gets a value that indicates whether the column contains non-existent or missing values.
(Inherited from DbDataReader.)
Public methodIsDBNullAsync(Int32, CancellationToken)
An asynchronous version of IsDBNull(Int32), which gets a value that indicates whether the column contains non-existent or missing values. Optionally, sends a notification that operations should be cancelled.
(Inherited from DbDataReader.)
Public methodNextResult
Advances the reader to the next result when reading the results of a batch of statements.
(Overrides DbDataReaderNextResult.)
Public methodNextResultAsync
An asynchronous version of NextResult, which advances the reader to the next result when reading the results of a batch of statements.Invokes NextResultAsync(CancellationToken) with CancellationToken.None.
(Inherited from DbDataReader.)
Public methodNextResultAsync(CancellationToken)
This is the asynchronous version of NextResult. Providers should override with an appropriate implementation. The cancellationToken may optionally be ignored.The default implementation invokes the synchronous NextResult method and returns a completed task, blocking the calling thread. The default implementation will return a cancelled task if passed an already cancelled cancellationToken. Exceptions thrown by NextResult will be communicated via the returned Task Exception property.Other methods and properties of the DbDataReader object should not be invoked while the returned Task is not yet completed.
(Inherited from DbDataReader.)
Public methodRead
Advances the reader to the next record in a result set.
(Overrides DbDataReaderRead.)
Public methodReadAsync
An asynchronous version of Read, which advances the reader to the next record in a result set. This method invokes ReadAsync(CancellationToken) with CancellationToken.None.
(Inherited from DbDataReader.)
Public methodReadAsync(CancellationToken)
This is the asynchronous version of Read. Providers should override with an appropriate implementation. The cancellationToken may optionally be ignored.The default implementation invokes the synchronous Read method and returns a completed task, blocking the calling thread. The default implementation will return a cancelled task if passed an already cancelled cancellationToken. Exceptions thrown by Read will be communicated via the returned Task Exception property.Do not invoke other methods and properties of the DbDataReader object until the returned Task is complete.
(Inherited from DbDataReader.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDepth (Overrides DbDataReaderDepth.)
Public propertyFieldCount
Gets the number of columns in the current row.
(Overrides DbDataReaderFieldCount.)
Public propertyHasRows (Overrides DbDataReaderHasRows.)
Public propertyIsClosed (Overrides DbDataReaderIsClosed.)
Public propertyItemInt32 (Overrides DbDataReaderItemInt32.)
Public propertyItemString (Overrides DbDataReaderItemString.)
Public propertyRecordsAffected (Overrides DbDataReaderRecordsAffected.)
Public propertyVisibleFieldCount
Gets the number of fields in the DbDataReader that are not hidden.
(Inherited from DbDataReader.)
Top
See Also