org.openmobileis.database.fastobjectdb
Class FODBIndexDescriptor
java.lang.Object
org.openmobileis.database.fastobjectdb.FODBIndexDescriptor
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- FODBIntIndexDescriptor, FODBLongIndexDescriptor, FODBStringIndexDescriptor
- public abstract class FODBIndexDescriptor
- extends java.lang.Object
- implements java.io.Serializable
Use to describe collection index properties.
FODB create index by using the FODBIndexDescriptor provided.
Name : define the collection to attach the index
memberName : define the field or method of the collection object that has to be indexed
type : define the index type : UNIQUE or MULTIPLE
order : define the order of the Btree index. By default use 15 for collection of Thousand object.
For greater collection increase the order.
- See Also:
- Serialized Form
Constructor Summary |
FODBIndexDescriptor(java.lang.String newName,
int indexType,
java.lang.String newMemberName,
int btreeorder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNIQUE
public static final int UNIQUE
- See Also:
- Constant Field Values
MULTIPLE
public static final int MULTIPLE
- See Also:
- Constant Field Values
FODBIndexDescriptor
public FODBIndexDescriptor(java.lang.String newName,
int indexType,
java.lang.String newMemberName,
int btreeorder)
getName
public java.lang.String getName()
getMemberName
public java.lang.String getMemberName()
getType
public int getType()
isUnique
public boolean isUnique()
isMultiple
public boolean isMultiple()
getOrder
public int getOrder()
Copyright 2005 e-Care. All Rights Reserved.