*/
private IndexQuery makeValueQuery() {
if (value.getClass().equals(String.class)) {
return new BinValueQuery((BinIndex) index, bucket, (String) value);
} else if (Number.class.isAssignableFrom(value.getClass())) {
return new IntValueQuery((IntIndex) index, bucket, ((Number)value).longValue());
}
return null;
}