BuildExpression method

Builds a BinaryDeserializer<> for a DurationLogicalType.
Signature
public virtual Chr.Avro.Serialization.BinaryDeserializerBuilderCaseResult BuildExpression (Type type, Chr.Avro.Abstract.Schema schema, Chr.Avro.Serialization.BinaryDeserializerBuilderContext context);
BaseBuildExpression(Type, Schema, )

Parameters

Type type
To be added.
Schema schema
To be added.
BinaryDeserializerBuilderContext context
To be added.

Return type

BinaryDeserializerBuilderCaseResult
A successful BinaryDeserializerBuilderCaseResult if has a DurationLogicalType; an unsuccessful BinaryDeserializerBuilderCaseResult otherwise.

Exceptions

UnsupportedSchemaException
Thrown when is not a FixedSchema with size 12.
UnsupportedTypeException
Thrown when TimeSpan cannot be converted to .
Chr.Avro