Exemple #1
0
 private static extern void xflaim_DbInfo_getBTreeInfo(
     IntPtr pDbInfo,
     uint uiNthLogicalFile,
     out uint puiLfNum,
     out eLFileType peLfType,
     out uint puiRootBlkAddress,
     out uint puiNumLevels);
Exemple #2
0
//-----------------------------------------------------------------------------
// getBTreeInfo
//-----------------------------------------------------------------------------

        /// <summary>
        /// Returns information about a particular B-Tree in the database
        /// </summary>
        /// <param name="uiNthLogicalFile">
        /// Logical file for which information is being requested.  Note that
        /// the total number of logical files is the sum of collections and
        /// indexes.  Collections are the numbers between 0 and CollectionCount - 1.
        /// Indexes are the numbers between CollectionCount and CollectionCount + IndexCount - 1.
        /// Thus, if there are 5 collections, and 3 indexes, the collections will
        /// be in elements 0 through 4, and the indexes will be in elements 5 through 7.
        /// </param>
        /// <param name="puiLfNum">
        /// Logical file number for the requested logical file is returned here.
        /// </param>
        /// <param name="peLfType">
        /// Type of logical file is returned here.
        /// </param>
        /// <param name="puiRootBlkAddress">
        /// Root block address for the logical file is returned here.
        /// </param>
        /// <param name="puiNumLevels">
        /// Number of levels in the B-tree is returned here.
        /// </param>
        public void getBTreeInfo(
            uint uiNthLogicalFile,
            out uint puiLfNum,
            out eLFileType peLfType,
            out uint puiRootBlkAddress,
            out uint puiNumLevels)
        {
            xflaim_DbInfo_getBTreeInfo(m_pDbInfo, uiNthLogicalFile, out puiLfNum,
                                       out peLfType, out puiRootBlkAddress, out puiNumLevels);
        }
        private static extern void xflaim_DbInfo_getBTreeInfo(
			IntPtr				pDbInfo,
			uint					uiNthLogicalFile,
			out uint				puiLfNum,
			out eLFileType		peLfType,
			out uint				puiRootBlkAddress,
			out uint				puiNumLevels);
        //-----------------------------------------------------------------------------
        // getBTreeInfo
        //-----------------------------------------------------------------------------
        /// <summary>
        /// Returns information about a particular B-Tree in the database
        /// </summary>
        /// <param name="uiNthLogicalFile">
        /// Logical file for which information is being requested.  Note that
        /// the total number of logical files is the sum of collections and
        /// indexes.  Collections are the numbers between 0 and CollectionCount - 1.
        /// Indexes are the numbers between CollectionCount and CollectionCount + IndexCount - 1.
        /// Thus, if there are 5 collections, and 3 indexes, the collections will
        /// be in elements 0 through 4, and the indexes will be in elements 5 through 7.
        /// </param>
        /// <param name="puiLfNum">
        /// Logical file number for the requested logical file is returned here.
        /// </param>
        /// <param name="peLfType">
        /// Type of logical file is returned here.
        /// </param>
        /// <param name="puiRootBlkAddress">
        /// Root block address for the logical file is returned here.
        /// </param>
        /// <param name="puiNumLevels">
        /// Number of levels in the B-tree is returned here.
        /// </param>
        public void getBTreeInfo(
			uint					uiNthLogicalFile,
			out uint				puiLfNum,
			out eLFileType		peLfType,
			out uint				puiRootBlkAddress,
			out uint				puiNumLevels)
        {
            xflaim_DbInfo_getBTreeInfo( m_pDbInfo, uiNthLogicalFile, out puiLfNum,
                out peLfType, out puiRootBlkAddress, out puiNumLevels);
        }