Package | Description |
---|---|
com.mysema.query.collections |
Implementations of Querydsl query interfaces for JavaBean collections
|
com.mysema.query.jdo |
JDOQL support for Querydsl
|
com.mysema.query.jpa |
Query implementations for HQL and JPAQL
|
com.mysema.query.mongodb | |
com.mysema.query.spatial | |
com.mysema.query.sql |
SQL/JDBC support for Querydsl
|
com.mysema.query.sql.spatial | |
com.mysema.query.support |
Various support classes
|
com.mysema.query.types |
Contains Querydsl grammar types
|
com.mysema.query.types.expr |
Operations represent typed operations with operator and arguments
|
Modifier and Type | Method and Description |
---|---|
static Number |
CollQueryFunctions.aggregate(Collection<Number> source,
Expression<?> expr,
Operator<?> aggregator) |
protected void |
CollQuerySerializer.visitOperation(Class<?> type,
Operator<?> operator,
List<? extends Expression<?>> args) |
Modifier and Type | Method and Description |
---|---|
protected void |
JDOQLSerializer.visitOperation(Class<?> type,
Operator<?> operator,
List<? extends Expression<?>> args) |
Modifier and Type | Field and Description |
---|---|
static Operator<Object> |
JPQLOps.CAST |
static Operator<Integer> |
JPQLOps.INDEX |
static Operator<Boolean> |
JPQLOps.MEMBER_OF |
static Operator<Boolean> |
JPQLOps.NOT_MEMBER_OF |
static Operator<Object> |
JPQLOps.TREAT |
static Operator<String> |
JPQLOps.TYPE |
Modifier and Type | Method and Description |
---|---|
protected void |
JPQLSerializer.visitOperation(Class<?> type,
Operator<?> operator,
List<? extends Expression<?>> args) |
protected void |
NativeSQLSerializer.visitOperation(Class<?> type,
Operator<?> operator,
List<? extends Expression<?>> args) |
boolean |
HQLTemplates.wrapElements(Operator<?> operator) |
boolean |
JPQLTemplates.wrapElements(Operator<?> operator) |
Modifier and Type | Field and Description |
---|---|
static Operator<Boolean> |
MongodbOps.ELEM_MATCH |
static Operator<Boolean> |
MongodbOps.NEAR |
Modifier and Type | Field and Description |
---|---|
static Operator<Object> |
SpatialOps.AREA |
static Operator<Object> |
SpatialOps.AREA2 |
static Operator<Object> |
SpatialOps.AS_BINARY |
static Operator<Object> |
SpatialOps.AS_EWKT |
static Operator<Object> |
SpatialOps.AS_TEXT |
static Operator<Object> |
SpatialOps.BOUNDARY |
static Operator<Object> |
SpatialOps.BUFFER |
static Operator<Object> |
SpatialOps.BUFFER2 |
static Operator<Object> |
SpatialOps.CENTROID |
static Operator<Object> |
SpatialOps.COLLECT |
static Operator<Object> |
SpatialOps.COLLECT2 |
static Operator<Object> |
SpatialOps.CONTAINS |
static Operator<Object> |
SpatialOps.CONVEXHULL |
static Operator<Object> |
SpatialOps.CROSSES |
static Operator<Object> |
SpatialOps.DIFFERENCE |
static Operator<Object> |
SpatialOps.DIMENSION |
static Operator<Object> |
SpatialOps.DISJOINT |
static Operator<Object> |
SpatialOps.DISTANCE |
static Operator<Object> |
SpatialOps.DISTANCE_SPHERE |
static Operator<Object> |
SpatialOps.DISTANCE_SPHEROID |
static Operator<Object> |
SpatialOps.DISTANCE2 |
static Operator<Object> |
SpatialOps.DWITHIN |
static Operator<Object> |
SpatialOps.END_POINT |
static Operator<Object> |
SpatialOps.ENVELOPE |
static Operator<Object> |
SpatialOps.EQUALS |
static Operator<Object> |
SpatialOps.EXTENT |
static Operator<Object> |
SpatialOps.EXTERIOR_RING |
static Operator<Object> |
SpatialOps.EXTERIOR_RING2 |
static Operator<Object> |
SpatialOps.GEOM_FROM_TEXT |
static Operator<Object> |
SpatialOps.GEOMETRIES |
static Operator<Object> |
SpatialOps.GEOMETRY_TYPE |
static Operator<Object> |
SpatialOps.GEOMETRYN |
static Operator<Object> |
SpatialOps.INTERIOR_RINGN |
static Operator<Object> |
SpatialOps.INTERIOR_RINGS |
static Operator<Object> |
SpatialOps.INTERIOR_RINGS2 |
static Operator<Object> |
SpatialOps.INTERSECTION |
static Operator<Object> |
SpatialOps.INTERSECTS |
static Operator<Object> |
SpatialOps.IS_CLOSED |
static Operator<Object> |
SpatialOps.IS_EMPTY |
static Operator<Object> |
SpatialOps.IS_RING |
static Operator<Object> |
SpatialOps.IS_SIMPLE |
static Operator<Object> |
SpatialOps.LENGTH |
static Operator<Object> |
SpatialOps.LENGTH2 |
static Operator<Object> |
SpatialOps.M |
static Operator<Object> |
SpatialOps.M2 |
static Operator<Object> |
SpatialOps.NUM_GEOMETRIES |
static Operator<Object> |
SpatialOps.NUM_INTERIOR_RING |
static Operator<Object> |
SpatialOps.NUM_POINTS |
static Operator<Object> |
SpatialOps.NUM_SURFACES |
static Operator<Object> |
SpatialOps.OVERLAPS |
static Operator<Object> |
SpatialOps.POINT_ON_SURFACE |
static Operator<Object> |
SpatialOps.POINTN |
static Operator<Object> |
SpatialOps.RELATE |
static Operator<Object> |
SpatialOps.SET_SRID |
static Operator<Object> |
SpatialOps.SRID |
static Operator<Object> |
SpatialOps.SRID2 |
static Operator<Object> |
SpatialOps.START_POINT |
static Operator<Object> |
SpatialOps.SURFACE |
static Operator<Object> |
SpatialOps.SYMDIFFERENCE |
static Operator<Object> |
SpatialOps.TOUCHES |
static Operator<Object> |
SpatialOps.TRANSFORM |
static Operator<Object> |
SpatialOps.TRANSLATE |
static Operator<Object> |
SpatialOps.TRANSLATE2 |
static Operator<Object> |
SpatialOps.UNION |
static Operator<Object> |
SpatialOps.WITHIN |
static Operator<Object> |
SpatialOps.WKBTOSQL |
static Operator<Object> |
SpatialOps.WKTTOSQL |
static Operator<Object> |
SpatialOps.X |
static Operator<Object> |
SpatialOps.X2 |
static Operator<Object> |
SpatialOps.XMAX |
static Operator<Object> |
SpatialOps.XMIN |
static Operator<Object> |
SpatialOps.Y |
static Operator<Object> |
SpatialOps.Y2 |
static Operator<Object> |
SpatialOps.YMAX |
static Operator<Object> |
SpatialOps.YMIN |
static Operator<Object> |
SpatialOps.Z |
static Operator<Object> |
SpatialOps.Z2 |
Modifier and Type | Method and Description |
---|---|
Operator<? super T> |
PointOperation.getOperator() |
Operator<? super T> |
LineStringOperation.getOperator() |
Operator<? super T> |
GeometryOperation.getOperator() |
Operator<? super T> |
PolygonOperation.getOperator() |
Modifier and Type | Method and Description |
---|---|
static <D extends org.geolatte.geom.Geometry> |
GeometryOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D extends org.geolatte.geom.LineString> |
LineStringOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D extends org.geolatte.geom.Point> |
PointOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D extends org.geolatte.geom.Polygon> |
PolygonOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D extends org.geolatte.geom.Geometry> |
GeometryOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one) |
static <D extends org.geolatte.geom.LineString> |
LineStringOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one) |
static <D extends org.geolatte.geom.Point> |
PointOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one) |
static <D extends org.geolatte.geom.Polygon> |
PolygonOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one) |
static <D extends org.geolatte.geom.Geometry> |
GeometryOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
static <D extends org.geolatte.geom.LineString> |
LineStringOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
static <D extends org.geolatte.geom.Point> |
PointOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
static <D extends org.geolatte.geom.Polygon> |
PolygonOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
Constructor and Description |
---|
GeometryOperation(Class<T> type,
Operator<? super T> op,
Expression<?>... args) |
GeometryOperation(Class<T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
LineStringOperation(Class<T> type,
Operator<? super T> op,
Expression<?>... args) |
LineStringOperation(Class<T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
PointOperation(Class<T> type,
Operator<? super T> op,
Expression<?>... args) |
PointOperation(Class<T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
PolygonOperation(Class<T> type,
Operator<? super T> op,
Expression<?>... args) |
PolygonOperation(Class<T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
Modifier and Type | Method and Description |
---|---|
protected void |
SQLSerializer.visitOperation(Class<?> type,
Operator<?> operator,
List<? extends Expression<?>> args) |
Modifier and Type | Method and Description |
---|---|
protected void |
SQLTemplates.add(Map<Operator<?>,String> ops) |
Constructor and Description |
---|
WindowOver(Class<T> type,
Operator<? super T> op) |
WindowOver(Class<T> type,
Operator<? super T> op,
Expression<?> arg) |
WindowOver(Class<T> type,
Operator<? super T> op,
Expression<?> arg1,
Expression<?> arg2) |
WithinGroup(Class<T> type,
Operator<? super T> op) |
WithinGroup(Class<T> type,
Operator<? super T> op,
Expression<?>... args) |
WithinGroup(Class<T> type,
Operator<? super T> op,
Expression<?> arg) |
WithinGroup(Class<T> type,
Operator<? super T> op,
Expression<?> arg1,
Expression<?> arg2) |
Modifier and Type | Method and Description |
---|---|
static Map<Operator<?>,String> |
SpatialTemplatesSupport.getSpatialOps(boolean asFunction) |
static Map<Operator<?>,String> |
SpatialTemplatesSupport.getSpatialOps(String prefix,
boolean asFunction) |
Modifier and Type | Method and Description |
---|---|
static BooleanExpression |
Expressions.booleanOperation(Operator<Boolean> operation,
Expression<?>... args)
Create a new Boolean operation
|
static <T extends Comparable<?>> |
Expressions.comparableOperation(Class<T> type,
Operator<? super T> operator,
Expression<?>... args)
Create a new Operation expression
|
static <T extends Comparable<?>> |
Expressions.dateOperation(Class<T> type,
Operator<? super T> operator,
Expression<?>... args)
Create a new Operation expression
|
static <T extends Comparable<?>> |
Expressions.dateTimeOperation(Class<T> type,
Operator<? super T> operator,
Expression<?>... args)
Create a new Operation expression
|
static <T> DslExpression<T> |
Expressions.dslOperation(Class<T> type,
Operator<? super T> operator,
Expression<?>... args)
Create a new Operation expression
|
protected Template |
SerializerBase.getTemplate(Operator<?> op) |
static <T extends Number & Comparable<?>> |
Expressions.numberOperation(Class<T> type,
Operator<? super T> operator,
Expression<?>... args)
Create a new Operation expression
|
static <T> SimpleExpression<T> |
Expressions.operation(Class<T> type,
Operator<? super T> operator,
Expression<?>... args)
Create a new Operation expression
|
static BooleanExpression |
Expressions.predicate(Operator<Boolean> operation,
Expression<?>... args)
Create a new Predicate operation
|
static StringExpression |
Expressions.stringOperation(Operator<? super String> operator,
Expression<?>... args)
Create a new Operation expression
|
static <T extends Comparable<?>> |
Expressions.timeOperation(Class<T> type,
Operator<? super T> operator,
Expression<?>... args)
Create a new Operation expression
|
protected void |
SerializerBase.visitOperation(Class<?> type,
Operator<?> operator,
List<? extends Expression<?>> args) |
Modifier and Type | Class and Description |
---|---|
class |
OperatorImpl<T>
OperatorImpl is the default implementation of the
Operator interface |
class |
PathType
PathType represents the relation of a
Path to its parent |
Modifier and Type | Field and Description |
---|---|
static Set<Operator<?>> |
Ops.aggOps |
static Set<Operator<?>> |
Ops.compareOps |
static Set<Operator<?>> |
Ops.equalsOps |
static Set<Operator<?>> |
Ops.notEqualsOps |
Modifier and Type | Method and Description |
---|---|
Operator<? super T> |
Operation.getOperator()
Get the operator symbol for this operation
|
Operator<? super T> |
OperationImpl.getOperator() |
Modifier and Type | Method and Description |
---|---|
protected void |
Templates.add(Operator<?> op,
String pattern) |
protected void |
Templates.add(Operator<?> op,
String pattern,
int pre) |
static <RT> Operation<RT> |
OperationImpl.create(Class<? extends RT> type,
Operator<? super RT> operator,
Expression<?> one) |
static <RT> Operation<RT> |
OperationImpl.create(Class<? extends RT> type,
Operator<? super RT> operator,
Expression<?> one,
Expression<?> two) |
static PredicateOperation |
PredicateOperation.create(Operator<Boolean> operator,
Expression<?> one) |
static PredicateOperation |
PredicateOperation.create(Operator<Boolean> operator,
Expression<?> one,
Expression<?> two) |
int |
Templates.getPrecedence(Operator<?> op) |
Template |
Templates.getTemplate(Operator<?> op) |
Constructor and Description |
---|
OperationImpl(Class<? extends T> type,
Operator<? super T> operator,
Expression<?>... args) |
OperationImpl(Class<? extends T> type,
Operator<? super T> operator,
com.google.common.collect.ImmutableList<Expression<?>> args) |
PredicateOperation(Operator<Boolean> operator,
com.google.common.collect.ImmutableList<Expression<?>> args) |
Modifier and Type | Method and Description |
---|---|
Operator<? super T> |
NumberOperation.getOperator() |
Operator<? super T> |
DateTimeOperation.getOperator() |
Operator<? super String> |
StringOperation.getOperator() |
Operator<? super Boolean> |
BooleanOperation.getOperator() |
Operator<? super T> |
TimeOperation.getOperator() |
Operator<? super T> |
EnumOperation.getOperator() |
Operator<? super T> |
ComparableOperation.getOperator() |
Operator<? super T> |
DslOperation.getOperator() |
Operator<? super T> |
SimpleOperation.getOperator() |
Operator<? super T> |
DateOperation.getOperator() |
Modifier and Type | Method and Description |
---|---|
static <D extends Enum<D>> |
EnumOperation.create(Class<? extends D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D extends Number & Comparable<?>> |
NumberOperation.create(Class<? extends D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D extends Enum<D>> |
EnumOperation.create(Class<? extends D> type,
Operator<? super D> op,
Expression<?> one) |
static <D extends Number & Comparable<?>> |
NumberOperation.create(Class<? extends D> type,
Operator<? super D> op,
Expression<?> one) |
static <D extends Enum<D>> |
EnumOperation.create(Class<? extends D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
static <D extends Number & Comparable<?>> |
NumberOperation.create(Class<? extends D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
static <D> DslExpression<D> |
DslOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D> SimpleExpression<D> |
SimpleOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D extends Comparable<?>> |
DateTimeOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D extends Comparable<?>> |
TimeOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D extends Comparable<?>> |
ComparableOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D extends Comparable<?>> |
DateOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?>... args) |
static <D> DslExpression<D> |
DslOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one) |
static <D> SimpleExpression<D> |
SimpleOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one) |
static <D extends Comparable<?>> |
DateTimeOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one) |
static <D extends Comparable<?>> |
TimeOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one) |
static <D extends Comparable<?>> |
DateOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one) |
static <D> DslExpression<D> |
DslOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
static <D> SimpleExpression<D> |
SimpleOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
static <D extends Comparable<?>> |
DateTimeOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
static <D extends Comparable<?>> |
TimeOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
static <D extends Comparable<?>> |
DateOperation.create(Class<D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
static <E> CollectionOperation<E> |
CollectionOperation.create(Operator<?> op,
Class<E> type,
Expression<?>... args) |
static <E> CollectionOperation<E> |
CollectionOperation.create(Operator<?> op,
Class<E> type,
Expression<?> one) |
static <E> CollectionOperation<E> |
CollectionOperation.create(Operator<?> op,
Class<E> type,
Expression<?> one,
Expression<?> two) |
static BooleanExpression |
BooleanOperation.create(Operator<? super Boolean> op,
Expression<?>... args) |
static BooleanExpression |
BooleanOperation.create(Operator<? super Boolean> op,
Expression<?> one) |
static BooleanExpression |
BooleanOperation.create(Operator<? super Boolean> op,
Expression<?> one,
Expression<?> two) |
static StringExpression |
StringOperation.create(Operator<? super String> op,
Expression<?>... args) |
static StringExpression |
StringOperation.create(Operator<? super String> op,
Expression<?> one) |
static StringExpression |
StringOperation.create(Operator<? super String> op,
Expression<?> one,
Expression<?> two) |
Constructor and Description |
---|
BooleanOperation(Operator<? super Boolean> op,
Expression<?>... args) |
BooleanOperation(Operator<? super Boolean> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
CollectionOperation(Operator<?> op,
Class<? super E> type,
Expression<?>... args) |
CollectionOperation(Operator<?> op,
Class<? super E> type,
com.google.common.collect.ImmutableList<Expression<?>> args) |
ComparableOperation(Class<T> type,
Operator<? super T> op,
Expression<?>... args) |
ComparableOperation(Class<T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
DateOperation(Class<T> type,
Operator<? super T> op,
Expression<?>... args) |
DateOperation(Class<T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
DateTimeOperation(Class<T> type,
Operator<? super T> op,
Expression<?>... args) |
DateTimeOperation(Class<T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
DslOperation(Class<T> type,
Operator<? super T> op,
Expression<?>... args) |
DslOperation(Class<T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
EnumOperation(Class<? extends T> type,
Operator<? super T> op,
Expression<?>... args) |
EnumOperation(Class<? extends T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
NumberOperation(Class<? extends T> type,
Operator<? super T> op,
Expression<?>... args) |
NumberOperation(Class<? extends T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
SimpleOperation(Class<T> type,
Operator<? super T> op,
Expression<?>... args) |
SimpleOperation(Class<T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
StringOperation(Operator<? super String> op,
Expression<?>... args) |
StringOperation(Operator<? super String> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
TimeOperation(Class<T> type,
Operator<? super T> op,
Expression<?>... args) |
TimeOperation(Class<T> type,
Operator<? super T> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
Copyright © 2007–2014 Mysema Ltd. All rights reserved.