Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 0edb29da6b5db90465dd0d294e6cfd6a > files > 413

db4.8-4.8.30-13.mga4.x86_64.rpm

<!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 (version 1.7.0_45) on Thu Jan 09 22:45:24 GMT 2014 -->
<title>SimpleCatalog</title>
<meta name="date" content="2014-01-09">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="SimpleCatalog";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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="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="../../../../com/sleepycat/persist/impl/ProxiedFormat.html" title="class in com.sleepycat.persist.impl"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/sleepycat/persist/impl/SimpleFormat.html" title="class in com.sleepycat.persist.impl"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/sleepycat/persist/impl/SimpleCatalog.html" target="_top">Frames</a></li>
<li><a href="SimpleCatalog.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All 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>Constr&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>Constr&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">com.sleepycat.persist.impl</div>
<h2 title="Class SimpleCatalog" class="title">Class SimpleCatalog</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.sleepycat.persist.impl.SimpleCatalog</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">SimpleCatalog</span>
extends java.lang.Object</pre>
<div class="block">A static catalog containing simple types only.  Once created, this catalog
 is immutable.

 For bindings accessed by a PersistComparator during recovery, the
 SimpleCatalog provides formats for all simple types.  To reduce redundant
 format objects, the SimpleCatalog's formats are copied when creating a
 regular PersistCatalog.

 This class also contains utility methods for dealing with primitives.</div>
</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="overviewSummary" 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 int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#BETA_VERSION">BETA_VERSION</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#CURRENT_VERSION">CURRENT_VERSION</a></strong></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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.Class</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#classForName(java.lang.String)">classForName</a></strong>(java.lang.String&nbsp;className)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#convertRawObject(com.sleepycat.persist.raw.RawObject, java.util.IdentityHashMap)">convertRawObject</a></strong>(<a href="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw">RawObject</a>&nbsp;o,
                java.util.IdentityHashMap&nbsp;converted)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#createFormat(java.lang.Class, java.util.Map)">createFormat</a></strong>(java.lang.Class&nbsp;type,
            java.util.Map&lt;java.lang.String,<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&gt;&nbsp;newFormats)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#createFormat(java.lang.String, java.util.Map)">createFormat</a></strong>(java.lang.String&nbsp;clsName,
            java.util.Map&lt;java.lang.String,<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&gt;&nbsp;newFormats)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#getFormat(java.lang.Class, boolean)">getFormat</a></strong>(java.lang.Class&nbsp;cls,
         boolean&nbsp;checkEntitySubclassIndexes)</code>
<div class="block">Returns a format for a given class, or throws an exception.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#getFormat(int)">getFormat</a></strong>(int&nbsp;formatId)</code>
<div class="block">Returns a format for a given ID, or throws an exception.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#getFormat(java.lang.String)">getFormat</a></strong>(java.lang.String&nbsp;className)</code>
<div class="block">Returns a format by class name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#getInitVersion(com.sleepycat.persist.impl.Format, boolean)">getInitVersion</a></strong>(<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&nbsp;format,
              boolean&nbsp;forReader)</code>
<div class="block">See above.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#isRawAccess()">isRawAccess</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.Class</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#keyClassForName(java.lang.String)">keyClassForName</a></strong>(java.lang.String&nbsp;className)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/SimpleCatalog.html#keyClassName(java.lang.String)">keyClassName</a></strong>(java.lang.String&nbsp;className)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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="BETA_VERSION">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BETA_VERSION</h4>
<pre>public static final&nbsp;int BETA_VERSION</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.sleepycat.persist.impl.SimpleCatalog.BETA_VERSION">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CURRENT_VERSION">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CURRENT_VERSION</h4>
<pre>public static final&nbsp;int CURRENT_VERSION</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.sleepycat.persist.impl.SimpleCatalog.CURRENT_VERSION">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="keyClassForName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keyClassForName</h4>
<pre>public static&nbsp;java.lang.Class&nbsp;keyClassForName(java.lang.String&nbsp;className)</pre>
</li>
</ul>
<a name="keyClassName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keyClassName</h4>
<pre>public static&nbsp;java.lang.String&nbsp;keyClassName(java.lang.String&nbsp;className)</pre>
</li>
</ul>
<a name="classForName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>classForName</h4>
<pre>public static&nbsp;java.lang.Class&nbsp;classForName(java.lang.String&nbsp;className)
                                    throws java.lang.ClassNotFoundException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ClassNotFoundException</code></dd></dl>
