class Kaltura::KalturaIndexJobData
Attributes
filter[RW]
The filter should return the list of objects that need to be reindexed.
last_index_depth[RW]
Indicates the last depth that reindexed, used when the batch crached, to re-run from the last crash point.
last_index_id[RW]
Indicates the last id that reindexed, used when the batch crached, to re-run from the last crash point.
should_update[RW]
Indicates that the object columns and attributes values should be recalculated before reindexed.
Public Instance Methods
from_xml(xml_element)
click to toggle source
Calls superclass method
Kaltura::KalturaJobData#from_xml
# File lib/kaltura_types.rb, line 13831 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
last_index_depth=(val)
click to toggle source
# File lib/kaltura_types.rb, line 13824 def last_index_depth=(val) @last_index_depth = val.to_i end
last_index_id=(val)
click to toggle source
# File lib/kaltura_types.rb, line 13821 def last_index_id=(val) @last_index_id = val.to_i end
should_update=(val)
click to toggle source
# File lib/kaltura_types.rb, line 13827 def should_update=(val) @should_update = to_b(val) end