⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 btree.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#BTree()">BTree</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#BTree(java.io.File)">BTree</A></B>(java.io.File&nbsp;file)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#addValue(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.data.Value, long)">addValue</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A>&nbsp;root,         <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A>&nbsp;value,         long&nbsp;pointer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addValue adds a Value to the BTree and associates a pointer with it.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#addValue(net.jxta.impl.xindice.core.data.Value, long)">addValue</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A>&nbsp;value,         long&nbsp;pointer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addValue adds a Value to the BTree and associates a pointer with it.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#create()">create</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#createBTreeRoot(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.data.Value)">createBTreeRoot</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A>&nbsp;root,                <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A>&nbsp;v)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;createBTreeRoot creates a new BTree root node in the BTree file based on the provided root information, and value for the tree.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#createBTreeRoot(net.jxta.impl.xindice.core.data.Value)">createBTreeRoot</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A>&nbsp;v)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;createBTreeRoot creates a new BTree root node in the BTree file based on the provided value for the main tree.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.FileHeader.html" title="class in net.jxta.impl.xindice.core.filer">Paged.FileHeader</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#createFileHeader()">createFileHeader</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;createFileHeader must be implemented by a Paged implementation in order to create an appropriate subclass instance of a FileHeader.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.FileHeader.html" title="class in net.jxta.impl.xindice.core.filer">Paged.FileHeader</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#createFileHeader(boolean)">createFileHeader</A></B>(boolean&nbsp;read)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;createFileHeader must be implemented by a Paged implementation in order to create an appropriate subclass instance of a FileHeader.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.FileHeader.html" title="class in net.jxta.impl.xindice.core.filer">Paged.FileHeader</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#createFileHeader(long)">createFileHeader</A></B>(long&nbsp;pageCount)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;createFileHeader must be implemented by a Paged implementation in order to create an appropriate subclass instance of a FileHeader.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.FileHeader.html" title="class in net.jxta.impl.xindice.core.filer">Paged.FileHeader</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#createFileHeader(long, int)">createFileHeader</A></B>(long&nbsp;pageCount,                 int&nbsp;pageSize)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;createFileHeader must be implemented by a Paged implementation in order to create an appropriate subclass instance of a FileHeader.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.PageHeader.html" title="class in net.jxta.impl.xindice.core.filer">Paged.PageHeader</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#createPageHeader()">createPageHeader</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;createPageHeader must be implemented by a Paged implementation in order to create an appropriate subclass instance of a PageHeader.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#findBTreeRoot(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.data.Value)">findBTreeRoot</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A>&nbsp;root,              <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A>&nbsp;v)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;findBTreeRoot searches for a BTreeRoot in the file and returns the BTreeRootInfo for the specified value based on the provided BTreeRootInfo value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#findBTreeRoot(net.jxta.impl.xindice.core.data.Value)">findBTreeRoot</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A>&nbsp;v)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;findBTreeRoot searches for a BTreeRoot in the file and returns the BTreeRootInfo for the specified value based on the main tree.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#findValue(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.data.Value)">findValue</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A>&nbsp;root,          <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A>&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;findValue finds a Value in the BTree and returns the associated pointer for it.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#findValue(net.jxta.impl.xindice.core.data.Value)">findValue</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A>&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;findValue finds a Value in the BTree and returns the associated pointer for it.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;net.jxta.impl.xindice.core.filer.BTree.BTreeNode</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#getRootNode()">getRootNode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getRootNode retreives the BTree node for the file's root.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;net.jxta.impl.xindice.core.filer.BTree.BTreeNode</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#getRootNode(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo)">getRootNode</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A>&nbsp;root)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getRootNode retreives the BTree node for the specified root object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#open()">open</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#query(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.indexer.IndexQuery, net.jxta.impl.xindice.core.filer.BTreeCallback)">query</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A>&nbsp;root,      <A HREF="../../../../../../net/jxta/impl/xindice/core/indexer/IndexQuery.html" title="class in net.jxta.impl.xindice.core.indexer">IndexQuery</A>&nbsp;query,      <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeCallback.html" title="interface in net.jxta.impl.xindice.core.filer">BTreeCallback</A>&nbsp;callback)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;query performs a query against the BTree and performs callback operations to report the search results.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#query(net.jxta.impl.xindice.core.indexer.IndexQuery, net.jxta.impl.xindice.core.filer.BTreeCallback)">query</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/indexer/IndexQuery.html" title="class in net.jxta.impl.xindice.core.indexer">IndexQuery</A>&nbsp;query,      <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeCallback.html" title="interface in net.jxta.impl.xindice.core.filer">BTreeCallback</A>&nbsp;callback)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;query performs a query against the BTree and performs callback operations to report the search results.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#removeValue(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.data.Value)">removeValue</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A>&nbsp;root,            <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A>&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;removeValue removes a Value from the BTree and returns the associated pointer for it.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.html#removeValue(net.jxta.impl.xindice.core.data.Value)">removeValue</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A>&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;removeValue removes a Value from the BTree and returns the

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -