Class: Rafflesia::FoldSearchProfile

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/proteins/fold_search_profile.rb

Constant Summary collapse

HASH_ATTRS =
{
  materialize_index_ms: :materialize_index_ms,
  resolve_index_ms: :resolve_index_ms,
  resolve_query_ms: :resolve_query_ms,
  search_ms: :search_ms,
  store_output_ms: :store_output_ms,
  total_ms: :total_ms
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ FoldSearchProfile

Returns a new instance of FoldSearchProfile.



25
26
27
28
29
30
31
32
33
34
# File 'lib/rafflesia/proteins/fold_search_profile.rb', line 25

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @materialize_index_ms = hash[:materialize_index_ms]
  @resolve_index_ms = hash[:resolve_index_ms]
  @resolve_query_ms = hash[:resolve_query_ms]
  @search_ms = hash[:search_ms]
  @store_output_ms = hash[:store_output_ms]
  @total_ms = hash[:total_ms]
end

Instance Attribute Details

#materialize_index_msObject

Returns the value of attribute materialize_index_ms.



17
18
19
# File 'lib/rafflesia/proteins/fold_search_profile.rb', line 17

def materialize_index_ms
  @materialize_index_ms
end

#resolve_index_msObject

Returns the value of attribute resolve_index_ms.



17
18
19
# File 'lib/rafflesia/proteins/fold_search_profile.rb', line 17

def resolve_index_ms
  @resolve_index_ms
end

#resolve_query_msObject

Returns the value of attribute resolve_query_ms.



17
18
19
# File 'lib/rafflesia/proteins/fold_search_profile.rb', line 17

def resolve_query_ms
  @resolve_query_ms
end

#search_msObject

Returns the value of attribute search_ms.



17
18
19
# File 'lib/rafflesia/proteins/fold_search_profile.rb', line 17

def search_ms
  @search_ms
end

#store_output_msObject

Returns the value of attribute store_output_ms.



17
18
19
# File 'lib/rafflesia/proteins/fold_search_profile.rb', line 17

def store_output_ms
  @store_output_ms
end

#total_msObject

Returns the value of attribute total_ms.



17
18
19
# File 'lib/rafflesia/proteins/fold_search_profile.rb', line 17

def total_ms
  @total_ms
end