@Override public String nameOf(Object property) { return jokerator.decode(property); }
@Override public String nameOf(Object property) { return jokerator.decode(property); }
@Override public String nameOf(Object property) { return jokerator.decode(property); }
protected String prop(Object code) { return jokerator.decode(code); }
@Override public <T> void createIndexOn(T property, Transformer<T> transformer) { createIndexOnNamed(jokerator.decode(property), transformer); }
@Override public <T> void createIndexOn(T property) { createIndexOnNamed(jokerator.decode(property)); }
@Override public <T> void createIndexOn(T property, Transformer<T> transformer) { createIndexOnNamed(jokerator.decode(property), transformer); }
@Override public <T> void createIndexOn(T property) { createIndexOnNamed(jokerator.decode(property)); }
@Override public <T> void createIndexOn(T property, Transformer<T> transformer) { createIndexOnNamed(jokerator.decode(property), transformer); }
@Override public <T> void createIndexOn(T property) { createIndexOnNamed(jokerator.decode(property)); }
public <T> Criteria<E, T> where(T property) { return new CriteriaImpl<E, T>(this, jokerator.decode(property)); }
@SuppressWarnings("unchecked") private <T> IndexerImpl<E, T> complexIndex(Object[] columns, final Mapper<E, ?> mapper) { Index index = makeIndex(); ComplexIndex<E> complexIndex = new ComplexIndexImpl<E>((Mapper<E, Object>) mapper, index); for (Object col : columns) { String colName = jokerator.decode(col); prop(colName).addComplexIndex(complexIndex); } allComplexIndices = U.expand(allComplexIndices, complexIndex); E entity = newEntity(); for (long id : ids()) { get_(id, entity); complexIndex.add(entity, id); } return new IndexerImpl<E, T>(complexIndex, index); }
@SuppressWarnings("unchecked") private <T> IndexerImpl<E, T> complexIndex(Object[] columns, final Mapper<E, ?> mapper) { Index index = makeIndex(); ComplexIndex<E> complexIndex = new ComplexIndexImpl<E>((Mapper<E, Object>) mapper, index); for (Object col : columns) { String colName = jokerator.decode(col); prop(colName).addComplexIndex(complexIndex); } allComplexIndices = U.expand(allComplexIndices, complexIndex); E entity = newEntity(); for (long id : ids()) { get_(id, entity); complexIndex.add(entity, id); } return new IndexerImpl<E, T>(complexIndex, index); }
@SuppressWarnings("unchecked") private <T> IndexerImpl<E, T> complexIndex(Object[] columns, final Mapper<E, ?> mapper) { Index index = makeIndex(); ComplexIndex<E> complexIndex = new ComplexIndexImpl<E>((Mapper<E, Object>) mapper, index); for (Object col : columns) { String colName = jokerator.decode(col); prop(colName).addComplexIndex(complexIndex); } allComplexIndices = U.expand(allComplexIndices, complexIndex); E entity = newEntity(); for (long id : ids()) { get_(id, entity); complexIndex.add(entity, id); } return new IndexerImpl<E, T>(complexIndex, index); }