Class: Kaltura::KalturaIndexJobData
- Inherits:
-
KalturaJobData
- Object
- KalturaObjectBase
- KalturaJobData
- Kaltura::KalturaIndexJobData
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#filter ⇒ Object
The filter should return the list of objects that need to be reindexed.
-
#last_index_id ⇒ Object
Indicates the last id that reindexed, used when the batch crached, to re-run from the last crash point.
-
#should_update ⇒ Object
Indicates that the object columns and attributes values should be recalculated before reindexed.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#filter ⇒ Object
The filter should return the list of objects that need to be reindexed.
9064 9065 9066 |
# File 'lib/kaltura_types.rb', line 9064 def filter @filter end |
#last_index_id ⇒ Object
Indicates the last id that reindexed, used when the batch crached, to re-run from the last crash point.
9067 9068 9069 |
# File 'lib/kaltura_types.rb', line 9067 def last_index_id @last_index_id end |
#should_update ⇒ Object
Indicates that the object columns and attributes values should be recalculated before reindexed.
9070 9071 9072 |
# File 'lib/kaltura_types.rb', line 9070 def should_update @should_update end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
9079 9080 9081 9082 9083 9084 |
# File 'lib/kaltura_types.rb', line 9079 def from_xml(xml_element) super self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaFilter') self.last_index_id = xml_element.elements['lastIndexId'].text self.should_update = xml_element.elements['shouldUpdate'].text end |