Class: InfluxDB2::FluxColumn
- Inherits:
-
Object
- Object
- InfluxDB2::FluxColumn
- Defined in:
- lib/influxdb2/client/flux_table.rb
Overview
This class represents a column header specification of FluxTable.
Instance Attribute Summary collapse
-
#data_type ⇒ Object
Returns the value of attribute data_type.
-
#default_value ⇒ Object
Returns the value of attribute default_value.
-
#group ⇒ Object
Returns the value of attribute group.
-
#index ⇒ Object
Returns the value of attribute index.
-
#label ⇒ Object
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(index: nil, label: nil, data_type: nil, group: nil, default_value: nil) ⇒ FluxColumn
constructor
A new instance of FluxColumn.
Constructor Details
#initialize(index: nil, label: nil, data_type: nil, group: nil, default_value: nil) ⇒ FluxColumn
Returns a new instance of FluxColumn.
93 94 95 96 97 98 99 |
# File 'lib/influxdb2/client/flux_table.rb', line 93 def initialize(index: nil, label: nil, data_type: nil, group: nil, default_value: nil) @index = index @label = label @data_type = data_type @group = group @default_value = default_value end |
Instance Attribute Details
#data_type ⇒ Object
Returns the value of attribute data_type.
101 102 103 |
# File 'lib/influxdb2/client/flux_table.rb', line 101 def data_type @data_type end |
#default_value ⇒ Object
Returns the value of attribute default_value.
101 102 103 |
# File 'lib/influxdb2/client/flux_table.rb', line 101 def default_value @default_value end |
#group ⇒ Object
Returns the value of attribute group.
101 102 103 |
# File 'lib/influxdb2/client/flux_table.rb', line 101 def group @group end |
#index ⇒ Object
Returns the value of attribute index.
101 102 103 |
# File 'lib/influxdb2/client/flux_table.rb', line 101 def index @index end |
#label ⇒ Object
Returns the value of attribute label.
101 102 103 |
# File 'lib/influxdb2/client/flux_table.rb', line 101 def label @label end |