Skip to content

Commit

Permalink
Incremental documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoszewnik committed May 24, 2017
1 parent 55c036e commit 0b0f524
Showing 31 changed files with 538 additions and 456 deletions.
10 changes: 5 additions & 5 deletions acknowledgements/index.html
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@

<li>
<li class="toctree-l1 ">
<a class="" href="../data-modeling/">Data Modeling</a>
<a class="" href="../producer-consumer/">Producers and Consumers</a>

</li>
<li>
@@ -90,28 +90,28 @@

<li>
<li class="toctree-l1 ">
<a class="" href="../diving-deeper/">Diving Deeper</a>
<a class="" href="../data-modeling/">Data Modeling</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../interacting-with-a-dataset/">Interacting with a Hollow Dataset</a>
<a class="" href="../diving-deeper/">Diving Deeper</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../data-ingestion/">Data Ingestion</a>
<a class="" href="../interacting-with-a-dataset/">Interacting with a Hollow Dataset</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../producer-consumer/">Producers and Consumers</a>
<a class="" href="../data-ingestion/">Data Ingestion</a>

</li>
<li>
14 changes: 7 additions & 7 deletions advanced-topics/index.html
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@

<li>
<li class="toctree-l1 ">
<a class="" href="../data-modeling/">Data Modeling</a>
<a class="" href="../producer-consumer/">Producers and Consumers</a>

</li>
<li>
@@ -90,28 +90,28 @@

<li>
<li class="toctree-l1 ">
<a class="" href="../diving-deeper/">Diving Deeper</a>
<a class="" href="../data-modeling/">Data Modeling</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../interacting-with-a-dataset/">Interacting with a Hollow Dataset</a>
<a class="" href="../diving-deeper/">Diving Deeper</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../data-ingestion/">Data Ingestion</a>
<a class="" href="../interacting-with-a-dataset/">Interacting with a Hollow Dataset</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../producer-consumer/">Producers and Consumers</a>
<a class="" href="../data-ingestion/">Data Ingestion</a>

</li>
<li>
@@ -508,7 +508,7 @@ <h3 id="hash-index-layout">Hash Index Layout</h3>
<a href="../glossary/" class="btn btn-neutral float-right" title="Glossary">Next <span class="icon icon-circle-arrow-right"></span></a>


<a href="../producer-consumer/" class="btn btn-neutral" title="Producers and Consumers"><span class="icon icon-circle-arrow-left"></span> Previous</a>
<a href="../data-ingestion/" class="btn btn-neutral" title="Data Ingestion"><span class="icon icon-circle-arrow-left"></span> Previous</a>

</div>

@@ -535,7 +535,7 @@ <h3 id="hash-index-layout">Hash Index Layout</h3>
<a href="https://github.com/Netflix/hollow" class="icon icon-github" style="float: left; color: #fcfcfc"> GitHub</a>


<span><a href="../producer-consumer/" style="color: #fcfcfc;">&laquo; Previous</a></span>
<span><a href="../data-ingestion/" style="color: #fcfcfc;">&laquo; Previous</a></span>


<span style="margin-left: 15px"><a href="../glossary/" style="color: #fcfcfc">Next &raquo;</a></span>
10 changes: 5 additions & 5 deletions community/index.html
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@

<li>
<li class="toctree-l1 ">
<a class="" href="../data-modeling/">Data Modeling</a>
<a class="" href="../producer-consumer/">Producers and Consumers</a>

</li>
<li>
@@ -90,28 +90,28 @@

<li>
<li class="toctree-l1 ">
<a class="" href="../diving-deeper/">Diving Deeper</a>
<a class="" href="../data-modeling/">Data Modeling</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../interacting-with-a-dataset/">Interacting with a Hollow Dataset</a>
<a class="" href="../diving-deeper/">Diving Deeper</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../data-ingestion/">Data Ingestion</a>
<a class="" href="../interacting-with-a-dataset/">Interacting with a Hollow Dataset</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../producer-consumer/">Producers and Consumers</a>
<a class="" href="../data-ingestion/">Data Ingestion</a>

</li>
<li>
20 changes: 10 additions & 10 deletions data-ingestion/index.html
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@

<li>
<li class="toctree-l1 ">
<a class="" href="../data-modeling/">Data Modeling</a>
<a class="" href="../producer-consumer/">Producers and Consumers</a>

</li>
<li>
@@ -85,6 +85,13 @@
<li class="toctree-l1 ">
<a class="" href="../tooling/">Tooling</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../data-modeling/">Data Modeling</a>

</li>
<li>

@@ -125,13 +132,6 @@

</ul>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../producer-consumer/">Producers and Consumers</a>

</li>
<li>

@@ -337,7 +337,7 @@ <h1 id="zeno-to-hollow-adapter">Zeno to Hollow Adapter</h1>

<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">

<a href="../producer-consumer/" class="btn btn-neutral float-right" title="Producers and Consumers">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../advanced-topics/" class="btn btn-neutral float-right" title="Advanced Topics">Next <span class="icon icon-circle-arrow-right"></span></a>


<a href="../interacting-with-a-dataset/" class="btn btn-neutral" title="Interacting with a Hollow Dataset"><span class="icon icon-circle-arrow-left"></span> Previous</a>
@@ -370,7 +370,7 @@ <h1 id="zeno-to-hollow-adapter">Zeno to Hollow Adapter</h1>
<span><a href="../interacting-with-a-dataset/" style="color: #fcfcfc;">&laquo; Previous</a></span>


<span style="margin-left: 15px"><a href="../producer-consumer/" style="color: #fcfcfc">Next &raquo;</a></span>
<span style="margin-left: 15px"><a href="../advanced-topics/" style="color: #fcfcfc">Next &raquo;</a></span>

</span>
</div>
40 changes: 22 additions & 18 deletions data-modeling/index.html
Original file line number Diff line number Diff line change
@@ -71,6 +71,20 @@
<li class="toctree-l1 ">
<a class="" href="../indexing-querying/">Indexing/Querying</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../producer-consumer/">Producers and Consumers</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../tooling/">Tooling</a>

</li>
<li>

@@ -114,13 +128,6 @@

</ul>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../tooling/">Tooling</a>

</li>
<li>

@@ -142,13 +149,6 @@
<li class="toctree-l1 ">
<a class="" href="../data-ingestion/">Data Ingestion</a>

</li>
<li>

<li>
<li class="toctree-l1 ">
<a class="" href="../producer-consumer/">Producers and Consumers</a>

</li>
<li>

@@ -348,6 +348,10 @@ <h1 id="maintaining-backwards-compatibility">Maintaining Backwards Compatibility
<p>When adding new fields or types, existing generated client APIs will ignore the new fields, and all of the fields which existed at the time of API generation will still be visible using the same methods. When removing fields, existing generated client APIs will see null values if the methods corresponding to the removed fields are called. When removing types, existing generated client APIs will see removed types as having no records.</p>
<p>It is not backwards compatible to change the type of an existing field. The client behavior when calling a method corresponding to a field with a changed type is undefined.</p>
<p>Backwards compatibility often has a lot to do with the use case and semantics of the data. Hollow will always behave in the stated way for evolving data models, but it’s possible that consumers require a field which starts returning null once it gets removed. For this reason, additional caution should be exercised when removing types and fields.</p>
<div class="admonition hint">
<p class="admonition-title">Backwards-incompatible data remodeling</p>
<p>Every so often, it may be required or desirable to make changes to the data model which are incompatible with prior versions. In this case, an older producer, which produces the older data model, should run in parallel with the newer producer, producing the newer incompatible data model. Each producer should write its blobs to a different <a href="../producer-consumer/#blob-namespaces">namespace</a>, so that older consumers can read from the old data model, and newer consumers can read from the newer data model. Once all consumers are upgraded and reading from the newer data model, the older producer can be decommissioned.</p>
</div>
<h1 id="movieactor-example">Movie/Actor Example</h1>
<p>Let's examine the <code>Movie</code> / <code>Actor</code> data model from our Getting Started Guide:</p>
<pre><code class="java">public class Movie {
@@ -388,10 +392,10 @@ <h1 id="movieactor-example">Movie/Actor Example</h1>

<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">

<a href="../tooling/" class="btn btn-neutral float-right" title="Tooling">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../diving-deeper/" class="btn btn-neutral float-right" title="Diving Deeper">Next <span class="icon icon-circle-arrow-right"></span></a>


<a href="../indexing-querying/" class="btn btn-neutral" title="Indexing/Querying"><span class="icon icon-circle-arrow-left"></span> Previous</a>
<a href="../tooling/" class="btn btn-neutral" title="Tooling"><span class="icon icon-circle-arrow-left"></span> Previous</a>

</div>

@@ -418,10 +422,10 @@ <h1 id="movieactor-example">Movie/Actor Example</h1>
<a href="https://github.com/Netflix/hollow" class="icon icon-github" style="float: left; color: #fcfcfc"> GitHub</a>


<span><a href="../indexing-querying/" style="color: #fcfcfc;">&laquo; Previous</a></span>
<span><a href="../tooling/" style="color: #fcfcfc;">&laquo; Previous</a></span>


<span style="margin-left: 15px"><a href="../tooling/" style="color: #fcfcfc">Next &raquo;</a></span>
<span style="margin-left: 15px"><a href="../diving-deeper/" style="color: #fcfcfc">Next &raquo;</a></span>

</span>
</div>
Loading
Oops, something went wrong.

0 comments on commit 0b0f524

Please sign in to comment.