confluent-ksqldb-dotnet
Show / Hide Table of Contents

Interface IRow

Namespace: Confluent.KsqlDb
Assembly: cs.temp.dll.dll
Syntax
public interface IRow

Properties

IsTombstone

Returns if the given row represents a tombstone.

Declaration
bool IsTombstone { get; }
Property Value
Type Description
System.Boolean

True if the row is a tombstone, false otherwise

Values

Returns the values for the given row as an array.

Declaration
KsqlDbArray Values { get; }
Property Value
Type Description
KsqlDbArray

An array representing the values of the row

Methods

GetBoolean(Int32)

Gets the column value as a boolean, possibly converting if necessary.

Declaration
bool GetBoolean(int columnIndex)
Parameters
Type Name Description
System.Int32 columnIndex

The column number

Returns
Type Description
System.Boolean

The boolean value of the given column number

GetDecimal(Int32)

Gets the column value as a decimal, possibly converting if necessary. This is appropriate for ksqlDB Decimal types, though it should be noted that precision and scale may be lost as this type is parsed as a C# native decimal which does not have arbitrary precision and scale.

Declaration
decimal GetDecimal(int columnIndex)
Parameters
Type Name Description
System.Int32 columnIndex

The column number

Returns
Type Description
System.Decimal

The decimal value of the given column number

GetDouble(Int32)

Gets the column value as a double, possibly converting if necessary.

Declaration
double GetDouble(int columnIndex)
Parameters
Type Name Description
System.Int32 columnIndex

The column number

Returns
Type Description
System.Double

The double value of the given column number

GetInteger(Int32)

Gets the column value as an integer, possibly converting if necessary.

Declaration
int GetInteger(int columnIndex)
Parameters
Type Name Description
System.Int32 columnIndex

The column number

Returns
Type Description
System.Int32

The integer value of the given column number

GetKsqlDbArray(Int32)

Gets the column value as an array. This is appropriate for ksqlDB List types.

Declaration
KsqlDbArray GetKsqlDbArray(int columnIndex)
Parameters
Type Name Description
System.Int32 columnIndex

The column number

Returns
Type Description
KsqlDbArray

The boolean value of the given column number

GetKsqlDbObject(Int32)

Gets the column value as an object. This is appropriate for ksqlDB Map and Struct types.

Declaration
KsqlDbObject GetKsqlDbObject(int columnIndex)
Parameters
Type Name Description
System.Int32 columnIndex

The column number

Returns
Type Description
KsqlDbObject

The boolean value of the given column number

GetLong(Int32)

Gets the column value as a long, possibly converting if necessary.

Declaration
long GetLong(int columnIndex)
Parameters
Type Name Description
System.Int32 columnIndex

The column number

Returns
Type Description
System.Int64

The long value of the given column number

GetString(Int32)

Gets the column value as a string, possibly converting if necessary.

Declaration
string GetString(int columnIndex)
Parameters
Type Name Description
System.Int32 columnIndex

The column number

Returns
Type Description
System.String

The string value of the given column number

GetValue(Int32)

Gets the column value in its native type, without any attempt at conversion.

Declaration
object GetValue(int columnIndex)
Parameters
Type Name Description
System.Int32 columnIndex

The column number

Returns
Type Description
System.Object

The value of the given column number

IsNull(Int32)

Declaration
bool IsNull(int columnIndex)
Parameters
Type Name Description
System.Int32 columnIndex
Returns
Type Description
System.Boolean
In This Article