Class: Bud::PushStatefulElement
- Inherits:
-
PushElement
- Object
- BudCollection
- PushElement
- Bud::PushStatefulElement
- Defined in:
- lib/bud/executor/elements.rb
Direct Known Subclasses
PushEachWithIndex, PushGroup, PushNotIn, PushPredicate, PushReduce, PushSHJoin, PushSort
Instance Attribute Summary
Attributes inherited from PushElement
#elem_name, #found_delta, #invalidated, #outputs, #pendings, #rescan, #wired_by
Attributes inherited from BudCollection
#accumulate_tick_deltas, #bud_instance, #cols, #invalidated, #is_source, #key_cols, #new_delta, #pending, #rescan, #scanner_cnt, #struct, #tabname, #wired_by
Instance Method Summary collapse
Methods inherited from PushElement
#*, #<<, #all?, #any?, #argagg, #argmax, #argmin, #check_wiring, #each_with_index, #flush, #group, #include?, #initialize, #insert, #inspected, #invalidate_cache, #invalidate_tables, #join, #member?, #merge, #none?, #notin, #on_include?, #one?, #print_wiring, #pro, #push_out, #push_predicate, #reduce, #rescan_at_tick, #set_block, #sort, #stratum_end, #tick, #tick_deltas, #wire_to, #wirings
Methods inherited from BudCollection
#*, #<<, #<=, #[], #argagg, #argmax, #argmin, #bootstrap, #canonicalize_col, #close, #do_insert, #each, #each_delta, #each_raw, #each_tick_delta, #each_with_index, #empty?, #exists?, #flat_map, #flush, #flush_deltas, #group, #has_key?, #include?, #init_schema, #initialize, #insert, #inspect, #inspected, #invalidate_at_tick, #keys, #length, #merge, #non_temporal_predecessors, #notin, #null_tuple, #pending_merge, #positive_predecessors, #prep_aggpairs, #pro, #qualified_tabname, #reduce, #register_coll_expr, #rename, #schema, #sort, #tick, #tick_deltas, #tick_metrics, #to_push_elem, #uniquify_tabname, #val_cols, #values
Methods included from Enumerable
Constructor Details
This class inherits a constructor from Bud::PushElement
Instance Method Details
#add_rescan_invalidate(rescan, invalidate) ⇒ Object
378 379 380 381 382 383 384 385 386 387 388 |
# File 'lib/bud/executor/elements.rb', line 378 def add_rescan_invalidate(rescan, invalidate) if non_temporal_predecessors.any? {|e| rescan.member? e} rescan << self invalidate << self end # Note that we do not need to pass rescan requests up to our source # elements, since a stateful element has enough local information to # reproduce its output. invalidate_tables(rescan, invalidate) end |