Files
Yasuhiro KIMURA 9678929700 Update to 18.1.40
2020-07-24 01:10:28 +09:00

742 lines
51 KiB
HTML

<!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 (11.0.7) on Mon Jun 01 06:40:53 PDT 2020 -->
<title>Uses of Class com.sleepycat.db.Transaction (Oracle - Berkeley DB Java API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2020-06-01">
<link rel="stylesheet" type="text/css" href="../../../../style.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.sleepycat.db.Transaction (Oracle - Berkeley DB Java API)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="fixedNav">
<!-- ========= 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="../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../Transaction.html" title="class in com.sleepycat.db">Class</a></li>
<li class="navBarCell1Rev">Use</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 class="aboutLanguage"><b>Berkeley DB</b><br><font size="-1"> version 18.1.40</font></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
<div class="header">
<h2 title="Uses of Class com.sleepycat.db.Transaction" class="title">Uses of Class<br>com.sleepycat.db.Transaction</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#com.sleepycat.collections">com.sleepycat.collections</a></th>
<td class="colLast">
<div class="block">Data access based on the standard Java collections API.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#com.sleepycat.db">com.sleepycat.db</a></th>
<td class="colLast">
<div class="block">Berkeley DB Java API<br>
<a href="../../../../../programmer_reference/index.html" target="_top">[reference guide]</a> <a href="../../../../../programmer_reference/java_program.html" target="_top">[Java programming notes]</a>.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#com.sleepycat.persist">com.sleepycat.persist</a></th>
<td class="colLast">
<div class="block">The Direct Persistence Layer (DPL) adds a persistent object model to the
Berkeley DB transactional engine.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.sleepycat.collections">
<!-- -->
</a>
<h3>Uses of <a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a> in <a href="../../collections/package-summary.html">com.sleepycat.collections</a></h3>
<table class="useSummary" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../collections/package-summary.html">com.sleepycat.collections</a> that return <a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CurrentTransaction.</span><code><span class="memberNameLink"><a href="../../collections/CurrentTransaction.html#abortTransaction--">abortTransaction</a></span>()</code></th>
<td class="colLast">
<div class="block">Aborts the transaction that is active for the current thread for this
environment and makes the parent transaction (if any) the current
transaction.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CurrentTransaction.</span><code><span class="memberNameLink"><a href="../../collections/CurrentTransaction.html#beginTransaction-com.sleepycat.db.TransactionConfig-">beginTransaction</a></span>&#8203;(<a href="../TransactionConfig.html" title="class in com.sleepycat.db">TransactionConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Begins a new transaction for this environment and associates it with
the current thread.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CurrentTransaction.</span><code><span class="memberNameLink"><a href="../../collections/CurrentTransaction.html#commitTransaction--">commitTransaction</a></span>()</code></th>
<td class="colLast">
<div class="block">Commits the transaction that is active for the current thread for this
environment and makes the parent transaction (if any) the current
transaction.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CurrentTransaction.</span><code><span class="memberNameLink"><a href="../../collections/CurrentTransaction.html#getTransaction--">getTransaction</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the transaction associated with the current thread for this
environment, or null if no transaction is active.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.sleepycat.db">
<!-- -->
</a>
<h3>Uses of <a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a> in <a href="../package-summary.html">com.sleepycat.db</a></h3>
<table class="useSummary" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../package-summary.html">com.sleepycat.db</a> that return <a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../Environment.html#beginCDSGroup--">beginCDSGroup</a></span>()</code></th>
<td class="colLast">
<div class="block">Allocate a locker ID in an environment configured for Berkeley DB
Concurrent Data Store applications.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../Environment.html#beginTransaction-com.sleepycat.db.Transaction-com.sleepycat.db.TransactionConfig-">beginTransaction</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;parent,
<a href="../TransactionConfig.html" title="class in com.sleepycat.db">TransactionConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Create a new transaction in the database environment.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">PreparedTransaction.</span><code><span class="memberNameLink"><a href="../PreparedTransaction.html#getTransaction--">getTransaction</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the transaction handle for the transaction.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../package-summary.html">com.sleepycat.db</a> with parameters of type <a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#append-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-">append</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;data)</code></th>
<td class="colLast">
<div class="block">
Append the key/data pair to the end of the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../Environment.html#beginTransaction-com.sleepycat.db.Transaction-com.sleepycat.db.TransactionConfig-">beginTransaction</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;parent,
<a href="../TransactionConfig.html" title="class in com.sleepycat.db">TransactionConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Create a new transaction in the database environment.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CompactStats.html" title="class in com.sleepycat.db">CompactStats</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#compact-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.CompactConfig-">compact</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;start,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;stop,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;end,
<a href="../CompactConfig.html" title="class in com.sleepycat.db">CompactConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Compact a Btree or Recno database or returns unused Btree,
Hash or Recno database pages to the underlying filesystem.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#consume-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-boolean-">consume</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;data,
boolean&nbsp;wait)</code></th>
<td class="colLast">
<div class="block">Return the record number and data from the available record closest to
the head of the queue, and delete the record.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#delete-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-">delete</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Remove key/data pairs from the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#deleteMultiple-com.sleepycat.db.Transaction-com.sleepycat.db.MultipleEntry-">deleteMultiple</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../MultipleEntry.html" title="class in com.sleepycat.db">MultipleEntry</a>&nbsp;keys)</code></th>
<td class="colLast">
<div class="block">Remove key/data pairs from the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#deleteMultipleKey-com.sleepycat.db.Transaction-com.sleepycat.db.MultipleEntry-">deleteMultipleKey</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../MultipleEntry.html" title="class in com.sleepycat.db">MultipleEntry</a>&nbsp;keys)</code></th>
<td class="colLast">
<div class="block">Remove key/data pairs from the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#exists-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-">exists</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Checks if the specified key appears in the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#get-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.LockMode-">get</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;data,
<a href="../LockMode.html" title="class in com.sleepycat.db">LockMode</a>&nbsp;lockMode)</code></th>
<td class="colLast">
<div class="block">Retrieves the key/data pair with the given key from the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SecondaryDatabase.</span><code><span class="memberNameLink"><a href="../SecondaryDatabase.html#get-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.LockMode-">get</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;pKey,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;data,
<a href="../LockMode.html" title="class in com.sleepycat.db">LockMode</a>&nbsp;lockMode)</code></th>
<td class="colLast">
<div class="block">Retrieves the key/data pair with the given key.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Sequence.</span><code><span class="memberNameLink"><a href="../Sequence.html#get-com.sleepycat.db.Transaction-int-">get</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
int&nbsp;delta)</code></th>
<td class="colLast">
<div class="block">Return the next available element in the sequence and changes the sequence
value by <code>delta</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../KeyRange.html" title="class in com.sleepycat.db">KeyRange</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#getKeyRange-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-">getKeyRange</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Return an estimate of the proportion of keys in the database less
than, equal to, and greater than the specified key.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#getSearchBoth-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.LockMode-">getSearchBoth</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;data,
<a href="../LockMode.html" title="class in com.sleepycat.db">LockMode</a>&nbsp;lockMode)</code></th>
<td class="colLast">
<div class="block">Retrieves the key/data pair with the given key and data value, that is, both
the key and data items must match.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SecondaryDatabase.</span><code><span class="memberNameLink"><a href="../SecondaryDatabase.html#getSearchBoth-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.LockMode-">getSearchBoth</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;pKey,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;data,
<a href="../LockMode.html" title="class in com.sleepycat.db">LockMode</a>&nbsp;lockMode)</code></th>
<td class="colLast">
<div class="block">Retrieves the key/data pair with the specified secondary and primary key, that
is, both the primary and secondary key items must match.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#getSearchRecordNumber-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.LockMode-">getSearchRecordNumber</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;data,
<a href="../LockMode.html" title="class in com.sleepycat.db">LockMode</a>&nbsp;lockMode)</code></th>
<td class="colLast">
<div class="block">Retrieves the key/data pair associated with the specific numbered record of the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SecondaryDatabase.</span><code><span class="memberNameLink"><a href="../SecondaryDatabase.html#getSearchRecordNumber-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.LockMode-">getSearchRecordNumber</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;pKey,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;data,
<a href="../LockMode.html" title="class in com.sleepycat.db">LockMode</a>&nbsp;lockMode)</code></th>
<td class="colLast">
<div class="block">Retrieves the key/data pair associated with the specific numbered record of the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../DatabaseStats.html" title="class in com.sleepycat.db">DatabaseStats</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#getStats-com.sleepycat.db.Transaction-com.sleepycat.db.StatsConfig-">getStats</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../StatsConfig.html" title="class in com.sleepycat.db">StatsConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Return database statistics.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../Environment.html#logPrint-com.sleepycat.db.Transaction-java.lang.String-">logPrint</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
java.lang.String&nbsp;message)</code></th>
<td class="colLast">
<div class="block">Append an informational message to the Berkeley DB database environment log files.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../Cursor.html" title="class in com.sleepycat.db">Cursor</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#openCursor-com.sleepycat.db.Transaction-com.sleepycat.db.CursorConfig-">openCursor</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Return a cursor into the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Cursor.html" title="class in com.sleepycat.db">Cursor</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SecondaryDatabase.</span><code><span class="memberNameLink"><a href="../SecondaryDatabase.html#openCursor-com.sleepycat.db.Transaction-com.sleepycat.db.CursorConfig-">openCursor</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Return a cursor into the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../Database.html" title="class in com.sleepycat.db">Database</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../Environment.html#openDatabase-com.sleepycat.db.Transaction-java.lang.String-java.lang.String-com.sleepycat.db.DatabaseConfig-">openDatabase</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
java.lang.String&nbsp;fileName,
java.lang.String&nbsp;databaseName,
<a href="../DatabaseConfig.html" title="class in com.sleepycat.db">DatabaseConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Open a database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../SecondaryCursor.html" title="class in com.sleepycat.db">SecondaryCursor</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SecondaryDatabase.</span><code><span class="memberNameLink"><a href="../SecondaryDatabase.html#openSecondaryCursor-com.sleepycat.db.Transaction-com.sleepycat.db.CursorConfig-">openSecondaryCursor</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Obtain a cursor on a database, returning a <code>SecondaryCursor</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../SecondaryDatabase.html" title="class in com.sleepycat.db">SecondaryDatabase</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../Environment.html#openSecondaryDatabase-com.sleepycat.db.Transaction-java.lang.String-java.lang.String-com.sleepycat.db.Database-com.sleepycat.db.SecondaryConfig-">openSecondaryDatabase</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
java.lang.String&nbsp;fileName,
java.lang.String&nbsp;databaseName,
<a href="../Database.html" title="class in com.sleepycat.db">Database</a>&nbsp;primaryDatabase,
<a href="../SecondaryConfig.html" title="class in com.sleepycat.db">SecondaryConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Open a database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Sequence.html" title="class in com.sleepycat.db">Sequence</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#openSequence-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.SequenceConfig-">openSequence</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../SequenceConfig.html" title="class in com.sleepycat.db">SequenceConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Open a sequence represented by the key in the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#put-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-">put</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;data)</code></th>
<td class="colLast">
<div class="block">
Store the key/data pair into the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#putMultiple-com.sleepycat.db.Transaction-com.sleepycat.db.MultipleEntry-com.sleepycat.db.MultipleEntry-boolean-">putMultiple</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../MultipleEntry.html" title="class in com.sleepycat.db">MultipleEntry</a>&nbsp;key,
<a href="../MultipleEntry.html" title="class in com.sleepycat.db">MultipleEntry</a>&nbsp;data,
boolean&nbsp;overwrite)</code></th>
<td class="colLast">
<div class="block">
Store a set of key/data pairs into the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#putMultipleKey-com.sleepycat.db.Transaction-com.sleepycat.db.MultipleEntry-boolean-">putMultipleKey</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../MultipleEntry.html" title="class in com.sleepycat.db">MultipleEntry</a>&nbsp;key,
boolean&nbsp;overwrite)</code></th>
<td class="colLast">
<div class="block">
Store a set of key/data pairs into the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#putNoDupData-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-">putNoDupData</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;data)</code></th>
<td class="colLast">
<div class="block">
Store the key/data pair into the database if it does not already appear
in the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#putNoOverwrite-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-">putNoOverwrite</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;data)</code></th>
<td class="colLast">
<div class="block">
Store the key/data pair into the database if the key does not already
appear in the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../Environment.html#removeDatabase-com.sleepycat.db.Transaction-java.lang.String-java.lang.String-">removeDatabase</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
java.lang.String&nbsp;fileName,
java.lang.String&nbsp;databaseName)</code></th>
<td class="colLast">
<div class="block">
Remove the database specified by the fileName and databaseName parameters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#removeSequence-com.sleepycat.db.Transaction-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.SequenceConfig-">removeSequence</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a>&nbsp;key,
<a href="../SequenceConfig.html" title="class in com.sleepycat.db">SequenceConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Remove the sequence from the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../Environment.html#renameDatabase-com.sleepycat.db.Transaction-java.lang.String-java.lang.String-java.lang.String-">renameDatabase</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
java.lang.String&nbsp;fileName,
java.lang.String&nbsp;databaseName,
java.lang.String&nbsp;newName)</code></th>
<td class="colLast">
<div class="block">
Rename a database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../Database.html#truncate-com.sleepycat.db.Transaction-boolean-">truncate</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
boolean&nbsp;countRecords)</code></th>
<td class="colLast">
<div class="block">Empty the database, discarding all records it contains.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.sleepycat.persist">
<!-- -->
</a>
<h3>Uses of <a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a> in <a href="../../persist/package-summary.html">com.sleepycat.persist</a></h3>
<table class="useSummary" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../persist/package-summary.html">com.sleepycat.persist</a> with parameters of type <a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../persist/EntityIndex.html#contains-com.sleepycat.db.Transaction-K-com.sleepycat.db.LockMode-">contains</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>&nbsp;key,
<a href="../LockMode.html" title="class in com.sleepycat.db">LockMode</a>&nbsp;lockMode)</code></th>
<td class="colLast">
<div class="block">Checks for existence of a key in this index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../persist/EntityIndex.html#delete-com.sleepycat.db.Transaction-K-">delete</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Deletes all entities with a given index key.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a>&lt;<a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">V</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../persist/EntityIndex.html#entities-com.sleepycat.db.Transaction-com.sleepycat.db.CursorConfig-">entities</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Opens a cursor for traversing all entities in this index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a>&lt;<a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">V</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../persist/EntityIndex.html#entities-com.sleepycat.db.Transaction-K-boolean-K-boolean-com.sleepycat.db.CursorConfig-">entities</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>&nbsp;fromKey,
boolean&nbsp;fromInclusive,
<a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>&nbsp;toKey,
boolean&nbsp;toInclusive,
<a href="../CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Opens a cursor for traversing entities in a key range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../persist/ForwardCursor.html" title="interface in com.sleepycat.persist">ForwardCursor</a>&lt;<a href="../../persist/EntityJoin.html" title="type parameter in EntityJoin">E</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EntityJoin.</span><code><span class="memberNameLink"><a href="../../persist/EntityJoin.html#entities-com.sleepycat.db.Transaction-com.sleepycat.db.CursorConfig-">entities</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Opens a cursor that returns the entities qualifying for the join.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">V</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../persist/EntityIndex.html#get-com.sleepycat.db.Transaction-K-com.sleepycat.db.LockMode-">get</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>&nbsp;key,
<a href="../LockMode.html" title="class in com.sleepycat.db">LockMode</a>&nbsp;lockMode)</code></th>
<td class="colLast">
<div class="block">Gets an entity via a key of this index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../persist/PrimaryIndex.html#get-com.sleepycat.db.Transaction-PK-com.sleepycat.db.LockMode-">get</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../../persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">PK</a>&nbsp;key,
<a href="../LockMode.html" title="class in com.sleepycat.db">LockMode</a>&nbsp;lockMode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">E</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SecondaryIndex.</span><code><span class="memberNameLink"><a href="../../persist/SecondaryIndex.html#get-com.sleepycat.db.Transaction-SK-com.sleepycat.db.LockMode-">get</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../../persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">SK</a>&nbsp;key,
<a href="../LockMode.html" title="class in com.sleepycat.db">LockMode</a>&nbsp;lockMode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a>&lt;<a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../persist/EntityIndex.html#keys-com.sleepycat.db.Transaction-com.sleepycat.db.CursorConfig-">keys</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Opens a cursor for traversing all keys in this index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a>&lt;<a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../persist/EntityIndex.html#keys-com.sleepycat.db.Transaction-K-boolean-K-boolean-com.sleepycat.db.CursorConfig-">keys</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>&nbsp;fromKey,
boolean&nbsp;fromInclusive,
<a href="../../persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>&nbsp;toKey,
boolean&nbsp;toInclusive,
<a href="../CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Opens a cursor for traversing keys in a key range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../persist/ForwardCursor.html" title="interface in com.sleepycat.persist">ForwardCursor</a>&lt;<a href="../../persist/EntityJoin.html" title="type parameter in EntityJoin">PK</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EntityJoin.</span><code><span class="memberNameLink"><a href="../../persist/EntityJoin.html#keys-com.sleepycat.db.Transaction-com.sleepycat.db.CursorConfig-">keys</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a>&nbsp;config)</code></th>
<td class="colLast">
<div class="block">Opens a cursor that returns the primary keys of entities qualifying for
the join.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../persist/PrimaryIndex.html#put-com.sleepycat.db.Transaction-E-">put</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../../persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a>&nbsp;entity)</code></th>
<td class="colLast">
<div class="block">Inserts an entity and returns null, or updates it if the primary key
already exists and returns the existing entity.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../persist/PrimaryIndex.html#putNoOverwrite-com.sleepycat.db.Transaction-E-">putNoOverwrite</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../../persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a>&nbsp;entity)</code></th>
<td class="colLast">
<div class="block">Inserts an entity and returns true, or returns false if the primary key
already exists.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../persist/PrimaryIndex.html#putNoReturn-com.sleepycat.db.Transaction-E-">putNoReturn</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
<a href="../../persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a>&nbsp;entity)</code></th>
<td class="colLast">
<div class="block">Inserts an entity, or updates it if the primary key already exists (does
not return the existing entity).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../persist/EntityStore.html#truncateClass-com.sleepycat.db.Transaction-java.lang.Class-">truncateClass</a></span>&#8203;(<a href="../Transaction.html" title="class in com.sleepycat.db">Transaction</a>&nbsp;txn,
java.lang.Class&nbsp;entityClass)</code></th>
<td class="colLast">
<div class="block">Deletes all instances of this entity class and its (non-entity)
subclasses.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= 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="../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../Transaction.html" title="class in com.sleepycat.db">Class</a></li>
<li class="navBarCell1Rev">Use</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 class="aboutLanguage"><b>Berkeley DB</b><br><font size="-1"> version 18.1.40</font></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><font size=1>Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.</font></small></p>
</body>
</html>