Java Doc for TTree.java in  » Database-DBMS » axion » org » axiondb » ext » indexes » ttree » 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 » axion » org.axiondb.ext.indexes.ttree 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.axiondb.ext.indexes.ttree.TTree

All known Subclasses:   org.axiondb.ext.indexes.ttree.MemoryTTree,  org.axiondb.ext.indexes.ttree.DiskTTree,
TTree
abstract public class TTree (Code)
T-Tree contaniner for objects. T-Tree is most efficient data structure for exact and range data queries in the assumption that all data is present in memory. This class is used in implementation of query iterators to provide fast indexed access to the records.
version:
   $Revision: 1.1 $ $Date: 2005/06/30 01:14:44 $
author:
   Pavels Andrejevs

Inner Class :abstract public static class Processor
Inner Class :protected static class NextNodeLinker extends Processor
Inner Class :protected static class NodeChecker extends Processor
Inner Class :protected static class PrevNodeLinker extends Processor
Inner Class :protected static class TreeForwardNotNullTraverser extends TreeTraverser
Inner Class :protected static class TreeForwardNullTraverser extends TreeTraverser
Inner Class :protected static class TreeForwardTraverser extends TreeTraverser
Inner Class :protected static class TreeSerializer extends Processor
Inner Class :protected static class TreeStripper extends Processor
Inner Class :abstract protected static class TreeTraverser extends Processor
Inner Class :protected static class ValueReplacer extends Processor


Constructor Summary
public  TTree(int maxNodeSize, Comparator comparator, TTreeMetaData metaData)
    

Method Summary
final public  voidcheck()
    
final  intcompare(Object x, Object y)
    
final public  voiddelete(Object key, int value)
    
final public  voiddeleteAll(Object key)
    
public  voiddeleteNode(AbstractTTreeNode node)
    
final public  Integerget(Object key)
    
final public  IntListIteratorgetAll(Object key)
    
final public  IntListIteratorgetAllNotNull()
    
final public  IntListIteratorgetAllNull()
    
public  ComparatorgetComparator()
    
final public  AbstractTTreeNodegetFirst()
    
public  IntListIteratorChaingetInorderIterator()
    
final public  AbstractTTreeNodegetLast()
    
public  intgetMaxNodeSize()
    
public  TTreeMetaDatagetMetaData()
    
public  intgetMinNodeSize()
    
public  ObjectgetNullKey()
    
final public  AbstractTTreeNodegetRoot()
    
final public  voidinsert(Object key, int value, boolean unique)
    
final  booleanisEqual(Object x, Object y)
    
final  booleanisGreater(Object x, Object y, int inclusive)
    
final  booleanisGreaterThan(Object x, Object y)
    
final  booleanisGreaterThanOrEqual(Object x, Object y)
    
final  booleanisLess(Object x, Object y, int inclusive)
    
final  booleanisLessThan(Object x, Object y)
    
final  booleanisLessThanOrEqual(Object x, Object y)
    
public  booleanisMemoryOnly()
    
final  booleanisNotEqual(Object x, Object y)
    
public  booleanisValid()
    
abstract public  AbstractTTreeNodenewNode()
    
abstract public  AbstractTTreeNodenewNode(int fileId)
    
final public  voidreplace(Object key, int oldValue, int newValue)
    
final public  voidsave(File dataDirectory)
    
final public  voidsaveAfterTruncate(File dataDirectory)
    
public  voidscanBackward(Processor proc)
    
public  voidscanForward(Processor proc)
    
public  IntListIteratorChainselect(Object minValue, Object maxValue, boolean inclusive)
    
public  IntListIteratorChainselect(Object minValue, Object maxValue, boolean inclusive, boolean first)
    
final public  booleanselect(Object minValue, Object maxValue, int inclusive, TTree.Processor proc, boolean first)
    
final public  voidsetFirst(AbstractTTreeNode first)
    
final public  voidsetLast(AbstractTTreeNode last)
    
public  voidsetMaxNodeSize(int maxNodeSize)
    
final protected  voidsetRoot(AbstractTTreeNode root)
    
final public  intsize()
    
