mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
21 lines
468 B
Java
21 lines
468 B
Java
package com.avaje.ebeaninternal.server.expression;
|
|
|
|
import com.avaje.ebean.event.BeanQueryRequest;
|
|
import com.avaje.ebeaninternal.api.SpiExpression;
|
|
|
|
/**
|
|
* Base abstract expression that does nothing for prepareExpression().
|
|
*/
|
|
abstract class NonPrepareExpression implements SpiExpression {
|
|
|
|
@Override
|
|
public void prepareExpression(BeanQueryRequest<?> request) {
|
|
// do nothing
|
|
}
|
|
|
|
@Override
|
|
public SpiExpression copyForPlanKey() {
|
|
return this;
|
|
}
|
|
}
|