Class: HadoopDsl::LogAnalysis::LogAnalysisMapperModel::Column
- Inherits:
-
Object
- Object
- HadoopDsl::LogAnalysis::LogAnalysisMapperModel::Column
- Defined in:
- lib/log_analysis.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(index, value = nil) ⇒ Column
constructor
A new instance of Column.
Constructor Details
#initialize(index, value = nil) ⇒ Column
Returns a new instance of Column.
164 165 166 |
# File 'lib/log_analysis.rb', line 164 def initialize(index, value = nil) @index, @value = index, value end |
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
161 162 163 |
# File 'lib/log_analysis.rb', line 161 def index @index end |
#name ⇒ Object
Returns the value of attribute name.
162 163 164 |
# File 'lib/log_analysis.rb', line 162 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
162 163 164 |
# File 'lib/log_analysis.rb', line 162 def value @value end |