blob: 2237b314c67c6e301fb72971481bfa6bec15324d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_121) on Fri Apr 14 22:12:45 PDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AbstractJDBCDataModel (Mahout Integration 0.13.0 API)</title>
<meta name="date" content="2017-04-14">
<link rel="stylesheet" type="text/css" href="../../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractJDBCDataModel (Mahout Integration 0.13.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractJDBCDataModel.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractBooleanPrefJDBCDataModel.html" title="class in org.apache.mahout.cf.taste.impl.model.jdbc"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.html" title="class in org.apache.mahout.cf.taste.impl.model.jdbc"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../../index.html?org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html" target="_top">Frames</a></li>
<li><a href="AbstractJDBCDataModel.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.mahout.cf.taste.impl.model.jdbc</div>
<h2 title="Class AbstractJDBCDataModel" class="title">Class AbstractJDBCDataModel</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/jdbc/AbstractJDBCComponent.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common.jdbc">org.apache.mahout.cf.taste.impl.common.jdbc.AbstractJDBCComponent</a></li>
<li>
<ul class="inheritance">
<li>org.apache.mahout.cf.taste.impl.model.jdbc.AbstractJDBCDataModel</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/Refreshable.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">Refreshable</a>, <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a>, <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/JDBCDataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">JDBCDataModel</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractBooleanPrefJDBCDataModel.html" title="class in org.apache.mahout.cf.taste.impl.model.jdbc">AbstractBooleanPrefJDBCDataModel</a>, <a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/GenericJDBCDataModel.html" title="class in org.apache.mahout.cf.taste.impl.model.jdbc">GenericJDBCDataModel</a>, <a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/MySQLJDBCDataModel.html" title="class in org.apache.mahout.cf.taste.impl.model.jdbc">MySQLJDBCDataModel</a>, <a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/SQL92JDBCDataModel.html" title="class in org.apache.mahout.cf.taste.impl.model.jdbc">SQL92JDBCDataModel</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractJDBCDataModel</span>
extends <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/jdbc/AbstractJDBCComponent.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common.jdbc">AbstractJDBCComponent</a>
implements <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/JDBCDataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">JDBCDataModel</a></pre>
<div class="block"><p>
An abstract superclass for <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/JDBCDataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model"><code>JDBCDataModel</code></a> implementations, providing most of the common
functionality that any such implementation would need.
</p>
<p>
Performance will be a concern with any <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/JDBCDataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model"><code>JDBCDataModel</code></a>. There are going to be lots of
simultaneous reads and some writes to one table. Make sure the table is set up optimally -- for example,
you'll want to establish indexes.
</p>
<p>
You'll also want to use connection pooling of some kind. Most J2EE containers like Tomcat provide
connection pooling, so make sure the <a href="http://docs.oracle.com/javase/7/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql"><code>DataSource</code></a> it exposes is using pooling. Outside a J2EE
container, you can use packages like Jakarta's <a href="http://jakarta.apache.org/commons/dbcp/">DBCP</a>
to create a <a href="http://docs.oracle.com/javase/7/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql"><code>DataSource</code></a> on top of your database whose <a href="http://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql"><code>Connection</code></a>s are pooled.
</p></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../../serialized-form.html#org.apache.mahout.cf.taste.impl.model.jdbc.AbstractJDBCDataModel">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#DEFAULT_ITEM_ID_COLUMN">DEFAULT_ITEM_ID_COLUMN</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#DEFAULT_PREFERENCE_COLUMN">DEFAULT_PREFERENCE_COLUMN</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#DEFAULT_PREFERENCE_TABLE">DEFAULT_PREFERENCE_TABLE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#DEFAULT_PREFERENCE_TIME_COLUMN">DEFAULT_PREFERENCE_TIME_COLUMN</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#DEFAULT_USER_ID_COLUMN">DEFAULT_USER_ID_COLUMN</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.mahout.cf.taste.impl.common.jdbc.AbstractJDBCComponent">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.mahout.cf.taste.impl.common.jdbc.<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/jdbc/AbstractJDBCComponent.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common.jdbc">AbstractJDBCComponent</a></h3>
<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/jdbc/AbstractJDBCComponent.html?is-external=true#DEFAULT_DATASOURCE_NAME" title="class or interface in org.apache.mahout.cf.taste.impl.common.jdbc">DEFAULT_DATASOURCE_NAME</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#AbstractJDBCDataModel-javax.sql.DataSource-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">AbstractJDBCDataModel</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</a>&nbsp;dataSource,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPreferenceTimeSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUserSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getAllUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;setPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;removePreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPrefsForItemSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumPreferenceForItemSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumPreferenceForItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getMaxPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getMinPreferenceSQL)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#AbstractJDBCDataModel-javax.sql.DataSource-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">AbstractJDBCDataModel</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</a>&nbsp;dataSource,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;preferenceTable,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userIDColumn,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;itemIDColumn,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;preferenceColumn,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPreferenceTimeSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUserSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getAllUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;setPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;removePreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPrefsForItemSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumPreferenceForItemSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumPreferenceForItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getMaxPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getMinPreferenceSQL)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/Preference.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">Preference</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#buildPreference-java.sql.ResultSet-">buildPreference</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet.html?is-external=true" title="class or interface in java.sql">ResultSet</a>&nbsp;rs)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/Preference.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">Preference</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#doGetPreferencesForItem-long-">doGetPreferencesForItem</a></span>(long&nbsp;itemID)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/FastByIDMap.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">FastByIDMap</a>&lt;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/FastIDSet.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">FastIDSet</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#exportWithIDsOnly--">exportWithIDsOnly</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/FastByIDMap.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">FastByIDMap</a>&lt;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/PreferenceArray.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">PreferenceArray</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#exportWithPrefs--">exportWithPrefs</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getDataSource--">getDataSource</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getItemIDColumn--">getItemIDColumn</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/LongPrimitiveIterator.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">LongPrimitiveIterator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getItemIDs--">getItemIDs</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/FastIDSet.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">FastIDSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getItemIDsFromUser-long-">getItemIDsFromUser</a></span>(long&nbsp;userID)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getLongColumn-java.sql.ResultSet-int-">getLongColumn</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet.html?is-external=true" title="class or interface in java.sql">ResultSet</a>&nbsp;rs,
int&nbsp;position)</code>
<div class="block">Subclasses may wish to override this if ID values in the file are not numeric.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getMaxPreference--">getMaxPreference</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getMinPreference--">getMinPreference</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getNumItems--">getNumItems</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getNumUsers--">getNumUsers</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getNumUsersWithPreferenceFor-long-">getNumUsersWithPreferenceFor</a></span>(long&nbsp;itemID)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getNumUsersWithPreferenceFor-long-long-">getNumUsersWithPreferenceFor</a></span>(long&nbsp;itemID1,
long&nbsp;itemID2)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getPreferenceColumn--">getPreferenceColumn</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/PreferenceArray.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">PreferenceArray</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getPreferencesForItem-long-">getPreferencesForItem</a></span>(long&nbsp;itemID)</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/PreferenceArray.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">PreferenceArray</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getPreferencesFromUser-long-">getPreferencesFromUser</a></span>(long&nbsp;userID)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getPreferenceTable--">getPreferenceTable</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getPreferenceTime-long-long-">getPreferenceTime</a></span>(long&nbsp;userID,
long&nbsp;itemID)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getPreferenceValue-long-long-">getPreferenceValue</a></span>(long&nbsp;userID,
long&nbsp;itemID)</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getUserIDColumn--">getUserIDColumn</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/LongPrimitiveIterator.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">LongPrimitiveIterator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#getUserIDs--">getUserIDs</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#hasPreferenceValues--">hasPreferenceValues</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#refresh-java.util.Collection-">refresh</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/Refreshable.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">Refreshable</a>&gt;&nbsp;alreadyRefreshed)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#removePreference-long-long-">removePreference</a></span>(long&nbsp;userID,
long&nbsp;itemID)</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#setLongParameter-java.sql.PreparedStatement-int-long-">setLongParameter</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/sql/PreparedStatement.html?is-external=true" title="class or interface in java.sql">PreparedStatement</a>&nbsp;stmt,
int&nbsp;position,
long&nbsp;value)</code>
<div class="block">Subclasses may wish to override this if ID values in the file are not numeric.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html#setPreference-long-long-float-">setPreference</a></span>(long&nbsp;userID,
long&nbsp;itemID,
float&nbsp;value)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.mahout.cf.taste.impl.common.jdbc.AbstractJDBCComponent">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.mahout.cf.taste.impl.common.jdbc.<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/jdbc/AbstractJDBCComponent.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common.jdbc">AbstractJDBCComponent</a></h3>
<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/jdbc/AbstractJDBCComponent.html?is-external=true#checkNotNullAndLog-java.lang.String-java.lang.Object-" title="class or interface in org.apache.mahout.cf.taste.impl.common.jdbc">checkNotNullAndLog</a>, <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/jdbc/AbstractJDBCComponent.html?is-external=true#checkNotNullAndLog-java.lang.String-java.lang.Object:A-" title="class or interface in org.apache.mahout.cf.taste.impl.common.jdbc">checkNotNullAndLog</a>, <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/jdbc/AbstractJDBCComponent.html?is-external=true#getFetchSize--" title="class or interface in org.apache.mahout.cf.taste.impl.common.jdbc">getFetchSize</a>, <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/jdbc/AbstractJDBCComponent.html?is-external=true#lookupDataSource-java.lang.String-" title="class or interface in org.apache.mahout.cf.taste.impl.common.jdbc">lookupDataSource</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="DEFAULT_PREFERENCE_TABLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_PREFERENCE_TABLE</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DEFAULT_PREFERENCE_TABLE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../../constant-values.html#org.apache.mahout.cf.taste.impl.model.jdbc.AbstractJDBCDataModel.DEFAULT_PREFERENCE_TABLE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_USER_ID_COLUMN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_USER_ID_COLUMN</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DEFAULT_USER_ID_COLUMN</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../../constant-values.html#org.apache.mahout.cf.taste.impl.model.jdbc.AbstractJDBCDataModel.DEFAULT_USER_ID_COLUMN">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_ITEM_ID_COLUMN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_ITEM_ID_COLUMN</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DEFAULT_ITEM_ID_COLUMN</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../../constant-values.html#org.apache.mahout.cf.taste.impl.model.jdbc.AbstractJDBCDataModel.DEFAULT_ITEM_ID_COLUMN">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_PREFERENCE_COLUMN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_PREFERENCE_COLUMN</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DEFAULT_PREFERENCE_COLUMN</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../../constant-values.html#org.apache.mahout.cf.taste.impl.model.jdbc.AbstractJDBCDataModel.DEFAULT_PREFERENCE_COLUMN">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_PREFERENCE_TIME_COLUMN">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DEFAULT_PREFERENCE_TIME_COLUMN</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DEFAULT_PREFERENCE_TIME_COLUMN</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../../constant-values.html#org.apache.mahout.cf.taste.impl.model.jdbc.AbstractJDBCDataModel.DEFAULT_PREFERENCE_TIME_COLUMN">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractJDBCDataModel-javax.sql.DataSource-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AbstractJDBCDataModel</h4>
<pre>protected&nbsp;AbstractJDBCDataModel(<a href="http://docs.oracle.com/javase/7/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</a>&nbsp;dataSource,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPreferenceTimeSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUserSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getAllUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;setPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;removePreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPrefsForItemSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumPreferenceForItemSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumPreferenceForItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getMaxPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getMinPreferenceSQL)</pre>
</li>
</ul>
<a name="AbstractJDBCDataModel-javax.sql.DataSource-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractJDBCDataModel</h4>
<pre>protected&nbsp;AbstractJDBCDataModel(<a href="http://docs.oracle.com/javase/7/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</a>&nbsp;dataSource,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;preferenceTable,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userIDColumn,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;itemIDColumn,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;preferenceColumn,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPreferenceTimeSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUserSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getAllUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;setPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;removePreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUsersSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPrefsForItemSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumPreferenceForItemSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNumPreferenceForItemsSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getMaxPreferenceSQL,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getMinPreferenceSQL)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getDataSource--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataSource</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</a>&nbsp;getDataSource()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/JDBCDataModel.html?is-external=true#getDataSource--" title="class or interface in org.apache.mahout.cf.taste.model">getDataSource</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/JDBCDataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">JDBCDataModel</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="http://docs.oracle.com/javase/7/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql"><code>DataSource</code></a> that this instance is using</dd>
</dl>
</li>
</ul>
<a name="getPreferenceTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPreferenceTable</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPreferenceTable()</pre>
</li>
</ul>
<a name="getUserIDColumn--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIDColumn</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUserIDColumn()</pre>
</li>
</ul>
<a name="getItemIDColumn--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItemIDColumn</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getItemIDColumn()</pre>
</li>
</ul>
<a name="getPreferenceColumn--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPreferenceColumn</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPreferenceColumn()</pre>
</li>
</ul>
<a name="getUserIDs--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIDs</h4>
<pre>public&nbsp;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/LongPrimitiveIterator.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">LongPrimitiveIterator</a>&nbsp;getUserIDs()
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getUserIDs--" title="class or interface in org.apache.mahout.cf.taste.model">getUserIDs</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="getPreferencesFromUser-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPreferencesFromUser</h4>
<pre>public&nbsp;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/PreferenceArray.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">PreferenceArray</a>&nbsp;getPreferencesFromUser(long&nbsp;userID)
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getPreferencesFromUser-long-" title="class or interface in org.apache.mahout.cf.taste.model">getPreferencesFromUser</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/NoSuchUserException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">NoSuchUserException</a></code> - if there is no such user</dd>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="exportWithPrefs--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exportWithPrefs</h4>
<pre>public&nbsp;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/FastByIDMap.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">FastByIDMap</a>&lt;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/PreferenceArray.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">PreferenceArray</a>&gt;&nbsp;exportWithPrefs()
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/JDBCDataModel.html?is-external=true#exportWithPrefs--" title="class or interface in org.apache.mahout.cf.taste.model">exportWithPrefs</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/JDBCDataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">JDBCDataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="exportWithIDsOnly--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exportWithIDsOnly</h4>
<pre>public&nbsp;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/FastByIDMap.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">FastByIDMap</a>&lt;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/FastIDSet.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">FastIDSet</a>&gt;&nbsp;exportWithIDsOnly()
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/JDBCDataModel.html?is-external=true#exportWithIDsOnly--" title="class or interface in org.apache.mahout.cf.taste.model">exportWithIDsOnly</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/JDBCDataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">JDBCDataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="getItemIDsFromUser-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItemIDsFromUser</h4>
<pre>public&nbsp;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/FastIDSet.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">FastIDSet</a>&nbsp;getItemIDsFromUser(long&nbsp;userID)
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getItemIDsFromUser-long-" title="class or interface in org.apache.mahout.cf.taste.model">getItemIDsFromUser</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/NoSuchUserException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">NoSuchUserException</a></code> - if there is no such user</dd>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="getPreferenceValue-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPreferenceValue</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>&nbsp;getPreferenceValue(long&nbsp;userID,
long&nbsp;itemID)
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getPreferenceValue-long-long-" title="class or interface in org.apache.mahout.cf.taste.model">getPreferenceValue</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="getPreferenceTime-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPreferenceTime</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&nbsp;getPreferenceTime(long&nbsp;userID,
long&nbsp;itemID)
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getPreferenceTime-long-long-" title="class or interface in org.apache.mahout.cf.taste.model">getPreferenceTime</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="getItemIDs--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItemIDs</h4>
<pre>public&nbsp;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/impl/common/LongPrimitiveIterator.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.impl.common">LongPrimitiveIterator</a>&nbsp;getItemIDs()
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getItemIDs--" title="class or interface in org.apache.mahout.cf.taste.model">getItemIDs</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="getPreferencesForItem-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPreferencesForItem</h4>
<pre>public&nbsp;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/PreferenceArray.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">PreferenceArray</a>&nbsp;getPreferencesForItem(long&nbsp;itemID)
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getPreferencesForItem-long-" title="class or interface in org.apache.mahout.cf.taste.model">getPreferencesForItem</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="doGetPreferencesForItem-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doGetPreferencesForItem</h4>
<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/Preference.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">Preference</a>&gt;&nbsp;doGetPreferencesForItem(long&nbsp;itemID)
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="getNumItems--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumItems</h4>
<pre>public&nbsp;int&nbsp;getNumItems()
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getNumItems--" title="class or interface in org.apache.mahout.cf.taste.model">getNumItems</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="getNumUsers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumUsers</h4>
<pre>public&nbsp;int&nbsp;getNumUsers()
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getNumUsers--" title="class or interface in org.apache.mahout.cf.taste.model">getNumUsers</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="getNumUsersWithPreferenceFor-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumUsersWithPreferenceFor</h4>
<pre>public&nbsp;int&nbsp;getNumUsersWithPreferenceFor(long&nbsp;itemID)
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getNumUsersWithPreferenceFor-long-" title="class or interface in org.apache.mahout.cf.taste.model">getNumUsersWithPreferenceFor</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="getNumUsersWithPreferenceFor-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumUsersWithPreferenceFor</h4>
<pre>public&nbsp;int&nbsp;getNumUsersWithPreferenceFor(long&nbsp;itemID1,
long&nbsp;itemID2)
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getNumUsersWithPreferenceFor-long-long-" title="class or interface in org.apache.mahout.cf.taste.model">getNumUsersWithPreferenceFor</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="setPreference-long-long-float-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPreference</h4>
<pre>public&nbsp;void&nbsp;setPreference(long&nbsp;userID,
long&nbsp;itemID,
float&nbsp;value)
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#setPreference-long-long-float-" title="class or interface in org.apache.mahout.cf.taste.model">setPreference</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="removePreference-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removePreference</h4>
<pre>public&nbsp;void&nbsp;removePreference(long&nbsp;userID,
long&nbsp;itemID)
throws <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#removePreference-long-long-" title="class or interface in org.apache.mahout.cf.taste.model">removePreference</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/TasteException.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">TasteException</a></code></dd>
</dl>
</li>
</ul>
<a name="refresh-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refresh</h4>
<pre>public&nbsp;void&nbsp;refresh(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/Refreshable.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">Refreshable</a>&gt;&nbsp;alreadyRefreshed)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/Refreshable.html?is-external=true#refresh-java.util.Collection-" title="class or interface in org.apache.mahout.cf.taste.common">refresh</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/common/Refreshable.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.common">Refreshable</a></code></dd>
</dl>
</li>
</ul>
<a name="hasPreferenceValues--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasPreferenceValues</h4>
<pre>public&nbsp;boolean&nbsp;hasPreferenceValues()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#hasPreferenceValues--" title="class or interface in org.apache.mahout.cf.taste.model">hasPreferenceValues</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
</dl>
</li>
</ul>
<a name="getMaxPreference--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxPreference</h4>
<pre>public&nbsp;float&nbsp;getMaxPreference()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getMaxPreference--" title="class or interface in org.apache.mahout.cf.taste.model">getMaxPreference</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
</dl>
</li>
</ul>
<a name="getMinPreference--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinPreference</h4>
<pre>public&nbsp;float&nbsp;getMinPreference()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true#getMinPreference--" title="class or interface in org.apache.mahout.cf.taste.model">getMinPreference</a></code>&nbsp;in interface&nbsp;<code><a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/DataModel.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">DataModel</a></code></dd>
</dl>
</li>
</ul>
<a name="buildPreference-java.sql.ResultSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildPreference</h4>
<pre>protected&nbsp;<a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/Preference.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model">Preference</a>&nbsp;buildPreference(<a href="http://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet.html?is-external=true" title="class or interface in java.sql">ResultSet</a>&nbsp;rs)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<a name="getLongColumn-java.sql.ResultSet-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLongColumn</h4>
<pre>protected&nbsp;long&nbsp;getLongColumn(<a href="http://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet.html?is-external=true" title="class or interface in java.sql">ResultSet</a>&nbsp;rs,
int&nbsp;position)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Subclasses may wish to override this if ID values in the file are not numeric. This provides a hook by
which subclasses can inject an <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/IDMigrator.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model"><code>IDMigrator</code></a> to perform
translation.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<a name="setLongParameter-java.sql.PreparedStatement-int-long-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setLongParameter</h4>
<pre>protected&nbsp;void&nbsp;setLongParameter(<a href="http://docs.oracle.com/javase/7/docs/api/java/sql/PreparedStatement.html?is-external=true" title="class or interface in java.sql">PreparedStatement</a>&nbsp;stmt,
int&nbsp;position,
long&nbsp;value)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Subclasses may wish to override this if ID values in the file are not numeric. This provides a hook by
which subclasses can inject an <a href="http://mahout.apache.org/mahout-mr/apidocs/org/apache/mahout/cf/taste/model/IDMigrator.html?is-external=true" title="class or interface in org.apache.mahout.cf.taste.model"><code>IDMigrator</code></a> to perform
translation.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractJDBCDataModel.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/AbstractBooleanPrefJDBCDataModel.html" title="class in org.apache.mahout.cf.taste.impl.model.jdbc"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../../org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.html" title="class in org.apache.mahout.cf.taste.impl.model.jdbc"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../../index.html?org/apache/mahout/cf/taste/impl/model/jdbc/AbstractJDBCDataModel.html" target="_top">Frames</a></li>
<li><a href="AbstractJDBCDataModel.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>