indexTypes[Type.STRING] = STRING;
indexTypes[Type.INTEGER] = INTEGER;
indexTypes[Type.DOUBLE] = DOUBLE;
indexTypes[Type.FLOAT] = FLOAT;
indexTypes[Type.BOOLEAN] = BOOLEAN;
<BUG>indexTypes[Type.DATE_TIME] = DATE_TIME;
}</BUG>
public static final int indexTypeToXPath(int type) {
return xpathTypes[type & RANGE_INDEX_MASK];
}

indexTypes[Type.STRING] = STRING;
indexTypes[Type.INTEGER] = INTEGER;
indexTypes[Type.DOUBLE] = DOUBLE;
indexTypes[Type.FLOAT] = FLOAT;
indexTypes[Type.BOOLEAN] = BOOLEAN;
indexTypes[Type.DATE_TIME] = DATE_TIME;
indexTypes[Type.DATE] = DATE;
}
public static final int indexTypeToXPath(int type) {
return xpathTypes[type & RANGE_INDEX_MASK];
}
