blob: 7ded364f040585ab220c8cb41dea6885506a4cd1 [file] [log] [blame]
<!DOCTYPE html >
<html>
<head>
<title>store - PredictionIO Scala API 0.14.0 - org.apache.predictionio.data.store</title>
<meta name="description" content="store - PredictionIO Scala API 0.14.0 - org.apache.predictionio.data.store" />
<meta name="keywords" content="store PredictionIO Scala API 0.14.0 org.apache.predictionio.data.store" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="../../../../../lib/template.css" media="screen" type="text/css" rel="stylesheet" />
<link href="../../../../../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css" />
<script type="text/javascript" src="../../../../../lib/jquery.js" id="jquery-js"></script>
<script type="text/javascript" src="../../../../../lib/jquery-ui.js"></script>
<script type="text/javascript" src="../../../../../lib/template.js"></script>
<script type="text/javascript" src="../../../../../lib/tools.tooltip.js"></script>
<script type="text/javascript">
if(top === self) {
var url = '../../../../../index.html';
var hash = 'org.apache.predictionio.data.store.package';
var anchor = window.location.hash;
var anchor_opt = '';
if (anchor.length >= 1)
anchor_opt = '@' + anchor.substring(1);
window.location.href = url + '#' + hash + anchor_opt;
}
</script>
</head>
<body class="value">
<div id="definition">
<img alt="Package" src="../../../../../lib/package_big.png" />
<p id="owner"><a href="../../../../package.html" class="extype" name="org">org</a>.<a href="../../../package.html" class="extype" name="org.apache">apache</a>.<a href="../../package.html" class="extype" name="org.apache.predictionio">predictionio</a>.<a href="../package.html" class="extype" name="org.apache.predictionio.data">data</a></p>
<h1>store</h1><span class="permalink">
<a href="../../../../../index.html#org.apache.predictionio.data.store.package" title="Permalink" target="_top">
<img src="../../../../../lib/permalink.png" alt="Permalink" />
</a>
</span>
</div>
<h4 id="signature" class="signature">
<span class="modifier_kind">
<span class="modifier"></span>
<span class="kind">package</span>
</span>
<span class="symbol">
<span class="name">store</span>
</span>
</h4>
<div id="comment" class="fullcommenttop"><div class="comment cmt"><p>Provides high level interfaces to the Event Store from within a prediction
engine.
</p></div><div class="toggleContainer block">
<span class="toggle">Linear Supertypes</span>
<div class="superTypes hiddenContent"><span class="extype" name="scala.AnyRef">AnyRef</span>, <span class="extype" name="scala.Any">Any</span></div>
</div></div>
<div id="mbrsel">
<div id="textfilter"><span class="pre"></span><span class="input"><input id="mbrsel-input" type="text" accesskey="/" /></span><span class="post"></span></div>
<div id="order">
<span class="filtertype">Ordering</span>
<ol>
<li class="alpha in"><span>Alphabetic</span></li>
<li class="inherit out"><span>By Inheritance</span></li>
</ol>
</div>
<div id="ancestors">
<span class="filtertype">Inherited<br />
</span>
<ol id="linearization">
<li class="in" name="org.apache.predictionio.data.store"><span>store</span></li><li class="in" name="scala.AnyRef"><span>AnyRef</span></li><li class="in" name="scala.Any"><span>Any</span></li>
</ol>
</div><div id="ancestors">
<span class="filtertype"></span>
<ol>
<li class="hideall out"><span>Hide All</span></li>
<li class="showall in"><span>Show All</span></li>
</ol>
</div>
<div id="visbl">
<span class="filtertype">Visibility</span>
<ol><li class="public in"><span>Public</span></li><li class="all out"><span>All</span></li></ol>
</div>
</div>
<div id="template">
<div id="allMembers">
<div id="values" class="values members">
<h3>Value Members</h3>
<ol><li name="org.apache.predictionio.data.store.LEventStore" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
<a id="LEventStore"></a>
<a id="LEventStore:LEventStore"></a>
<h4 class="signature">
<span class="modifier_kind">
<span class="modifier"></span>
<span class="kind">object</span>
</span>
<span class="symbol">
<a href="LEventStore$.html"><span class="name">LEventStore</span></a>
</span>
</h4><span class="permalink">
<a href="../../../../../index.html#org.apache.predictionio.data.store.package@LEventStore" title="Permalink" target="_top">
<img src="../../../../../lib/permalink.png" alt="Permalink" />
</a>
</span>
<p class="shortcomment cmt">This object provides a set of operation to access Event Store
without going through Spark's parallelization.</p><div class="fullcomment"><div class="comment cmt"><p>This object provides a set of operation to access Event Store
without going through Spark's parallelization.</p><p>Note that blocking methods of this object uses
<code>scala.concurrent.ExecutionContext.Implicits.global</code> internally.
Since this is a thread pool which has a number of threads equal to available
processors, parallelism is limited up to the number of processors.</p><p>If this limitation become bottleneck of resource usage, you can increase the
number of threads by declaring following VM options before calling &quot;pio deploy&quot;:</p><p><pre>
export JAVA_OPTS="$JAVA_OPTS \
-Dscala.concurrent.context.numThreads=1000 \
-Dscala.concurrent.context.maxThreads=1000"
</pre></p><p>You can learn more about the global execution context in the Scala documentation:
<a href="https://docs.scala-lang.org/overviews/core/futures.html#the-global-execution-context" target="_blank">https://docs.scala-lang.org/overviews/core/futures.html#the-global-execution-context</a>
</p></div></div>
</li><li name="org.apache.predictionio.data.store.PEventStore" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
<a id="PEventStore"></a>
<a id="PEventStore:PEventStore"></a>
<h4 class="signature">
<span class="modifier_kind">
<span class="modifier"></span>
<span class="kind">object</span>
</span>
<span class="symbol">
<a href="PEventStore$.html"><span class="name">PEventStore</span></a>
</span>
</h4><span class="permalink">
<a href="../../../../../index.html#org.apache.predictionio.data.store.package@PEventStore" title="Permalink" target="_top">
<img src="../../../../../lib/permalink.png" alt="Permalink" />
</a>
</span>
<p class="shortcomment cmt">This object provides a set of operation to access Event Store
with Spark's parallelization
</p>
</li><li name="org.apache.predictionio.data.store.java" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
<a id="java"></a>
<a id="java:java"></a>
<h4 class="signature">
<span class="modifier_kind">
<span class="modifier"></span>
<span class="kind">package</span>
</span>
<span class="symbol">
<a href="java/package.html"><span class="name">java</span></a>
</span>
</h4><span class="permalink">
<a href="../../../../../index.html#org.apache.predictionio.data.store.package@java" title="Permalink" target="_top">
<img src="../../../../../lib/permalink.png" alt="Permalink" />
</a>
</span>
</li><li name="org.apache.predictionio.data.store.python" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
<a id="python"></a>
<a id="python:python"></a>
<h4 class="signature">
<span class="modifier_kind">
<span class="modifier"></span>
<span class="kind">package</span>
</span>
<span class="symbol">
<a href="python/package.html"><span class="name">python</span></a>
</span>
</h4><span class="permalink">
<a href="../../../../../index.html#org.apache.predictionio.data.store.package@python" title="Permalink" target="_top">
<img src="../../../../../lib/permalink.png" alt="Permalink" />
</a>
</span>
</li></ol>
</div>
</div>
<div id="inheritedMembers">
<div class="parent" name="scala.AnyRef">
<h3>Inherited from <span class="extype" name="scala.AnyRef">AnyRef</span></h3>
</div><div class="parent" name="scala.Any">
<h3>Inherited from <span class="extype" name="scala.Any">Any</span></h3>
</div>
</div>
<div id="groupedMembers">
<div class="group" name="Ungrouped">
<h3>Ungrouped</h3>
</div>
</div>
</div>
<div id="tooltip"></div>
<div id="footer"> </div>
</body>
</html>