mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-24 21:07:26 +08:00
This commit is contained in:
parent
67356a50f8
commit
75dbd39575
@ -11,7 +11,6 @@ import com.mysema.query.QueryMetadata;
|
||||
import com.mysema.query.types.Expr;
|
||||
import com.mysema.query.types.Operator;
|
||||
import com.mysema.query.types.Ops;
|
||||
import com.mysema.query.types.Path;
|
||||
import com.mysema.query.types.SubQuery;
|
||||
import com.mysema.query.types.Visitor;
|
||||
import com.mysema.query.types.expr.EBoolean;
|
||||
@ -74,12 +73,6 @@ public final class ListSubQuery<A> extends ECollectionBase<List<A>,A> implements
|
||||
return subQueryMixin.notExists();
|
||||
}
|
||||
|
||||
// @SuppressWarnings("unchecked")
|
||||
// @Override
|
||||
// public Expr<List<A>> as(Path<List<A>> alias) {
|
||||
// return OSimple.create(getType(),(Operator)Ops.ALIAS, this, alias.asExpr());
|
||||
// }
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public Expr<?> as(Expr<?> alias) {
|
||||
return OSimple.create(alias.getType(),(Operator)Ops.ALIAS, this, alias.asExpr());
|
||||
|
||||
@ -6,14 +6,10 @@
|
||||
package com.mysema.query.types.query;
|
||||
|
||||
import com.mysema.query.QueryMetadata;
|
||||
import com.mysema.query.types.Operator;
|
||||
import com.mysema.query.types.Ops;
|
||||
import com.mysema.query.types.Path;
|
||||
import com.mysema.query.types.SubQuery;
|
||||
import com.mysema.query.types.Visitor;
|
||||
import com.mysema.query.types.expr.EBoolean;
|
||||
import com.mysema.query.types.expr.ETime;
|
||||
import com.mysema.query.types.expr.OTime;
|
||||
|
||||
/**
|
||||
* Single result subquery
|
||||
@ -63,10 +59,4 @@ public final class TimeSubQuery<A extends Comparable<?>> extends ETime<A> implem
|
||||
return subQueryMixin.notExists();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public ETime<A> as(Path<A> alias) {
|
||||
return OTime.create(getType(),(Operator)Ops.ALIAS, this, alias.asExpr());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user