</li>
</ul>
<a name="getInitVersion(com.sleepycat.persist.impl.Format, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInitVersion</h4>
<pre>public&nbsp;int&nbsp;getInitVersion(<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&nbsp;format,
                 boolean&nbsp;forReader)</pre>
<div class="block">See above.</div>
</li>
</ul>
<a name="getFormat(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFormat</h4>
<pre>public&nbsp;<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&nbsp;getFormat(int&nbsp;formatId)</pre>
<div class="block">Returns a format for a given ID, or throws an exception.  This method is
 used when reading an object from the byte array format.</div>
</li>
</ul>
<a name="getFormat(java.lang.Class, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFormat</h4>
<pre>public&nbsp;<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&nbsp;getFormat(java.lang.Class&nbsp;cls,
               boolean&nbsp;checkEntitySubclassIndexes)</pre>
<div class="block">Returns a format for a given class, or throws an exception.  This method
 is used when writing an object that was passed in by the user.</div>
<dl><dd><code>checkEntitySubclassIndexes</code> - is true if we're expecting this format
 to be an entity subclass and therefore subclass secondary indexes should
 be opened.</dd></dl>
</li>
</ul>
<a name="getFormat(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFormat</h4>
<pre>public&nbsp;<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&nbsp;getFormat(java.lang.String&nbsp;className)</pre>
<div class="block">Returns a format by class name.  Unlike <code>#getFormat(Class)</code>, the
 format will not be created if it is not already known.</div>
</li>
</ul>
<a name="createFormat(java.lang.String, java.util.Map)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFormat</h4>
<pre>public&nbsp;<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&nbsp;createFormat(java.lang.String&nbsp;clsName,
                  java.util.Map&lt;java.lang.String,<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&gt;&nbsp;newFormats)</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/sleepycat/persist/impl/PersistCatalog.html#createFormat(java.lang.String, java.util.Map)"><code>PersistCatalog.createFormat(java.lang.String, java.util.Map&lt;java.lang.String, com.sleepycat.persist.impl.Format&gt;)</code></a></dd></dl>
</li>
</ul>
<a name="createFormat(java.lang.Class, java.util.Map)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFormat</h4>
<pre>public&nbsp;<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&nbsp;createFormat(java.lang.Class&nbsp;type,
                  java.util.Map&lt;java.lang.String,<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&gt;&nbsp;newFormats)</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/sleepycat/persist/impl/PersistCatalog.html#createFormat(java.lang.String, java.util.Map)"><code>PersistCatalog.createFormat(java.lang.String, java.util.Map&lt;java.lang.String, com.sleepycat.persist.impl.Format&gt;)</code></a></dd></dl>
</li>
</ul>
<a name="isRawAccess()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRawAccess</h4>
<pre>public&nbsp;boolean&nbsp;isRawAccess()</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/sleepycat/persist/impl/PersistCatalog.html#isRawAccess()"><code>PersistCatalog.isRawAccess()</code></a></dd></dl>
</li>
</ul>
<a name="convertRawObject(com.sleepycat.persist.raw.RawObject, java.util.IdentityHashMap)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>convertRawObject</h4>
<pre>public&nbsp;java.lang.Object&nbsp;convertRawObject(<a href="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw">RawObject</a>&nbsp;o,
                                java.util.IdentityHashMap&nbsp;converted)</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/sleepycat/persist/impl/PersistCatalog.html#convertRawObject(com.sleepycat.persist.raw.RawObject, java.util.IdentityHashMap)"><code>PersistCatalog.convertRawObject(com.sleepycat.persist.raw.RawObject, java.util.IdentityHashMap)</code></a></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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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="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="../../../../com/sleepycat/persist/impl/ProxiedFormat.html" title="class in com.sleepycat.persist.impl"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/sleepycat/persist/impl/SimpleFormat.html" title="class in com.sleepycat.persist.impl"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/sleepycat/persist/impl/SimpleCatalog.html" target="_top">Frames</a></li>
<li><a href="SimpleCatalog.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All 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>Constr&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>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>