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_depth ⇒ Object
Indicates the last depth that reindexed, used when the batch crached, to re-run from the last crash point.
-
#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.
14022 14023 14024 |
# File 'lib/kaltura_types.rb', line 14022 def filter @filter end |
#last_index_depth ⇒ Object
Indicates the last depth that reindexed, used when the batch crached, to re-run from the last crash point.
14026 14027 14028 |
# File 'lib/kaltura_types.rb', line 14026 def last_index_depth @last_index_depth end |
#last_index_id ⇒ Object
Indicates the last id that reindexed, used when the batch crached, to re-run from the last crash point.
14024 14025 14026 |
# File 'lib/kaltura_types.rb', line 14024 def last_index_id @last_index_id end |
#should_update ⇒ Object
Indicates that the object columns and attributes values should be recalculated before reindexed.
14028 14029 14030 |
# File 'lib/kaltura_types.rb', line 14028 def should_update @should_update end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 |
# File 'lib/kaltura_types.rb', line 14040 def from_xml(xml_element) super if xml_element.elements['filter'] != nil self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaFilter') end if xml_element.elements['lastIndexId'] != nil self.last_index_id = xml_element.elements['lastIndexId'].text end if xml_element.elements['lastIndexDepth'] != nil self.last_index_depth = xml_element.elements['lastIndexDepth'].text end if xml_element.elements['shouldUpdate'] != nil self.should_update = xml_element.elements['shouldUpdate'].text end end |