Java Doc for BtreePage.java in » Database-DBMS » h2database » org » h2 » index » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
Database DBMS
»
h2database
»
org.h2.index
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.h2.store
.Record
org.h2.index
.BtreePage
All known Subclasses:
org.h2.index
.BtreeNode
,
org.h2.index
.BtreeLeaf
,
BtreePage
abstract
public
class BtreePage extends
Record
(Code)
An abstract b-tree page.
Field Summary
final
protected
static int
BLOCKS_PER_PAGE
protected
BtreeIndex
index
protected
ObjectArray
pageData
protected
boolean
root
Constructor Summary
BtreePage
(
BtreeIndex
index)
Method Summary
abstract
int
add
(
Row
row,
Session
session)
Add a row to the index.
abstract
boolean
findFirst
(
BtreeCursor
cursor,
SearchRow
row, boolean bigger)
abstract
void
first
(
BtreeCursor
cursor)
public
int
getByteCount
(
DataPage
dummy)
SearchRow
getData
(int i)
abstract
SearchRow
getFirst
(
Session
session)
abstract
SearchRow
getLast
(
Session
session)
abstract
int
getRealByteCount
()
int
getRowSize
(
DataPage
dummy,
SearchRow
row)
int
getSplitPoint
()
public
boolean
isEmpty
()
public
boolean
isPinned
()
abstract
void
next
(
BtreeCursor
cursor, int i)
abstract
SearchRow
remove
(
Session
session,
Row
row)
Remove a row from the page.
void
setRoot
(boolean root)
abstract
BtreePage
split
(
Session
session, int splitPoint)
Field Detail
BLOCKS_PER_PAGE
final
protected
static int BLOCKS_PER_PAGE
(Code)
index
protected
BtreeIndex
index
(Code)
pageData
protected
ObjectArray
pageData
(Code)
root
protected
boolean root
(Code)
Constructor Detail
BtreePage
BtreePage(
BtreeIndex
index)
(Code)
Method Detail
add
abstract
int add(
Row
row,
Session
session) throws
SQLException
(Code)
Add a row to the index.
Parameters:
row - the row
Parameters:
session - the session the split point of this page, or 0 if no split is required
findFirst
abstract
boolean findFirst(
BtreeCursor
cursor,
SearchRow
row, boolean bigger) throws
SQLException
(Code)
first
abstract
void first(
BtreeCursor
cursor) throws
SQLException
(Code)
getByteCount
public
int getByteCount(
DataPage
dummy) throws
SQLException
(Code)
getData
SearchRow
getData(int i) throws
SQLException
(Code)
getFirst
abstract
SearchRow
getFirst(
Session
session) throws
SQLException
(Code)
getLast
abstract
SearchRow
getLast(
Session
session) throws
SQLException
(Code)
getRealByteCount
abstract
int getRealByteCount() throws
SQLException
(Code)
getRowSize
int getRowSize(
DataPage
dummy,
SearchRow
row) throws
SQLException
(Code)
getSplitPoint
int getSplitPoint() throws
SQLException
(Code)
isEmpty
public
boolean isEmpty()
(Code)
isPinned
public
boolean isPinned()
(Code)
next
abstract
void next(
BtreeCursor
cursor, int i) throws
SQLException
(Code)
remove
abstract
SearchRow
remove(
Session
session,
Row
row) throws
SQLException
(Code)
Remove a row from the page.
Parameters:
session - the session
Parameters:
row - the row the new first row in the list; null if no change; the deleted rowif not empty
setRoot
void setRoot(boolean root)
(Code)
split
abstract
BtreePage
split(
Session
session, int splitPoint) throws
SQLException
(Code)
Methods inherited from
org.h2.store.Record
public
boolean canRemove()
(Code)
(Java Doc)
public
void commit()
(Code)
(Java Doc)
abstract
public
int getByteCount(
DataPage
dummy) throws
SQLException
(Code)
(Java Doc)
public
boolean getDeleted()
(Code)
(Java Doc)
public
int getSessionId()
(Code)
(Java Doc)
public
int getStorageId()
(Code)
(Java Doc)
public
boolean isEmpty()
(Code)
(Java Doc)
public
boolean isLogWritten()
(Code)
(Java Doc)
public
void prepareWrite() throws
SQLException
(Code)
(Java Doc)
public
void setDeleted(boolean deleted)
(Code)
(Java Doc)
public
void setLastLog(int log, int pos)
(Code)
(Java Doc)
public
void setLogWritten(int log, int pos)
(Code)
(Java Doc)
public
void setSessionId(int sessionId)
(Code)
(Java Doc)
public
void setStorageId(int storageId)
(Code)
(Java Doc)
abstract
public
void write(
DataPage
buff) throws
SQLException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.