Class: Avromatic::Model::Types::TimestampMicrosType

Inherits:
AbstractTimestampType show all
Defined in:
lib/avromatic/model/types/timestamp_micros_type.rb

Overview

This subclass is used to truncate timestamp values to microseconds.

Constant Summary

Constants inherited from AbstractTimestampType

AbstractTimestampType::INPUT_CLASSES, AbstractTimestampType::VALUE_CLASSES

Instance Method Summary collapse

Methods inherited from AbstractTimestampType

#coerce, #coerced?, #coercible?, #input_classes, #serialize, #value_classes

Methods inherited from AbstractType

#coerce, #coerced?, #coercible?, #input_classes, #serialize, #value_classes

Instance Method Details

#nameObject



12
13
14
# File 'lib/avromatic/model/types/timestamp_micros_type.rb', line 12

def name
  'timestamp-micros'
end

#referenced_model_classesObject



16
17
18
# File 'lib/avromatic/model/types/timestamp_micros_type.rb', line 16

def referenced_model_classes
  EMPTY_ARRAY
end