apache_beam.testing.benchmarks.nexmark.models.nexmark_model module¶
Nexmark model.
The nexmark suite is a series of queries (streaming pipelines) performed on a simulation of auction events. The model includes the three roles that generate events:
- The person who starts and auction or makes a bid (Person).
 - The auction item (Auction).
 - The bid on an item for auction (Bid).
 
- 
class 
apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoder[source]¶ Bases:
apache_beam.coders.coders.FastCoder
- 
class 
apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Person(id, name, email, credit_card, city, state, date_time, extra=None)[source]¶ Bases:
objectAuthor of an auction or a bid.
- 
CODER= PersonCoder¶ 
- 
 
- 
class 
apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoder[source]¶ Bases:
apache_beam.coders.coders.FastCoder
- 
class 
apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Auction(id, item_name, description, initial_bid, reserve_price, date_time, expires, seller, category, extra=None)[source]¶ Bases:
objectItem for auction.
- 
CODER= AuctionCoder¶ 
- 
 
- 
class 
apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoder[source]¶ Bases:
apache_beam.coders.coders.FastCoder
- 
class 
apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Bid(auction, bidder, price, date_time, extra=None)[source]¶ Bases:
objectA bid for an item for auction.
- 
CODER= BidCoder¶ 
- 
 
- 
class 
apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoderImpl[source]¶ Bases:
apache_beam.coders.coder_impl.StreamCoderImpl