Package | Description |
---|---|
com.mysema.query |
Contains basic Query elements
|
com.mysema.query.spatial | |
com.mysema.query.spatial.jts | |
com.mysema.query.sql |
SQL/JDBC support for Querydsl
|
com.mysema.query.sql.mssql |
SQL Server support
|
com.mysema.query.sql.oracle |
Oracle support for Querydsl SQL
|
com.mysema.query.support |
Various support classes
|
com.mysema.query.types.expr |
Operations represent typed operations with operator and arguments
|
com.mysema.query.types.path |
Paths represent typed property paths, variables and list-map-array access
|
com.mysema.query.types.query |
Subquery implementations
|
com.mysema.query.types.template |
Custom types are comparable to operations but contain the serialization
templates instead of operator patterns.
|
Modifier and Type | Method and Description |
---|---|
<RT extends Number & Comparable<?>> |
Detachable.unique(NumberExpression<RT> projection)
Create a single row subquery expression for the given projection
|
Modifier and Type | Method and Description |
---|---|
NumberExpression<Double> |
SurfaceExpression.area()
The area of this Surface, as measured in the spatial reference system of this Surface.
|
NumberExpression<Double> |
MultiSurfaceExpression.area()
The area of this MultiSurface, as measured in the spatial reference system of this MultiSurface.
|
NumberExpression<Integer> |
GeometryExpression.dimension()
The inherent dimension of this geometric object, which must be less than or equal
to the coordinate dimension.
|
NumberExpression<Double> |
GeometryExpression.distance(Expression<? extends org.geolatte.geom.Geometry> geometry)
Returns the shortest distance between any two Points in the two geometric objects as
calculated in the spatial reference system of this geometric object.
|
NumberExpression<Double> |
GeometryExpression.distance(org.geolatte.geom.Geometry geometry)
Returns the shortest distance between any two Points in the two geometric objects as
calculated in the spatial reference system of this geometric object.
|
NumberExpression<Double> |
GeometryExpression.distanceSphere(Expression<? extends org.geolatte.geom.Geometry> geometry) |
NumberExpression<Double> |
GeometryExpression.distanceSpheroid(Expression<? extends org.geolatte.geom.Geometry> geometry) |
NumberExpression<Double> |
CurveExpression.length()
The length of this Curve in its associated spatial reference.
|
NumberExpression<Double> |
MultiCurveExpression.length()
The Length of this MultiCurve which is equal to the sum of the lengths of the element
Curves.
|
NumberExpression<Double> |
PointExpression.m()
The m-coordinate value for this Point, if it has one.
|
NumberExpression<Integer> |
GeometryCollectionExpression.numGeometries()
Returns the number of geometries in this GeometryCollection.
|
NumberExpression<Integer> |
PolygonExpression.numInteriorRing()
Returns the number of interior rings in this Polygon.
|
NumberExpression<Integer> |
PolyhedralSurfaceExpression.numPatches()
Returns the number of including polygons
|
NumberExpression<Integer> |
LineStringExpression.numPoints()
The number of Points in this LineString.
|
NumberExpression<Integer> |
GeometryExpression.srid()
Returns the Spatial Reference System ID for this geometric object.
|
NumberExpression<Double> |
PointExpression.x()
The x-coordinate value for this Point.
|
static NumberExpression<Double> |
GeometryExpressions.xmax(GeometryExpression<?> expr)
Returns X maxima of a bounding box 2d or 3d or a geometry.
|
static NumberExpression<Double> |
GeometryExpressions.xmin(GeometryExpression<?> expr)
Returns X minima of a bounding box 2d or 3d or a geometry.
|
NumberExpression<Double> |
PointExpression.y()
The y-coordinate value for this Point.
|
static NumberExpression<Double> |
GeometryExpressions.ymax(GeometryExpression<?> expr)
Returns Y maxima of a bounding box 2d or 3d or a geometry.
|
static NumberExpression<Double> |
GeometryExpressions.ymin(GeometryExpression<?> expr)
Returns Y minima of a bounding box 2d or 3d or a geometry.
|
NumberExpression<Double> |
PointExpression.z()
The z-coordinate value for this Point, if it has one.
|
Modifier and Type | Method and Description |
---|---|
NumberExpression<Double> |
JTSMultiSurfaceExpression.area()
The area of this MultiSurface, as measured in the spatial reference system of this MultiSurface.
|
NumberExpression<Double> |
JTSSurfaceExpression.area()
The area of this Surface, as measured in the spatial reference system of this Surface.
|
NumberExpression<Integer> |
JTSGeometryExpression.dimension()
The inherent dimension of this geometric object, which must be less than or equal
to the coordinate dimension.
|
NumberExpression<Double> |
JTSGeometryExpression.distance(Expression<? extends com.vividsolutions.jts.geom.Geometry> geometry)
Returns the shortest distance between any two Points in the two geometric objects as
calculated in the spatial reference system of this geometric object.
|
NumberExpression<Double> |
JTSGeometryExpression.distance(com.vividsolutions.jts.geom.Geometry geometry)
Returns the shortest distance between any two Points in the two geometric objects as
calculated in the spatial reference system of this geometric object.
|
NumberExpression<Double> |
JTSGeometryExpression.distanceSphere(Expression<? extends com.vividsolutions.jts.geom.Geometry> geometry) |
NumberExpression<Double> |
JTSGeometryExpression.distanceSpheroid(Expression<? extends com.vividsolutions.jts.geom.Geometry> geometry) |
NumberExpression<Double> |
JTSMultiCurveExpression.length()
The Length of this MultiCurve which is equal to the sum of the lengths of the element
Curves.
|
NumberExpression<Double> |
JTSCurveExpression.length()
The length of this Curve in its associated spatial reference.
|
NumberExpression<Double> |
JTSPointExpression.m()
The m-coordinate value for this Point, if it has one.
|
NumberExpression<Integer> |
JTSGeometryCollectionExpression.numGeometries()
Returns the number of geometries in this GeometryCollection.
|
NumberExpression<Integer> |
JTSPolygonExpression.numInteriorRing()
Returns the number of interior rings in this Polygon.
|
NumberExpression<Integer> |
JTSLineStringExpression.numPoints()
The number of Points in this LineString.
|
NumberExpression<Integer> |
JTSGeometryExpression.srid()
Returns the Spatial Reference System ID for this geometric object.
|
NumberExpression<Double> |
JTSPointExpression.x()
The x-coordinate value for this Point.
|
static NumberExpression<Double> |
JTSGeometryExpressions.xmax(JTSGeometryExpression<?> expr)
Returns X maxima of a bounding box 2d or 3d or a geometry.
|
static NumberExpression<Double> |
JTSGeometryExpressions.xmin(JTSGeometryExpression<?> expr)
Returns X minima of a bounding box 2d or 3d or a geometry.
|
NumberExpression<Double> |
JTSPointExpression.y()
The y-coordinate value for this Point.
|
static NumberExpression<Double> |
JTSGeometryExpressions.ymax(JTSGeometryExpression<?> expr)
Returns Y maxima of a bounding box 2d or 3d or a geometry.
|
static NumberExpression<Double> |
JTSGeometryExpressions.ymin(JTSGeometryExpression<?> expr)
Returns Y minima of a bounding box 2d or 3d or a geometry.
|
NumberExpression<Double> |
JTSPointExpression.z()
The z-coordinate value for this Point, if it has one.
|
Modifier and Type | Method and Description |
---|---|
NumberExpression<Long> |
RelationalPathBase.count() |
NumberExpression<Long> |
RelationalPathBase.countDistinct() |
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
DateExpression<D> start,
D end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
DateExpression<D> start,
DateExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
DateTimeExpression<D> start,
D end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
DateTimeExpression<D> start,
DateTimeExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
D start,
DateExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
D start,
DateTimeExpression<D> end)
Get a datediff(unit, start, end) expression
|
Modifier and Type | Field and Description |
---|---|
static NumberExpression<Long> |
SQLServerGrammar.rn
Deprecated.
|
static NumberExpression<Long> |
SQLServerGrammar.rowNumber
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static NumberExpression<Integer> |
OracleGrammar.level |
static NumberExpression<Integer> |
OracleGrammar.rowid |
static NumberExpression<Integer> |
OracleGrammar.rownum |
Modifier and Type | Method and Description |
---|---|
static <T extends Number & Comparable<?>> |
Expressions.numberOperation(Class<T> type,
Operator<? super T> operator,
Expression<?>... args)
Create a new Operation expression
|
static <T extends Number & Comparable<?>> |
Expressions.numberTemplate(Class<T> cl,
String template,
Object... args)
Create a new Template expression
|
Modifier and Type | Method and Description |
---|---|
<RT extends Number & Comparable<?>> |
DetachableMixin.unique(NumberExpression<RT> projection) |
<RT extends Number & Comparable<?>> |
DetachableQuery.unique(NumberExpression<RT> projection) |
<RT extends Number & Comparable<?>> |
DetachableAdapter.unique(NumberExpression<RT> projection) |
Modifier and Type | Class and Description |
---|---|
class |
NumberOperation<T extends Number & Comparable<?>>
NumberOperation represents numeric operations
|
Modifier and Type | Field and Description |
---|---|
static NumberExpression<Long> |
Wildcard.count
Wildcard count expression (count(*))
|
static NumberExpression<Integer> |
Wildcard.countAsInt
Wilcard count distinct expression ((count(distinct *))
|
static NumberExpression<Long> |
Wildcard.countDistinct
Wilcard count distinct expression ((count(distinct *))
|
Modifier and Type | Method and Description |
---|---|
NumberExpression<T> |
NumberExpression.abs()
Get the absolute value of this expression
|
static <A extends Number & Comparable<?>> |
MathExpressions.acos(Expression<A> num) |
<N extends Number & Comparable<?>> |
NumberExpression.add(Expression<N> right)
Get the sum of this and right
|
<N extends Number & Comparable<N>> |
NumberExpression.add(N right)
Get the sum of this and right
|
NumberExpression<T> |
NumberExpression.as(Path<T> alias) |
NumberExpression<T> |
NumberExpression.as(String alias) |
static <A extends Number & Comparable<?>> |
MathExpressions.asin(Expression<A> num) |
NumberExpression<?> |
Coalesce.asNumber() |
static <A extends Number & Comparable<?>> |
MathExpressions.atan(Expression<A> num) |
NumberExpression<Double> |
NumberExpression.avg()
Get the average value of this expression (aggregation)
|
NumberExpression<Byte> |
NumberExpression.byteValue()
Get the byte expression of this numeric expression
|
<A extends Number & Comparable<? super A>> |
NumberExpression.castToNum(Class<A> type) |
<A extends Number & Comparable<? super A>> |
ComparableExpressionBase.castToNum(Class<A> type)
Create a cast expression to the given numeric type
|
NumberExpression<T> |
NumberExpression.ceil()
Returns the smallest (closest to negative infinity)
double value that is greater than or equal to the
argument and is equal to a mathematical integer |
static <A extends Number & Comparable<?>> |
MathExpressions.cos(Expression<A> num) |
static <A extends Number & Comparable<?>> |
MathExpressions.cosh(Expression<A> num) |
static <A extends Number & Comparable<?>> |
MathExpressions.cot(Expression<A> num) |
static <A extends Number & Comparable<?>> |
MathExpressions.coth(Expression<A> num) |
NumberExpression<Long> |
SimpleExpression.count()
Get the
count(this) expression |
NumberExpression<Long> |
SimpleExpression.countDistinct()
Get the
count(distinct this) expression |
static <D extends Number & Comparable<?>> |
NumberOperation.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<?> one) |
static <D extends Number & Comparable<?>> |
NumberOperation.create(Class<? extends D> type,
Operator<? super D> op,
Expression<?> one,
Expression<?> two) |
NumberExpression<Integer> |
DateExpression.dayOfMonth()
Get a day of month expression (range 1-31)
|
NumberExpression<Integer> |
DateTimeExpression.dayOfMonth()
Get a day of month expression (range 1-31)
|
NumberExpression<Integer> |
DateExpression.dayOfWeek()
Get a day of week expression (range 1-7 / SUN-SAT)
|
NumberExpression<Integer> |
DateTimeExpression.dayOfWeek()
Get a day of week expression (range 1-7 / SUN-SAT)
|
NumberExpression<Integer> |
DateExpression.dayOfYear()
Get a day of year expression (range 1-356)
|
NumberExpression<Integer> |
DateTimeExpression.dayOfYear()
Get a day of year expression (range 1-356)
|
static <A extends Number & Comparable<?>> |
MathExpressions.degrees(Expression<A> num) |
<N extends Number & Comparable<?>> |
NumberExpression.divide(Expression<N> right)
Get the result of the operation this / right
|
<N extends Number & Comparable<?>> |
NumberExpression.divide(N right)
Get the result of the operation this / right
|
NumberExpression<Double> |
NumberExpression.doubleValue()
Get the double expression of this numeric expression
|
static <A extends Number & Comparable<?>> |
MathExpressions.exp(Expression<A> num) |
NumberExpression<Float> |
NumberExpression.floatValue()
Get the float expression of this numeric expression
|
NumberExpression<T> |
NumberExpression.floor()
Returns the largest (closest to positive infinity)
double value that is less than or equal to the
argument and is equal to a mathematical integer. |
NumberExpression<Integer> |
TimeExpression.hour()
Get a hours expression (range 0-23)
|
NumberExpression<Integer> |
DateTimeExpression.hour()
Get a hours expression (range 0-23)
|
NumberExpression<Integer> |
StringExpression.indexOf(Expression<String> str)
Get the index of the given substring in this String
|
NumberExpression<Integer> |
StringExpression.indexOf(Expression<String> str,
int i)
Get the index of the given substring in this String, starting from the given index
|
NumberExpression<Integer> |
StringExpression.indexOf(String str)
Get the index of the given substring in this String
|
NumberExpression<Integer> |
StringExpression.indexOf(String str,
int i)
Get the index of the given substring in this String, starting from the given index
|
NumberExpression<Integer> |
NumberExpression.intValue()
Get the int expression of this numeric expression
|
NumberExpression<Integer> |
StringExpression.length()
Return the length of this String
|
static <A extends Number & Comparable<?>> |
MathExpressions.ln(Expression<A> num) |
NumberExpression<Integer> |
StringExpression.locate(Expression<String> str)
Get the position of the given String in this String, the first position is 1
|
NumberExpression<Integer> |
StringExpression.locate(Expression<String> str,
NumberExpression<Integer> start)
Get the position of the given String in this String, the first position is 1
|
NumberExpression<Integer> |
StringExpression.locate(String str)
Get the position of the given String in this String, the first position is 1
|
NumberExpression<Integer> |
StringExpression.locate(String str,
int start)
Get the position of the given String in this String, the first position is 1
|
static <A extends Number & Comparable<?>> |
MathExpressions.log(Expression<A> num,
int base) |
NumberExpression<Long> |
NumberExpression.longValue()
Get the long expression of this numeric expression
|
NumberExpression<T> |
NumberExpression.max()
Get the maximum value of this expression (aggregation)
|
static <A extends Number & Comparable<?>> |
MathExpressions.max(Expression<A> left,
Expression<A> right)
Return the greater of the given values
|
static <A extends Number & Comparable<?>> |
NumberExpression.max(Expression<A> left,
Expression<A> right)
Return the greater of the given values
|
NumberExpression<Integer> |
TimeExpression.milliSecond()
Get a milliseconds expression (range 0-999)
|
NumberExpression<Integer> |
DateTimeExpression.milliSecond()
Get a milliseconds expression (range 0-999)
|
NumberExpression<T> |
NumberExpression.min()
Get the minimum value of this expression (aggregation)
|
static <A extends Number & Comparable<?>> |
MathExpressions.min(Expression<A> left,
Expression<A> right)
Return the smaller of the given values
|
static <A extends Number & Comparable<?>> |
NumberExpression.min(Expression<A> left,
Expression<A> right)
Return the smaller of the given values
|
NumberExpression<Integer> |
TimeExpression.minute()
Get a minutes expression (range 0-59)
|
NumberExpression<Integer> |
DateTimeExpression.minute()
Get a minutes expression (range 0-59)
|
NumberExpression<T> |
NumberExpression.mod(Expression<T> num) |
NumberExpression<T> |
NumberExpression.mod(T num) |
NumberExpression<Integer> |
DateExpression.month()
Get a month expression (range 1-12 / JAN-DEC)
|
NumberExpression<Integer> |
DateTimeExpression.month()
Get a month expression (range 1-12 / JAN-DEC)
|
<N extends Number & Comparable<?>> |
NumberExpression.multiply(Expression<N> right)
Get the result of the operation this * right
|
<N extends Number & Comparable<N>> |
NumberExpression.multiply(N right)
Get the result of the operation this * right
|
NumberExpression<T> |
NumberOperation.negate() |
NumberExpression<T> |
NumberExpression.negate()
Get the negation of this expression
|
NumberExpression<Integer> |
EnumExpression.ordinal() |
static <A extends Number & Comparable<?>> |
MathExpressions.power(Expression<A> num,
int exponent) |
static <A extends Number & Comparable<?>> |
MathExpressions.radians(Expression<A> num) |
static NumberExpression<Double> |
MathExpressions.random()
Returns the random expression
|
static NumberExpression<Double> |
NumberExpression.random()
Returns the random expression
|
static NumberExpression<Double> |
MathExpressions.random(int seed)
Return a random number expression with the given seed
|
NumberExpression<T> |
NumberExpression.round()
Returns the closest
int to this. |
static <A extends Number & Comparable<?>> |
MathExpressions.round(Expression<A> num)
Round to nearest integer
|
static <A extends Number & Comparable<?>> |
MathExpressions.round(Expression<A> num,
int s)
Round to s decimal places
|
NumberExpression<Integer> |
TimeExpression.second()
Get a seconds expression (range 0-59)
|
NumberExpression<Integer> |
DateTimeExpression.second()
Get a seconds expression (range 0-59)
|
NumberExpression<Short> |
NumberExpression.shortValue()
Get the short expression of this numeric expression
|
static <A extends Number & Comparable<?>> |
MathExpressions.sign(Expression<A> num) |
static <A extends Number & Comparable<?>> |
MathExpressions.sin(Expression<A> num) |
static <A extends Number & Comparable<?>> |
MathExpressions.sinh(Expression<A> num) |
NumberExpression<Integer> |
CollectionExpressionBase.size() |
NumberExpression<Integer> |
MapExpressionBase.size() |
NumberExpression<Integer> |
ArrayExpression.size()
Get the size of the array
|
NumberExpression<Double> |
NumberExpression.sqrt()
Get the square root of this numeric expressions
|
<N extends Number & Comparable<?>> |
NumberExpression.subtract(Expression<N> right)
Get the difference of this and right
|
<N extends Number & Comparable<?>> |
NumberExpression.subtract(N right)
Get the difference of this and right
|
NumberExpression<T> |
NumberExpression.sum()
Get the sum of this expression (aggregation)
|
static <A extends Number & Comparable<?>> |
MathExpressions.tan(Expression<A> num) |
static <A extends Number & Comparable<?>> |
MathExpressions.tanh(Expression<A> num) |
NumberExpression<Integer> |
DateExpression.week()
Get a week expression
|
NumberExpression<Integer> |
DateTimeExpression.week()
Get a week expression
|
NumberExpression<Integer> |
DateExpression.year()
Get a year expression
|
NumberExpression<Integer> |
DateTimeExpression.year()
Get a year expression
|
NumberExpression<Integer> |
DateExpression.yearMonth()
Get a year / month expression
|
NumberExpression<Integer> |
DateTimeExpression.yearMonth()
Get a year / month expression
|
NumberExpression<Integer> |
DateExpression.yearWeek()
Get a ISO yearweek expression
|
NumberExpression<Integer> |
DateTimeExpression.yearWeek()
Get a ISO yearweek expression
|
Modifier and Type | Method and Description |
---|---|
<A extends Number & Comparable<?>> |
CaseBuilder.Initial.then(A num) |
<A extends Number & Comparable<?>> |
CaseBuilder.Initial.then(NumberExpression<A> expr) |
<T extends Number & Comparable<?>> |
CaseForEqBuilder.then(NumberExpression<T> then) |
<T extends Number & Comparable<?>> |
CaseForEqBuilder.then(T then) |
<T extends Number & Comparable<?>> |
CaseForEqBuilder.thenNumber(Expression<T> then) |
Modifier and Type | Method and Description |
---|---|
NumberExpression<Integer> |
StringExpression.locate(Expression<String> str,
NumberExpression<Integer> start)
Get the position of the given String in this String, the first position is 1
|
static StringExpression |
StringExpressions.lpad(Expression<String> in,
NumberExpression<Integer> length,
char c) |
static StringExpression |
StringExpressions.rpad(Expression<String> in,
NumberExpression<Integer> length,
char c) |
<A extends Number & Comparable<?>> |
CaseBuilder.Initial.then(NumberExpression<A> expr) |
<T extends Number & Comparable<?>> |
CaseForEqBuilder.then(NumberExpression<T> then) |
Modifier and Type | Class and Description |
---|---|
class |
NumberPath<T extends Number & Comparable<?>>
NumberPath represents numeric paths
|
Modifier and Type | Method and Description |
---|---|
NumberExpression<Integer> |
ArrayPath.size()
Create an expression for the array size
|
Modifier and Type | Class and Description |
---|---|
class |
NumberSubQuery<T extends Number & Comparable<?>>
Number typed single result subquery
|
Modifier and Type | Method and Description |
---|---|
NumberExpression<Long> |
ListSubQuery.count() |
NumberExpression<Long> |
ListSubQuery.countDistinct() |
Modifier and Type | Class and Description |
---|---|
class |
NumberTemplate<T extends Number & Comparable<?>>
NumberTemplate defines custom numeric expressions
|
Modifier and Type | Field and Description |
---|---|
static NumberExpression<Integer> |
NumberTemplate.ONE |
static NumberExpression<Integer> |
NumberTemplate.THREE |
static NumberExpression<Integer> |
NumberTemplate.TWO |
static NumberExpression<Integer> |
NumberTemplate.ZERO |
Modifier and Type | Method and Description |
---|---|
static <T extends Number & Comparable<?>> |
NumberTemplate.create(Class<T> type,
String template) |
static <T extends Number & Comparable<?>> |
NumberTemplate.create(Class<T> type,
String template,
Object... args) |
static <T extends Number & Comparable<?>> |
NumberTemplate.create(Class<T> type,
String template,
Object one) |
static <T extends Number & Comparable<?>> |
NumberTemplate.create(Class<T> type,
String template,
Object one,
Object two) |
static <T extends Number & Comparable<?>> |
NumberTemplate.create(Class<T> type,
Template template,
Object... args) |
Copyright © 2007–2015 Mysema Ltd. All rights reserved.