blob: 60572df50190a1bb798d001638cbed7dc390f062 [file] [log] [blame]
<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="./">
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>apache_beam.testing.benchmarks.nexmark.models.nexmark_model module &mdash; Apache Beam 2.68.0 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=2388e03a"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="apache_beam.testing.benchmarks.nexmark.queries package" href="apache_beam.testing.benchmarks.nexmark.queries.html" />
<link rel="prev" title="apache_beam.testing.benchmarks.nexmark.models.field_name module" href="apache_beam.testing.benchmarks.nexmark.models.field_name.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home">
Apache Beam
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="apache_beam.coders.html">apache_beam.coders package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.dataframe.html">apache_beam.dataframe package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.io.html">apache_beam.io package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.metrics.html">apache_beam.metrics package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.ml.html">apache_beam.ml package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.options.html">apache_beam.options package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.portability.html">apache_beam.portability package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.runners.html">apache_beam.runners package</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="apache_beam.testing.html">apache_beam.testing package</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="apache_beam.testing.html#subpackages">Subpackages</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="apache_beam.testing.benchmarks.html">apache_beam.testing.benchmarks package</a><ul class="current">
<li class="toctree-l4 current"><a class="reference internal" href="apache_beam.testing.benchmarks.html#subpackages">Subpackages</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.testing.load_tests.html">apache_beam.testing.load_tests package</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="apache_beam.testing.html#submodules">Submodules</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.transforms.html">apache_beam.transforms package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.typehints.html">apache_beam.typehints package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.utils.html">apache_beam.utils package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.yaml.html">apache_beam.yaml package</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.error.html">apache_beam.error module</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.pipeline.html">apache_beam.pipeline module</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.pvalue.html">apache_beam.pvalue module</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">Apache Beam</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="apache_beam.testing.html">apache_beam.testing package</a></li>
<li class="breadcrumb-item"><a href="apache_beam.testing.benchmarks.html">apache_beam.testing.benchmarks package</a></li>
<li class="breadcrumb-item"><a href="apache_beam.testing.benchmarks.nexmark.html">apache_beam.testing.benchmarks.nexmark package</a></li>
<li class="breadcrumb-item"><a href="apache_beam.testing.benchmarks.nexmark.models.html">apache_beam.testing.benchmarks.nexmark.models package</a></li>
<li class="breadcrumb-item active">apache_beam.testing.benchmarks.nexmark.models.nexmark_model module</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/apache_beam.testing.benchmarks.nexmark.models.nexmark_model.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="module-apache_beam.testing.benchmarks.nexmark.models.nexmark_model">
<span id="apache-beam-testing-benchmarks-nexmark-models-nexmark-model-module"></span><h1>apache_beam.testing.benchmarks.nexmark.models.nexmark_model module<a class="headerlink" href="#module-apache_beam.testing.benchmarks.nexmark.models.nexmark_model" title="Link to this heading"></a></h1>
<p>Nexmark model.</p>
<p>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:</p>
<blockquote>
<div><ul class="simple">
<li><p>The person who starts and auction or makes a bid (Person).</p></li>
<li><p>The auction item (Auction).</p></li>
<li><p>The bid on an item for auction (Bid).</p></li>
</ul>
</div></blockquote>
<dl class="py class">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoder">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">apache_beam.testing.benchmarks.nexmark.models.nexmark_model.</span></span><span class="sig-name descname"><span class="pre">PersonCoder</span></span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#PersonCoder"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoder" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">FastCoder</span></code></p>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoder.to_type_hint">
<span class="sig-name descname"><span class="pre">to_type_hint</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#PersonCoder.to_type_hint"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoder.to_type_hint" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoder.is_deterministic">
<span class="sig-name descname"><span class="pre">is_deterministic</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#PersonCoder.is_deterministic"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoder.is_deterministic" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Person">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">apache_beam.testing.benchmarks.nexmark.models.nexmark_model.</span></span><span class="sig-name descname"><span class="pre">Person</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">email</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">credit_card</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">city</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">state</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">date_time</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">extra</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#Person"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Person" title="Link to this definition"></a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></a></p>
<p>Author of an auction or a bid.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Person.CODER">
<span class="sig-name descname"><span class="pre">CODER</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">PersonCoder</span></em><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Person.CODER" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoder">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">apache_beam.testing.benchmarks.nexmark.models.nexmark_model.</span></span><span class="sig-name descname"><span class="pre">AuctionCoder</span></span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#AuctionCoder"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoder" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">FastCoder</span></code></p>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoder.to_type_hint">
<span class="sig-name descname"><span class="pre">to_type_hint</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#AuctionCoder.to_type_hint"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoder.to_type_hint" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoder.is_deterministic">
<span class="sig-name descname"><span class="pre">is_deterministic</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#AuctionCoder.is_deterministic"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoder.is_deterministic" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Auction">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">apache_beam.testing.benchmarks.nexmark.models.nexmark_model.</span></span><span class="sig-name descname"><span class="pre">Auction</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">item_name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">description</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">initial_bid</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">reserve_price</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">date_time</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">expires</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seller</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">category</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">extra</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#Auction"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Auction" title="Link to this definition"></a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></a></p>
<p>Item for auction.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Auction.CODER">
<span class="sig-name descname"><span class="pre">CODER</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">AuctionCoder</span></em><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Auction.CODER" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoder">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">apache_beam.testing.benchmarks.nexmark.models.nexmark_model.</span></span><span class="sig-name descname"><span class="pre">BidCoder</span></span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#BidCoder"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoder" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">FastCoder</span></code></p>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoder.to_type_hint">
<span class="sig-name descname"><span class="pre">to_type_hint</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#BidCoder.to_type_hint"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoder.to_type_hint" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoder.is_deterministic">
<span class="sig-name descname"><span class="pre">is_deterministic</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#BidCoder.is_deterministic"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoder.is_deterministic" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Bid">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">apache_beam.testing.benchmarks.nexmark.models.nexmark_model.</span></span><span class="sig-name descname"><span class="pre">Bid</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">auction</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">bidder</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">price</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">date_time</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">extra</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#Bid"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Bid" title="Link to this definition"></a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></a></p>
<p>A bid for an item for auction.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Bid.CODER">
<span class="sig-name descname"><span class="pre">CODER</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">BidCoder</span></em><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.Bid.CODER" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoderImpl">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">apache_beam.testing.benchmarks.nexmark.models.nexmark_model.</span></span><span class="sig-name descname"><span class="pre">AuctionCoderImpl</span></span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#AuctionCoderImpl"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoderImpl" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">StreamCoderImpl</span></code></p>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoderImpl.encode_to_stream">
<span class="sig-name descname"><span class="pre">encode_to_stream</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">stream</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nested</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#AuctionCoderImpl.encode_to_stream"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoderImpl.encode_to_stream" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoderImpl.decode_from_stream">
<span class="sig-name descname"><span class="pre">decode_from_stream</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">stream</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nested</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#AuctionCoderImpl.decode_from_stream"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.AuctionCoderImpl.decode_from_stream" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoderImpl">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">apache_beam.testing.benchmarks.nexmark.models.nexmark_model.</span></span><span class="sig-name descname"><span class="pre">BidCoderImpl</span></span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#BidCoderImpl"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoderImpl" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">StreamCoderImpl</span></code></p>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoderImpl.encode_to_stream">
<span class="sig-name descname"><span class="pre">encode_to_stream</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">stream</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nested</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#BidCoderImpl.encode_to_stream"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoderImpl.encode_to_stream" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoderImpl.decode_from_stream">
<span class="sig-name descname"><span class="pre">decode_from_stream</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">stream</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nested</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#BidCoderImpl.decode_from_stream"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.BidCoderImpl.decode_from_stream" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoderImpl">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">apache_beam.testing.benchmarks.nexmark.models.nexmark_model.</span></span><span class="sig-name descname"><span class="pre">PersonCoderImpl</span></span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#PersonCoderImpl"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoderImpl" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">StreamCoderImpl</span></code></p>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoderImpl.encode_to_stream">
<span class="sig-name descname"><span class="pre">encode_to_stream</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">stream</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nested</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#PersonCoderImpl.encode_to_stream"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoderImpl.encode_to_stream" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoderImpl.decode_from_stream">
<span class="sig-name descname"><span class="pre">decode_from_stream</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">stream</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nested</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/apache_beam/testing/benchmarks/nexmark/models/nexmark_model.html#PersonCoderImpl.decode_from_stream"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#apache_beam.testing.benchmarks.nexmark.models.nexmark_model.PersonCoderImpl.decode_from_stream" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="apache_beam.testing.benchmarks.nexmark.models.field_name.html" class="btn btn-neutral float-left" title="apache_beam.testing.benchmarks.nexmark.models.field_name module" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="apache_beam.testing.benchmarks.nexmark.queries.html" class="btn btn-neutral float-right" title="apache_beam.testing.benchmarks.nexmark.queries package" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>&#169; Copyright %Y, Apache Beam.</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>