|
Kinetica C# API
Version 7.2.3.0
|
Public Member Functions | |
| object | CreateRecord (object reuse) |
| Creates a new record object. More... | |
| object | GetField (object record, string fieldName, int fieldPos) |
| Used by the default implementation of ReadRecord() to get the existing field of a record object. More... | |
| void | AddField (object record, string fieldName, int fieldPos, object fieldValue) |
| Used by the default implementation of ReadRecord() to add a field to a record object. More... | |
Definition at line 467 of file PreresolvingDatumReader.cs.
| void Avro.Generic.PreresolvingDatumReader< T >.RecordAccess.AddField | ( | object | record, |
| string | fieldName, | ||
| int | fieldPos, | ||
| object | fieldValue | ||
| ) |
Used by the default implementation of ReadRecord() to add a field to a record object.
The derived classes can override this to suit their own implementation of the record object.
| record | The record object to be probed into. This is guaranteed to be one that was returned by a previous call to CreateRecord. |
| fieldName | The name of the field to probe. |
| fieldPos | field number |
| fieldValue | The value to be added for the field |
| object Avro.Generic.PreresolvingDatumReader< T >.RecordAccess.CreateRecord | ( | object | reuse | ) |
Creates a new record object.
Derived classes can override this to return an object of their choice.
| reuse | If appropriate, will reuse this object instead of constructing a new one |
| object Avro.Generic.PreresolvingDatumReader< T >.RecordAccess.GetField | ( | object | record, |
| string | fieldName, | ||
| int | fieldPos | ||
| ) |
Used by the default implementation of ReadRecord() to get the existing field of a record object.
The derived classes can override this to make their own interpretation of the record object.
| record | The record object to be probed into. This is guaranteed to be one that was returned by a previous call to CreateRecord. |
| fieldName | The name of the field to probe. |
| fieldPos | field number |