Avro C#
|
Base for all logical type implementations that are based on the Unix Epoch date/time. More...
Public Member Functions | |
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. | |
Public Member Functions inherited from Avro.Util.LogicalType | |
virtual void | ValidateSchema (LogicalSchema schema) |
Applies logical type validation for a given logical schema. More... | |
abstract object | ConvertToBaseValue (object logicalValue, LogicalSchema schema) |
Converts a logical value to an instance of its base type. More... | |
abstract object | ConvertToLogicalValue (object baseValue, LogicalSchema schema) |
Converts a base value to an instance of the logical type. More... | |
Protected Member Functions | |
LogicalUnixEpochType (string name) | |
Initializes the base logical type. More... | |
Protected Member Functions inherited from Avro.Util.LogicalType | |
LogicalType (string name) | |
Initializes the base logical type. More... | |
Static Protected Attributes | |
static readonly DateTime | UnixEpochDateTime = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc) |
The date and time of the Unix Epoch. More... | |
Additional Inherited Members | |
Properties inherited from Avro.Util.LogicalType | |
string | Name [get] |
The logical type name. More... | |
Base for all logical type implementations that are based on the Unix Epoch date/time.
T | : | struct |
|
inlineprotected |
Initializes the base logical type.
name | The logical type name. |
|
staticprotected |
The date and time of the Unix Epoch.