Class: OdpsDatahub::OdpsTableColumn

Inherits:
Object
  • Object
show all
Defined in:
lib/fluent/plugin/odps/odps_table_schema.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, type, idx) ⇒ OdpsTableColumn

Returns a new instance of OdpsTableColumn.



28
29
30
31
32
# File 'lib/fluent/plugin/odps/odps_table_schema.rb', line 28

def initialize(name, type, idx)
  @mName = name
  @mType = type
  @mIdx = idx
end

Instance Attribute Details

#mIdxObject (readonly)

Returns the value of attribute mIdx.



27
28
29
# File 'lib/fluent/plugin/odps/odps_table_schema.rb', line 27

def mIdx
  @mIdx
end

#mNameObject (readonly)

Returns the value of attribute mName.



27
28
29
# File 'lib/fluent/plugin/odps/odps_table_schema.rb', line 27

def mName
  @mName
end

#mTypeObject (readonly)

Returns the value of attribute mType.



27
28
29
# File 'lib/fluent/plugin/odps/odps_table_schema.rb', line 27

def mType
  @mType
end