Class UnknownLogicalType. Implements the Avro.Util.LogicalType
More...
◆ UnknownLogicalType()
| Avro.Util.UnknownLogicalType.UnknownLogicalType |
( |
LogicalSchema |
schema | ) |
|
|
inline |
◆ ConvertToBaseValue()
| override object Avro.Util.UnknownLogicalType.ConvertToBaseValue |
( |
object |
logicalValue, |
|
|
LogicalSchema |
schema |
|
) |
| |
|
inlinevirtual |
Converts a logical value to an instance of its base type.
- Parameters
-
| logicalValue | The logical value to convert. |
| schema | The 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
-
| baseValue | The base value to convert. |
| schema | The 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
-
| nullible | A 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
-
| logicalValue | The logical value to test. |
- Returns
true if [is instance of logical type] [the specified logical value]; otherwise, false.
Implements Avro.Util.LogicalType.
◆ Schema
Gets the schema.
The schema.
The documentation for this class was generated from the following file:
- src/apache/main/Util/UnknownLogicalType.cs