Avro C#
Public Member Functions | Static Public Attributes | List of all members
Avro.Util.Decimal Class Reference

The 'decimal' logical type. More...

Inheritance diagram for Avro.Util.Decimal:
Avro.Util.LogicalType

Public Member Functions

 Decimal ()
 Initializes a new Decimal logical type. More...
 
override void ValidateSchema (LogicalSchema schema)
 Applies logical type validation for a given logical schema.
 
override object ConvertToBaseValue (object logicalValue, LogicalSchema schema)
 Converts a logical value to an instance of its base type.

 
override object ConvertToLogicalValue (object baseValue, LogicalSchema schema)
 Converts a base value to an instance of the logical type.
 
override Type GetCSharpType (bool nullible)
 Retrieve the .NET type that is represented by the logical type implementation.
 
override bool IsInstanceOfLogicalType (object logicalValue)
 Determines if a given object is an instance of the logical type.
 

Static Public Attributes

static readonly string LogicalTypeName = "decimal"
 The logical type name for Decimal. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Avro.Util.LogicalType
 LogicalType (string name)
 Initializes the base logical type. More...
 
- Properties inherited from Avro.Util.LogicalType
string Name [get]
 The logical type name. More...
 

Detailed Description

The 'decimal' logical type.

Constructor & Destructor Documentation

◆ Decimal()

Avro.Util.Decimal.Decimal ( )
inline

Initializes a new Decimal logical type.

Member Data Documentation

◆ LogicalTypeName

readonly string Avro.Util.Decimal.LogicalTypeName = "decimal"
static

The logical type name for Decimal.


The documentation for this class was generated from the following file: