Avro C#
Public Member Functions | Properties | List of all members
Avro.Util.UnknownLogicalType Class Reference

Class UnknownLogicalType. Implements the Avro.Util.LogicalType More...

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

Public Member Functions

 UnknownLogicalType (LogicalSchema schema)
 Initializes a new instance of the UnknownLogicalType class. More...
 
override object ConvertToBaseValue (object logicalValue, LogicalSchema schema)
 Converts a logical value to an instance of its base type. More...
 
override object ConvertToLogicalValue (object baseValue, LogicalSchema schema)
 Converts a base value to an instance of the logical type. More...
 
override Type GetCSharpType (bool nullible)
 Retrieve the .NET type that is represented by the logical type implementation. More...
 
override bool IsInstanceOfLogicalType (object logicalValue)
 Determines if a given object is an instance of the logical type. More...
 
- Public Member Functions inherited from Avro.Util.LogicalType
virtual void ValidateSchema (LogicalSchema schema)
 Applies logical type validation for a given logical schema. More...
 

Properties

LogicalSchema Schema [get]
 Gets the schema. More...
 
- Properties inherited from Avro.Util.LogicalType
string Name [get]
 The logical type name. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Avro.Util.LogicalType
 LogicalType (string name)
 Initializes the base logical type. More...
 

Detailed Description

Class UnknownLogicalType. Implements the Avro.Util.LogicalType

See also
Avro.Util.LogicalType

Constructor & Destructor Documentation

◆ UnknownLogicalType()

Avro.Util.UnknownLogicalType.UnknownLogicalType ( LogicalSchema  schema)
inline

Initializes a new instance of the UnknownLogicalType class.

Parameters
schemaThe schema.

Member Function Documentation

◆ ConvertToBaseValue()

override object Avro.Util.UnknownLogicalType.ConvertToBaseValue ( object  logicalValue,
LogicalSchema  schema 
)
inlinevirtual

Converts a logical value to an instance of its base type.

Parameters
logicalValueThe logical value to convert.
schemaThe schema that represents the target of the conversion.
Returns
An object representing the encoded value of the base type.

Implements Avro.Util.LogicalType.

◆ ConvertToLogicalValue()

override object Avro.Util.UnknownLogicalType.ConvertToLogicalValue ( object  baseValue,
LogicalSchema  schema 
)
inlinevirtual

Converts a base value to an instance of the logical type.

Parameters
baseValueThe base value to convert.
schemaThe schema that represents the target of the conversion.
Returns
An object representing the encoded value of the logical type.

Implements Avro.Util.LogicalType.

◆ GetCSharpType()

override Type Avro.Util.UnknownLogicalType.GetCSharpType ( bool  nullible)
inlinevirtual

Retrieve the .NET type that is represented by the logical type implementation.

Parameters
nullibleA flag indicating whether it should be nullible.
Returns
Type.

Implements Avro.Util.LogicalType.

◆ IsInstanceOfLogicalType()

override bool Avro.Util.UnknownLogicalType.IsInstanceOfLogicalType ( object  logicalValue)
inlinevirtual

Determines if a given object is an instance of the logical type.

Parameters
logicalValueThe logical value to test.
Returns
true if [is instance of logical type] [the specified logical value]; otherwise, false.

Implements Avro.Util.LogicalType.

Property Documentation

◆ Schema

LogicalSchema Avro.Util.UnknownLogicalType.Schema
get

Gets the schema.

The schema.


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