Package | Description |
---|---|
com.querydsl.core.types.dsl |
DSL expression types
|
com.querydsl.spatial |
Spatial types using Geolatte
|
com.querydsl.spatial.jts |
Spatial types using JTS
|
com.querydsl.sql |
SQL/JDBC support
|
com.querydsl.sql.oracle |
Oracle support
|
Modifier and Type | Class and Description |
---|---|
class |
NumberOperation<T extends Number & Comparable<?>>
NumberOperation represents numeric operations |
class |
NumberPath<T extends Number & Comparable<?>>
NumberPath represents numeric paths |
class |
NumberTemplate<T extends Number & Comparable<?>>
NumberTemplate defines custom numeric expressions |
Modifier and Type | Field and Description |
---|---|
static NumberExpression<Long> |
Wildcard.count
Wildcard count expression (count(*))
|
static NumberExpression<Integer> |
Wildcard.countAsInt
Wildcard count expression (count(*))
|
static NumberExpression<Long> |
Wildcard.countDistinct
Wildcard count distinct expression (count(distinct *))
|
static NumberExpression<Integer> |
Expressions.FOUR |
static NumberExpression<Integer> |
Expressions.ONE |
static NumberExpression<Integer> |
Expressions.THREE |
static NumberExpression<Integer> |
Expressions.TWO |
static NumberExpression<Integer> |
Expressions.ZERO |
Modifier and Type | Method and Description |
---|---|
NumberExpression<T> |
NumberExpression.abs()
Create a
abs(this) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.acos(Expression<A> num)
Create a
acos(num) expression |
<N extends Number & Comparable<?>> |
NumberExpression.add(Expression<N> right)
Create a
this + right expression |
<N extends Number & Comparable<N>> |
NumberExpression.add(N right)
Create a
this + right expression |
NumberExpression<T> |
NumberExpression.as(Path<T> alias) |
NumberExpression<T> |
NumberExpression.as(String alias) |
static <A extends Number & Comparable<?>> |
MathExpressions.asin(Expression<A> num)
Create a
asin(num) expression |
NumberExpression<?> |
Coalesce.asNumber() |
static <T extends Number & Comparable<?>> |
Expressions.asNumber(Expression<T> expr)
Create a new NumberExpression
|
static <T extends Number & Comparable<?>> |
Expressions.asNumber(T value)
Create a new NumberExpression
|
static <A extends Number & Comparable<?>> |
MathExpressions.atan(Expression<A> num)
Create a
atan(num) expression |
NumberExpression<Double> |
NumberExpression.avg()
Create a
avg(this) expression |
NumberExpression<Byte> |
NumberExpression.byteValue()
Create a
cast(this as byte) expression |
<A extends Number & Comparable<? super A>> |
NumberExpression.castToNum(Class<A> type) |
<A extends Number & Comparable<? super A>> |
LiteralExpression.castToNum(Class<A> type)
Create a cast expression to the given numeric type
|
NumberExpression<T> |
NumberExpression.ceil()
Create a
ceil(this) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.cos(Expression<A> num)
Create a
cos(num) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.cosh(Expression<A> num)
Create a
cosh(num) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.cot(Expression<A> num)
Create a
cot(num) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.coth(Expression<A> num)
Create a
coth(num) expression |
NumberExpression<Long> |
SimpleExpression.count()
Get the
count(this) expression |
NumberExpression<Long> |
SimpleExpression.countDistinct()
Get the
count(distinct this) expression |
NumberExpression<Integer> |
DateTimeExpression.dayOfMonth()
Create a day of month expression (range 1-31)
|
NumberExpression<Integer> |
DateExpression.dayOfMonth()
Create a day of month expression (range 1-31)
|
NumberExpression<Integer> |
DateTimeExpression.dayOfWeek()
Create a day of week expression (range 1-7 / SUN-SAT)
|
NumberExpression<Integer> |
DateExpression.dayOfWeek()
Create a day of week expression (range 1-7 / SUN-SAT)
|
NumberExpression<Integer> |
DateTimeExpression.dayOfYear()
Create a day of year expression (range 1-356)
|
NumberExpression<Integer> |
DateExpression.dayOfYear()
Create a day of year expression (range 1-356)
|
static <A extends Number & Comparable<?>> |
MathExpressions.degrees(Expression<A> num)
Create a
deg(num) expression |
<N extends Number & Comparable<?>> |
NumberExpression.divide(Expression<N> right)
Create a
this / right expression |
<N extends Number & Comparable<?>> |
NumberExpression.divide(N right)
Create a
this / right expression |
NumberExpression<Double> |
NumberExpression.doubleValue()
Create a
cast(this as double) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.exp(Expression<A> num)
Create a
exp(num) expression |
NumberExpression<Float> |
NumberExpression.floatValue()
Create a
cast(this as double) expression |
NumberExpression<T> |
NumberExpression.floor()
Create a
floor(this) expression |
NumberExpression<Integer> |
TimeExpression.hour()
Create a hours expression (range 0-23)
|
NumberExpression<Integer> |
DateTimeExpression.hour()
Create a hours expression (range 0-23)
|
NumberExpression<Integer> |
StringExpression.indexOf(Expression<String> str)
Create a
this.indexOf(str) expression |
NumberExpression<Integer> |
StringExpression.indexOf(Expression<String> str,
int i)
Create a
this.indexOf(str) expression |
NumberExpression<Integer> |
StringExpression.indexOf(String str)
Create a
this.indexOf(str) expression |
NumberExpression<Integer> |
StringExpression.indexOf(String str,
int i)
Create a
this.indexOf(str, i) expression |
NumberExpression<Integer> |
NumberExpression.intValue()
Create a
this.intValue() expression |
NumberExpression<Integer> |
StringExpression.length()
Create a
this.length() expression |
static <A extends Number & Comparable<?>> |
MathExpressions.ln(Expression<A> num)
Create a
ln(num) expression |
NumberExpression<Integer> |
StringExpression.locate(Expression<String> str)
Create a
locate(str, this) expression |
NumberExpression<Integer> |
StringExpression.locate(Expression<String> str,
NumberExpression<Integer> start)
Create a
locate(str, this, start) expression |
NumberExpression<Integer> |
StringExpression.locate(String str)
Create a
locate(str, this) expression |
NumberExpression<Integer> |
StringExpression.locate(String str,
Expression<Integer> start)
Create a
locate(str, this, start) expression |
NumberExpression<Integer> |
StringExpression.locate(String str,
int start)
Create a
locate(str, this, start) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.log(Expression<A> num,
int base)
Create a
log(num, base) expression |
NumberExpression<Long> |
NumberExpression.longValue()
Create a
this.longValue() expression |
NumberExpression<T> |
NumberExpression.max()
Create a
max(this) expression |
static <A extends Number & Comparable<?>> |
NumberExpression.max(Expression<A> left,
Expression<A> right)
Create a
max(left, right) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.max(Expression<A> left,
Expression<A> right)
Create a
max(left, right) expression |
NumberExpression<Integer> |
TimeExpression.milliSecond()
Create a milliseconds expression (range 0-999)
|
NumberExpression<Integer> |
DateTimeExpression.milliSecond()
Create a milliseconds expression (range 0-999)
|
NumberExpression<T> |
NumberExpression.min()
Create a
min(this) expression |
static <A extends Number & Comparable<?>> |
NumberExpression.min(Expression<A> left,
Expression<A> right)
Create a
min(left, right) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.min(Expression<A> left,
Expression<A> right)
Create a
min(left, right) expression |
NumberExpression<Integer> |
TimeExpression.minute()
Create a minutes expression (range 0-59)
|
NumberExpression<Integer> |
DateTimeExpression.minute()
Create a minutes expression (range 0-59)
|
NumberExpression<T> |
NumberExpression.mod(Expression<T> num)
Create a
mod(this, num) expression |
NumberExpression<T> |
NumberExpression.mod(T num)
Create a
mod(this, num) expression |
NumberExpression<Integer> |
DateTimeExpression.month()
Create a month expression (range 1-12 / JAN-DEC)
|
NumberExpression<Integer> |
DateExpression.month()
Create a month expression (range 1-12 / JAN-DEC)
|
<N extends Number & Comparable<?>> |
NumberExpression.multiply(Expression<N> right)
Create a
this * right expression |
<N extends Number & Comparable<N>> |
NumberExpression.multiply(N right)
Create a
this * right expression |
NumberExpression<T> |
NumberOperation.negate() |
NumberExpression<T> |
NumberExpression.negate()
Create a
this * -1 expression |
NumberExpression<Integer> |
EnumExpression.ordinal()
Get the ordinal of this enum
|
static <A extends Number & Comparable<?>> |
MathExpressions.power(Expression<A> num,
int exponent)
Create a
power(num, exponent) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.radians(Expression<A> num)
Create a
rad(num) expression |
static NumberExpression<Double> |
NumberExpression.random()
Create a
random() expression |
static NumberExpression<Double> |
MathExpressions.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()
Create a
round(this) expression |
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()
Create a seconds expression (range 0-59)
|
NumberExpression<Integer> |
DateTimeExpression.second()
Create a seconds expression (range 0-59)
|
NumberExpression<Short> |
NumberExpression.shortValue()
Create a
this.shortValue() expression |
static <A extends Number & Comparable<?>> |
MathExpressions.sign(Expression<A> num)
Create a
sign(num) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.sin(Expression<A> num)
Create a
sin(num) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.sinh(Expression<A> num)
Create a
sinh(num) expression |
NumberExpression<Integer> |
MapExpressionBase.size()
Create a
this.size() expression |
NumberExpression<Integer> |
CollectionExpressionBase.size()
Create a
this.size() expression |
NumberExpression<Integer> |
ArrayPath.size() |
NumberExpression<Integer> |
ArrayExpression.size()
Create a
this.size() expression |
NumberExpression<Double> |
NumberExpression.sqrt()
Create a
sqrt(this) expression |
<N extends Number & Comparable<?>> |
NumberExpression.subtract(Expression<N> right)
Create a
this - right expression |
<N extends Number & Comparable<?>> |
NumberExpression.subtract(N right)
Create a
this - right expression |
NumberExpression<T> |
NumberExpression.sum()
Create a
sum(this) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.tan(Expression<A> num)
Create a
tan(num) expression |
static <A extends Number & Comparable<?>> |
MathExpressions.tanh(Expression<A> num)
Create a
tanh(num) expression |
NumberExpression<Integer> |
DateTimeExpression.week()
Create a week expression
|
NumberExpression<Integer> |
DateExpression.week()
Create a week expression
|
NumberExpression<Integer> |
DateTimeExpression.year()
Create a year expression
|
NumberExpression<Integer> |
DateExpression.year()
Create a year expression
|
NumberExpression<Integer> |
DateTimeExpression.yearMonth()
Create a year / month expression
|
NumberExpression<Integer> |
DateExpression.yearMonth()
Create a year / month expression
|
NumberExpression<Integer> |
DateTimeExpression.yearWeek()
Create a ISO yearweek expression
|
NumberExpression<Integer> |
DateExpression.yearWeek()
Create 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)
Create a
locate(str, this, start) expression |
static StringExpression |
StringExpressions.lpad(Expression<String> in,
NumberExpression<Integer> length,
char c)
Create a
lpad(in, length, c) expression |
static StringExpression |
StringExpressions.rpad(Expression<String> in,
NumberExpression<Integer> length,
char c)
Create a
rpad(in, length, c) expression |
<A extends Number & Comparable<?>> |
CaseBuilder.Initial.then(NumberExpression<A> expr) |
<T extends Number & Comparable<?>> |
CaseForEqBuilder.then(NumberExpression<T> then) |
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> |
MultiCurveExpression.length()
The Length of this MultiCurve which is equal to the sum of the lengths of the element
Curves.
|
NumberExpression<Double> |
CurveExpression.length()
The length of this Curve in its associated spatial reference.
|
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> |
JTSSurfaceExpression.area()
The area of this Surface, as measured in the spatial reference system of this Surface.
|
NumberExpression<Double> |
JTSMultiSurfaceExpression.area()
The area of this MultiSurface, as measured in the spatial reference system of this MultiSurface.
|
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<Integer> |
OracleGrammar.level |
static NumberExpression<Integer> |
OracleGrammar.rowid |
static NumberExpression<Integer> |
OracleGrammar.rownum |
Copyright © 2007–2016 Querydsl. All rights reserved.