org.axiondb.engine.indexes
Class BaseBTreeIndex
java.lang.Object
org.axiondb.event.BaseTableModificationListener
org.axiondb.engine.indexes.BaseIndex
org.axiondb.engine.indexes.BaseBTreeIndex
- All Implemented Interfaces:
- TableModificationListener, Index
- Direct Known Subclasses:
- IntBTreeIndex, ObjectBTreeIndex
public abstract class BaseBTreeIndex
- extends BaseIndex
- implements Index
Abstract base implementation for B-Tree based indices
.
- Version:
- $Revision: 1.6 $ $Date: 2005/03/12 02:10:41 $
Method Summary |
java.lang.String |
getType()
Returns my type. |
void |
save(java.io.File dataDirectory)
|
void |
saveAfterTruncate(java.io.File dataDirectory)
|
boolean |
supportsFunction(Function fn)
Returns true iff
#getRowIterator(org.axiondb.RowSource,org.axiondb.ComparisonOperator,java.lang.Object)
can support the given operator, false otherwise. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseBTreeIndex
public BaseBTreeIndex(java.lang.String name,
Column column,
boolean unique)
getType
public java.lang.String getType()
- Description copied from interface:
Index
- Returns my type.
- Specified by:
getType
in interface Index
save
public void save(java.io.File dataDirectory)
throws AxionException
- Specified by:
save
in interface Index
- Specified by:
save
in class BaseIndex
- Throws:
AxionException
saveAfterTruncate
public void saveAfterTruncate(java.io.File dataDirectory)
throws AxionException
- Specified by:
saveAfterTruncate
in interface Index
- Specified by:
saveAfterTruncate
in class BaseIndex
- Throws:
AxionException
supportsFunction
public boolean supportsFunction(Function fn)
- Description copied from interface:
Index
- Returns true iff
#getRowIterator(org.axiondb.RowSource,org.axiondb.ComparisonOperator,java.lang.Object)
can support the given operator, false otherwise.
- Specified by:
supportsFunction
in interface Index
- Specified by:
supportsFunction
in class BaseIndex