final protected  voidsize(int size)
    
final public  StringtoString()
    
public  voidtraverseBackward(Processor proc)
    
public  voidtraverseForward(Processor proc)
    
public  voidtruncate()
    


Constructor Detail
TTree
public TTree(int maxNodeSize, Comparator comparator, TTreeMetaData metaData) throws AxionException(Code)




Method Detail
check
final public void check() throws AxionException(Code)



compare
final int compare(Object x, Object y)(Code)



delete
final public void delete(Object key, int value) throws AxionException(Code)



deleteAll
final public void deleteAll(Object key) throws AxionException(Code)



deleteNode
public void deleteNode(AbstractTTreeNode node)(Code)



get
final public Integer get(Object key) throws AxionException(Code)



getAll
final public IntListIterator getAll(Object key) throws AxionException(Code)



getAllNotNull
final public IntListIterator getAllNotNull() throws AxionException(Code)



getAllNull
final public IntListIterator getAllNull() throws AxionException(Code)



getComparator
public Comparator getComparator()(Code)



getFirst
final public AbstractTTreeNode getFirst()(Code)



getInorderIterator
public IntListIteratorChain getInorderIterator() throws AxionException(Code)



getLast
final public AbstractTTreeNode getLast()(Code)



getMaxNodeSize
public int getMaxNodeSize()(Code)



getMetaData
public TTreeMetaData getMetaData()(Code)



getMinNodeSize
public int getMinNodeSize()(Code)



getNullKey
public Object getNullKey()(Code)



getRoot
final public AbstractTTreeNode getRoot()(Code)



insert
final public void insert(Object key, int value, boolean unique) throws AxionException(Code)



isEqual
final boolean isEqual(Object x, Object y)(Code)



isGreater
final boolean isGreater(Object x, Object y, int inclusive)(Code)



isGreaterThan
final boolean isGreaterThan(Object x, Object y)(Code)



isGreaterThanOrEqual
final boolean isGreaterThanOrEqual(Object x, Object y)(Code)



isLess
final boolean isLess(Object x, Object y, int inclusive)(Code)



isLessThan
final boolean isLessThan(Object x, Object y)(Code)



isLessThanOrEqual
final boolean isLessThanOrEqual(Object x, Object y)(Code)



isMemoryOnly
public boolean isMemoryOnly()(Code)



isNotEqual
final boolean isNotEqual(Object x, Object y)(Code)



isValid
public boolean isValid()(Code)



newNode
abstract public AbstractTTreeNode newNode() throws AxionException(Code)



newNode
abstract public AbstractTTreeNode newNode(int fileId) throws AxionException(Code)



replace
final public void replace(Object key, int oldValue, int newValue) throws AxionException(Code)



save
final public void save(File dataDirectory) throws AxionException(Code)



saveAfterTruncate
final public void saveAfterTruncate(File dataDirectory) throws AxionException(Code)



scanBackward
public void scanBackward(Processor proc) throws AxionException(Code)



scanForward
public void scanForward(Processor proc) throws AxionException(Code)



select
public IntListIteratorChain select(Object minValue, Object maxValue, boolean inclusive) throws AxionException(Code)



select
public IntListIteratorChain select(Object minValue, Object maxValue, boolean inclusive, boolean first) throws AxionException(Code)



select
final public boolean select(Object minValue, Object maxValue, int inclusive, TTree.Processor proc, boolean first) throws AxionException(Code)



setFirst
final public void setFirst(AbstractTTreeNode first)(Code)



setLast
final public void setLast(AbstractTTreeNode last)(Code)



setMaxNodeSize
public void setMaxNodeSize(int maxNodeSize)(Code)



setRoot
final protected void setRoot(AbstractTTreeNode root)(Code)



size
final public int size()(Code)



size
final protected void size(int size)(Code)



toString
final public String toString()(Code)



traverseBackward
public void traverseBackward(Processor proc) throws AxionException(Code)
Traverse T-Tree elements in descent order



traverseForward
public void traverseForward(Processor proc) throws AxionException(Code)
Traverse T-Tree elements in ascent order



truncate
public void truncate() throws AxionException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.