Class: Axiom::Attribute::DateTime

Inherits:
Object show all
Includes:
ValueComparable
Defined in:
lib/axiom/attribute/date_time.rb

Overview

Represents a DateTime value in a relation tuple

Constant Summary

Constants inherited from Axiom::Attribute

FalseClass, TrueClass

Instance Attribute Summary

Attributes inherited from Axiom::Attribute

#name, #type

Class Method Summary collapse

Methods included from ValueComparable

#initialize

Methods included from Comparable

#asc, #desc, #range

Methods included from Function::Predicate::GreaterThan::Methods

#gt

Methods included from Function::Predicate::GreaterThanOrEqualTo::Methods

#gte

Methods included from Function::Predicate::LessThan::Methods

#lt

Methods included from Function::Predicate::LessThanOrEqualTo::Methods

#lte

Methods included from Axiom::Aggregate::Minimum::Methods

#minimum

Methods included from Axiom::Aliasable

#inheritable_alias

Methods included from Axiom::Aggregate::Maximum::Methods

#maximum

Methods included from Axiom::Aggregate::Mean::Methods

#mean

Methods included from Axiom::Aggregate::Variance::Methods

#variance

Methods included from Axiom::Aggregate::StandardDeviation::Methods

#standard_deviation

Methods included from Function::Predicate::Equality::Methods

#eq

Methods included from Function::Predicate::Exclusion::Methods

#exclude

Methods included from Function::Predicate::Inequality::Methods

#ne

Methods included from Function::Predicate::Inclusion::Methods

#include

Methods included from Axiom::Aggregate::Count::Methods

#count

Methods inherited from Axiom::Attribute

#call, coerce, #include?, infer_type, #initialize, name_from, #optional?, #rename, #required?

Methods included from Visitable

#accept

Class Method Details

.typeClass<Types::DateTime>

The attribute type

Examples:

type = Axiom::Attribute::DateTime.type  # => Axiom::Types::DateTime

Returns:

  • (Class<Types::DateTime>)


18
19
20
# File 'lib/axiom/attribute/date_time.rb', line 18

def self.type
  Types::DateTime
end