mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-06 21:05:50 +08:00
This commit is contained in:
parent
2213d213c0
commit
5b64de8215
@ -7,6 +7,7 @@ package com.mysema.query.scala;
|
||||
|
||||
import com.mysema.query.scala.Constants._
|
||||
import com.mysema.query.scala.Operations._
|
||||
import com.mysema.query.scala.Conversions.aliasFactory
|
||||
|
||||
import com.mysema.query.types._
|
||||
import com.mysema.query.types.PathMetadataFactory._
|
||||
@ -25,15 +26,6 @@ object Constants {
|
||||
|
||||
}
|
||||
|
||||
object Resolver {
|
||||
|
||||
def resolve(value: java.lang.Integer) = ConstantImpl.create(value.intValue);
|
||||
|
||||
def resolve(value: String) = ConstantImpl.create(value);
|
||||
|
||||
def resolve[T](value: T) = new ConstantImpl(value);
|
||||
}
|
||||
|
||||
trait SimpleExpression[T] extends Expression[T] {
|
||||
|
||||
def $eq(right: T): BooleanExpression = $eq(constant(right)); // XXX "is"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user