| Package | Description |
|---|---|
| com.github.mohitgoyal91.cosmosdbqueryutils | |
| com.github.mohitgoyal91.cosmosdbqueryutils.QueryProcessor |
| Modifier and Type | Method and Description |
|---|---|
SelectQuery |
SelectQuery.addRestrictions(Restriction... restrictions)
To add reestrictions
|
SelectQuery |
SelectQuery.andAddRestrictions(Restriction... restrictions)
To add restrictions, with a separation of 'AND' between previous and this restriction
|
SelectQuery |
SelectQuery.arrayContains(String propertyName,
Object value) |
SelectQuery |
SelectQuery.avg(String propertyName) |
SelectQuery |
SelectQuery.avg(String propertyName,
String alias) |
SelectQuery |
SelectQuery.avg(String propertyName,
String alias,
String udf) |
SelectQuery |
SelectQuery.columns(Columns columns)
To add columns
|
SelectQuery |
SelectQuery.count()
To specify if only the count of rows is required
|
SelectQuery |
SelectQuery.count(String propertyName) |
SelectQuery |
SelectQuery.count(String propertyName,
String alias) |
SelectQuery |
SelectQuery.eq(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with =
|
SelectQuery |
SelectQuery.eq(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a =
|
SelectQuery |
SelectQuery.eq(String propertyName,
Object value)
To introduce a = restriction in the query
|
SelectQuery |
SelectQuery.gt(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with >
|
SelectQuery |
SelectQuery.gt(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a >
|
SelectQuery |
SelectQuery.gt(String propertyName,
Object value)
To introduce a > restriction in the query
|
SelectQuery |
SelectQuery.gte(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with >=
|
SelectQuery |
SelectQuery.gte(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a >=
|
SelectQuery |
SelectQuery.gte(String propertyName,
Object value)
To introduce a >= restriction in the query
|
SelectQuery |
SelectQuery.id(String id)
To create query with id restriction
|
SelectQuery |
SelectQuery.in(String propertyName,
List<Object> values)
To introduce an in restriction in the query
|
SelectQuery |
SelectQuery.in(String propertyName,
Object... values)
To introduce an in restriction in the query
|
SelectQuery |
SelectQuery.isDefined(String propertyName) |
SelectQuery |
SelectQuery.isNotDefined(String propertyName) |
SelectQuery |
SelectQuery.limitResults(int limit)
To add limit
|
SelectQuery |
SelectQuery.lt(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with <
|
SelectQuery |
SelectQuery.lt(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a <
|
SelectQuery |
SelectQuery.lt(String propertyName,
Object value)
To introduce a < restriction in the query
|
SelectQuery |
SelectQuery.lte(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with <=
|
SelectQuery |
SelectQuery.lte(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a <=
|
SelectQuery |
SelectQuery.lte(String propertyName,
Object value)
To introduce a <= restriction in the query
|
SelectQuery |
SelectQuery.max(String propertyName) |
SelectQuery |
SelectQuery.max(String propertyName,
String alias) |
SelectQuery |
SelectQuery.max(String propertyName,
String alias,
String udf) |
SelectQuery |
SelectQuery.min(String propertyName) |
SelectQuery |
SelectQuery.min(String propertyName,
String alias) |
SelectQuery |
SelectQuery.min(String propertyName,
String alias,
String udf) |
SelectQuery |
SelectQuery.notEq(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with !=
|
SelectQuery |
SelectQuery.notEq(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a !=
|
SelectQuery |
SelectQuery.notEq(String propertyName,
Object value)
To introduce a = restriction in the query
|
SelectQuery |
SelectQuery.or()
to separate the previous and next restrictions by an 'OR'
|
SelectQuery |
SelectQuery.orAddRestrictions(Restriction... restrictions)
To add restrictions, with a separation of 'OR' between previous and this restriction
|
SelectQuery |
SelectQuery.orderBy(String parameterName,
Constants.Order order)
Ordering the query by parameter
|
SelectQuery |
SelectQuery.orderByTS(Constants.Order order)
Ordering the query by _ts
|
SelectQuery |
SelectQuery.sum(String propertyName) |
SelectQuery |
SelectQuery.sum(String propertyName,
String alias) |
SelectQuery |
SelectQuery.sum(String propertyName,
String alias,
String udf) |
SelectQuery |
SelectQuery.within(String propertyName,
GeoSpatialObject geoSpatialObject)
To introduce a ST_WITHIN restriction in the query
|
| Constructor and Description |
|---|
Processor(SelectQuery selectQuery)
Instantiates a new Processor.
|
Copyright © 2020. All rights reserved.