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:
- Index, TableModificationListener
- Direct Known Subclasses:
- IntBTreeIndex, ObjectBTreeIndex
- public abstract class BaseBTreeIndex
- extends BaseIndex
- implements Index
Abstract base implementation for B-Tree based indices
.
- Version:
- $Revision: 1.5 $ $Date: 2004/09/09 23:47:46 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseBTreeIndex
public BaseBTreeIndex(String name,
Column column,
boolean unique)
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
save
public void save(File dataDirectory)
throws AxionException
- Specified by:
save
in interface Index
- Specified by:
save
in class BaseIndex
- Throws:
AxionException
saveAfterTruncate
public void saveAfterTruncate(File dataDirectory)
throws AxionException
- Specified by:
saveAfterTruncate
in interface Index
- Specified by:
saveAfterTruncate
in class BaseIndex
- Throws:
AxionException
getType
public String getType()
- Description copied from interface:
Index
- Returns my type.
- Specified by:
getType
in interface Index