IndexType.java
package org.microspace.annotation;
/**
* The IndexType specifies how a field is indexed.
* After the methods is scanned, AUTO IndexType will get resolved.
* @author Gaspar Sinai - {@literal gaspar.sinai@microspace.org}
* @version 2012-06-26
*/
public enum IndexType {
/**
* The field index type will be determined at runtime.
* Comparable fields will be SORTED.
* */
AUTO,
/**
* The field will be stored in HashMap and HasSet.
* */
HASHED,
/**
* The field will be stored in TreeMap and TreeSet.
* These type of fields can be compared.
*/
SORTED,
/**
* Dont index this field.
*/
NONE;
}