com.dooapp.gaedo.finders.projection.NoopProjectionBuilder Maven / Gradle / Ivy
package com.dooapp.gaedo.finders.projection;
import com.dooapp.gaedo.finders.Informer;
/**
* in some cases (typically GAE), it is easier to always rely upon projector than to avoid it, so use this one in that case
* @author ndx
*
* @param
* @param
*/
public class NoopProjectionBuilder> implements ProjectionBuilder {
@Override
public DataType project(InformerType informer, ValueFetcher fetcher) {
return fetcher.getValue(informer);
}
}