📄 btree.html
字号:
<DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="removeValue(net.jxta.impl.xindice.core.data.Value)"><!-- --></A><H3>removeValue</H3><PRE>public long <B>removeValue</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> value) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>removeValue removes a Value from the BTree and returns the associated pointer for it.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The Value to remove<DT><B>Returns:</B><DD>The pointer that was associated with it<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="removeValue(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.data.Value)"><!-- --></A><H3>removeValue</H3><PRE>public long <B>removeValue</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A> root, <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> value) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>removeValue removes a Value from the BTree and returns the associated pointer for it.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>root</CODE> - The BTree's root information (for nested trees)<DD><CODE>value</CODE> - The Value to remove<DT><B>Returns:</B><DD>The pointer that was associated with it<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="findValue(net.jxta.impl.xindice.core.data.Value)"><!-- --></A><H3>findValue</H3><PRE>public long <B>findValue</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> value) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>findValue finds a Value in the BTree and returns the associated pointer for it.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The Value to find<DT><B>Returns:</B><DD>The pointer that was associated with it<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="findValue(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.data.Value)"><!-- --></A><H3>findValue</H3><PRE>public long <B>findValue</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A> root, <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> value) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>findValue finds a Value in the BTree and returns the associated pointer for it.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>root</CODE> - The BTree's root information (for nested trees)<DD><CODE>value</CODE> - The Value to find<DT><B>Returns:</B><DD>The pointer that was associated with it<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="query(net.jxta.impl.xindice.core.indexer.IndexQuery, net.jxta.impl.xindice.core.filer.BTreeCallback)"><!-- --></A><H3>query</H3><PRE>public void <B>query</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/indexer/IndexQuery.html" title="class in net.jxta.impl.xindice.core.indexer">IndexQuery</A> query, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeCallback.html" title="interface in net.jxta.impl.xindice.core.filer">BTreeCallback</A> callback) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>query performs a query against the BTree and performs callback operations to report the search results.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>query</CODE> - The IndexQuery to use (or null for everything)<DD><CODE>callback</CODE> - The callback instance<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="query(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.indexer.IndexQuery, net.jxta.impl.xindice.core.filer.BTreeCallback)"><!-- --></A><H3>query</H3><PRE>public void <B>query</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A> root, <A HREF="../../../../../../net/jxta/impl/xindice/core/indexer/IndexQuery.html" title="class in net.jxta.impl.xindice.core.indexer">IndexQuery</A> query, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeCallback.html" title="interface in net.jxta.impl.xindice.core.filer">BTreeCallback</A> callback) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>query performs a query against the BTree and performs callback operations to report the search results.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>root</CODE> - The BTree's root information (for nested trees)<DD><CODE>query</CODE> - The IndexQuery to use (or null for everything)<DD><CODE>callback</CODE> - The callback instance<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="createBTreeRoot(net.jxta.impl.xindice.core.data.Value)"><!-- --></A><H3>createBTreeRoot</H3><PRE>protected final <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A> <B>createBTreeRoot</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> v) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>createBTreeRoot creates a new BTree root node in the BTree file based on the provided value for the main tree.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - The sub-tree Value to create<DT><B>Returns:</B><DD>The new BTreeRootInfo instance<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="createBTreeRoot(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.data.Value)"><!-- --></A><H3>createBTreeRoot</H3><PRE>protected final <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A> <B>createBTreeRoot</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A> root, <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> v) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>createBTreeRoot creates a new BTree root node in the BTree file based on the provided root information, and value for the tree.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>root</CODE> - The BTreeRootInfo to build off of<DD><CODE>v</CODE> - The sub-tree Value to create<DT><B>Returns:</B><DD>The new BTreeRootInfo instance<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="findBTreeRoot(net.jxta.impl.xindice.core.data.Value)"><!-- --></A><H3>findBTreeRoot</H3><PRE>protected final <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A> <B>findBTreeRoot</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> v) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>findBTreeRoot searches for a BTreeRoot in the file and returns the BTreeRootInfo for the specified value based on the main tree.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - The sub-tree Value to search for<DT><B>Returns:</B><DD>The new BTreeRootInfo instance<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="findBTreeRoot(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.data.Value)"><!-- --></A><H3>findBTreeRoot</H3><PRE>protected final <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A> <B>findBTreeRoot</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A> root, <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> v) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>findBTreeRoot searches for a BTreeRoot in the file and returns the BTreeRootInfo for the specified value based on the provided BTreeRootInfo value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>root</CODE> - The BTreeRootInfo to search from<DD><CODE>v</CODE> - The sub-tree Value to search for<DT><B>Returns:</B><DD>The new BTreeRootInfo instance<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="setRootNode(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo, net.jxta.impl.xindice.core.filer.BTree.BTreeNode)"><!-- --></A><H3>setRootNode</H3><PRE>protected final void <B>setRootNode</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A> root, net.jxta.impl.xindice.core.filer.BTree.BTreeNode newRoot) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>setRootNode resets the root for the specified root object to the
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -