Avro C#
Loading...
Searching...
No Matches
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.
 
override void ValidateSchema (LogicalSchema schema)
 Applies logical type validation for a given logical schema.
Parameters
schemaThe schema to be validated.

 
override object ConvertToBaseValue (object logicalValue, LogicalSchema schema)
 

 
override object ConvertToLogicalValue (object baseValue, LogicalSchema schema)
 
override Type GetCSharpType (bool nullible)
 
override bool IsInstanceOfLogicalType (object logicalValue)
 
- Public Member Functions inherited from Avro.Util.LogicalType
object ConvertToBaseValue (object logicalValue, LogicalSchema schema)
 Converts a logical value to an instance of its base type.
 
object ConvertToLogicalValue (object baseValue, LogicalSchema schema)
 Converts a base value to an instance of the logical type.
 
Type GetCSharpType (bool nullible)
 Retrieve the .NET type that is represented by the logical type implementation.
 
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.
 

Additional Inherited Members

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

Detailed Description

The 'decimal' logical type.

Member Function Documentation

◆ ValidateSchema()

override void Avro.Util.Decimal.ValidateSchema ( LogicalSchema  schema)
inlinevirtual

Applies logical type validation for a given logical schema.

Parameters
schemaThe schema to be validated.

Reimplemented from Avro.Util.LogicalType.


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