Modifier and Type | Interface and Description |
---|---|
interface |
CollectionConstantExpression<T>
A
ConstantConverterExpression with a Collection value type. |
interface |
CollectionExpression<E,C extends Collection<E>>
A
Collection type TypedExpression . |
interface |
ConstantConverterExpression<T,E>
An expression which represents a constant value and supports value conversion using an
ExpressionValueConverter . |
interface |
ConverterExpression<T>
A
TypedExpression which supports an optional ExpressionValueConverter to perform expression type
conversion. |
interface |
NullExpression<T>
A
TypedExpression which represents a null value, with expression value conversion support. |
interface |
Path<T>
Represents a generic, typed path for a data structure attribute which can be identified by a
String name. |
static interface |
Path.FinalPath<T>
Represents a final path, i.e. a path which do not support any parent path.
|
static interface |
Path.FinalPath.FinalPathBuilder<T>
Path.FinalPath builder. |
static interface |
Path.PathBuilder<T>
Path builder.
|
Modifier and Type | Method and Description |
---|---|
static <T> NullExpression<T> |
NullExpression.create(TypedExpression<T> expression)
Create a new
NullExpression instance, using given expression to inherit an
ExpressionValueConverter , if available. |
static <T> CollectionConstantExpression<T> |
CollectionConstantExpression.create(TypedExpression<T> expression,
Collection<? extends T> values)
Create a
CollectionConstantExpression which represents a collection of constant values, using given
expression to inherit an ExpressionValueConverter , if available. |
static <T> CollectionConstantExpression<T> |
CollectionConstantExpression.create(TypedExpression<T> expression,
T... values)
Create a
CollectionConstantExpression which represents a collection of constant values, using given
expression to inherit an ExpressionValueConverter , if available. |
static <T> ConstantConverterExpression<T,T> |
ConstantConverterExpression.create(TypedExpression<T> expression,
T value)
Create a
ConstantConverterExpression which represents a constant value, using given
expression to inherit an ExpressionValueConverter , if available. |
Modifier and Type | Interface and Description |
---|---|
interface |
BeanDataTarget<T>
A
DataTarget which uses a bean class a path type. |
interface |
BeanProperty<T>
Represents a Java Bean property as a
PathProperty , providing additional configuration informations and
read/write methods. |
static interface |
BeanProperty.Builder<T>
BeanProperty builder.
|
interface |
BooleanBeanProperty
A Boolean type
BeanProperty , implementing BooleanProperty . |
interface |
NumericBeanProperty<N extends Number>
A numeric type
BeanProperty , implementing NumericProperty . |
interface |
StringBeanProperty
A String type
BeanProperty , implementing StringProperty . |
interface |
TemporalBeanProperty<T>
A temporal type
BeanProperty , implementing TemporalProperty . |
Modifier and Type | Interface and Description |
---|---|
interface |
DataTarget<T>
Representation of the target element of a data model persistence/query operation.
|
Modifier and Type | Method and Description |
---|---|
<T> O |
BeanBulkUpdateOperation.set(Path<T> path,
TypedExpression<? super T> expression)
Set given
path to given expression value. |
Modifier and Type | Method and Description |
---|---|
Map<Path<?>,TypedExpression<?>> |
PropertyBoxOperationConfiguration.getValueExpressions(boolean includeNullValues)
|
Map<Path<?>,TypedExpression<?>> |
BulkUpdateOperationConfiguration.getValues()
Get the operation values, expressed as a
Path - TypedExpression map. |
Modifier and Type | Method and Description |
---|---|
<T> O |
BulkUpdateOperation.set(Path<T> path,
TypedExpression<? super T> expression)
Set given
path to given expression value. |
Modifier and Type | Interface and Description |
---|---|
static interface |
Aliasable.AliasablePath<T,C extends Aliasable.AliasablePath<T,C>>
|
interface |
Join<T>
Represents a relational join expression between two
DataTarget s. |
interface |
RelationalTarget<T>
A
DataTarget which can be use with relational Datastore s. |
interface |
SubQuery<T>
Relational sub query
QueryExpression . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConverterExpression<T>
Abstract
ConverterExpression implementation. |
class |
DefaultCollectionConstantExpression<E>
Default
CollectionConstantExpression implementation. |
class |
DefaultConstantConverterExpression<T>
Default
ConstantConverterExpression implementation. |
class |
DefaultFinalPath<T>
Default
FinalPath implementation. |
class |
DefaultNullExpression<T>
Default
NullExpression implementation. |
class |
DefaultPath<T>
Default
Path implementation. |
Constructor and Description |
---|
DefaultCollectionConstantExpression(TypedExpression<E> expression,
Collection<? extends E> values)
Constructor with a collection of values.
|
DefaultCollectionConstantExpression(TypedExpression<E> expression,
E... values)
Constructor with an array of values.
|
DefaultConstantConverterExpression(TypedExpression<T> expression,
T value)
Constructor
|
DefaultNullExpression(TypedExpression<T> expression)
Constructor with associated expression.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanProperty
A boolean type
PathProperty . |
static interface |
BooleanProperty.BooleanPropertyBuilder
BooleanProperty builder. |
interface |
CloneableProperty<T,P extends Property<T>,B extends Property.Builder<T,P,?>>
Declares a
Property as cloneable. |
static interface |
CloneableProperty.CloneablePathProperty<T,P extends Property<T> & Path<T>>
A
Path type CloneableProperty . |
interface |
CollectionPathProperty<E,C extends Collection<E>>
A
CollectionProperty type PathProperty . |
interface |
CollectionProperty<E,C extends Collection<E>>
A
Property which handles a Collection of values. |
static interface |
CollectionProperty.ListProperty<T>
A
CollectionProperty which uses a List as concrete collection type. |
static interface |
CollectionProperty.SetProperty<T>
A
CollectionProperty which uses a Set as concrete collection type. |
interface |
ListPathProperty<T>
A
CollectionPathProperty which uses a List as concrete collection type. |
static interface |
ListPathProperty.ListPathPropertyBuilder<T>
ListPathProperty builder. |
interface |
ListVirtualProperty<T>
A collection type
VirtualProperty using a List as concrete collection type. |
static interface |
ListVirtualProperty.ListVirtualPropertyBuilder<T>
|
interface |
NumericProperty<N extends Number>
A numeric type
PathProperty . |
static interface |
NumericProperty.NumericPropertyBuilder<N extends Number>
NumericProperty builder. |
interface |
PathProperty<T>
|
static interface |
PathProperty.PathPropertyBuilder<T>
PathProperty builder. |
interface |
Property<T>
Property is the base interface to represent a generic data attribute.
|
interface |
PropertyBoxProperty
A
PropertyBox type PathProperty . |
static interface |
PropertyBoxProperty.PropertyBoxPropertyBuilder
PropertyBoxProperty builder. |
interface |
SetPathProperty<T>
A
CollectionPathProperty which uses a Set as concrete collection type. |
static interface |
SetPathProperty.SetPathPropertyBuilder<T>
SetPathProperty builder. |
interface |
SetVirtualProperty<T>
A collection type
VirtualProperty using a Set as concrete collection type. |
static interface |
SetVirtualProperty.SetVirtualPropertyBuilder<T>
SetVirtualProperty builder. |
interface |
StringProperty
A String type
PathProperty . |
static interface |
StringProperty.StringPropertyBuilder
StringProperty builder. |
interface |
TemporalProperty<T>
A temporal type
PathProperty . |
static interface |
TemporalProperty.TemporalPropertyBuilder<T>
TemporalProperty builder. |
interface |
VirtualProperty<T>
A virtual
Property which relies on a PropertyValueProvider to provide its value, and it is not
directly bound to a data model attribute. |
static interface |
VirtualProperty.Builder<T,P extends VirtualProperty<T>,B extends VirtualProperty.Builder<T,P,B>>
Base
VirtualProperty builder. |
static interface |
VirtualProperty.VirtualPropertyBuilder<T>
Default
VirtualProperty builder. |
Modifier and Type | Interface and Description |
---|---|
interface |
BeanProjection<T>
A
QueryProjection which uses a BeanPropertySet to define the projection selection and returns
BeanPropertySet.getBeanClass() type results. |
interface |
ConstantExpression<T>
Constant value expression which can also act as
QueryProjection . |
interface |
CountAllProjection
A
QueryProjection to represent the count of all the results of a query. |
interface |
NumericQueryExpression<N extends Number>
A
QueryExpression of Number type. |
interface |
PathExpression<T>
A
QueryExpression wich represents a Path . |
interface |
PropertySetProjection
A
QueryProjection which uses a PropertySet to define the projection selection and returns
PropertyBox type results. |
interface |
QueryExpression<T>
Represent a general typed expression used by
Query clauses. |
interface |
QueryFunction<T,A>
Represents a function expression.
|
static interface |
QueryFunction.Avg
A function which represents the average value of a query result.
|
static interface |
QueryFunction.Count
A function which represents the count of a query result values.
|
static interface |
QueryFunction.Max<T>
A function which represents the largest value of a query result.
|
static interface |
QueryFunction.Min<T>
A function which represents the smallest value of a query result.
|
static interface |
QueryFunction.NoArgQueryFunction<T>
A
QueryFunction which do not support any argument. |
static interface |
QueryFunction.PropertyQueryFunction<T,A>
A
QueryFunction which is also a Property , allowing the function to be used within a property set
query projection and the function value to be collected in a PropertyBox . |
static interface |
QueryFunction.Sum<T extends Number>
A function which represents the sum of a numeric query result values.
|
interface |
QueryOperation<C extends QueryConfiguration,R>
Represent a query operation expression, providing query configuration and projection.
|
interface |
QueryProjection<T>
A query projection
Expression to obtain typed query results. |
interface |
SelectAllProjection
A
QueryProjection to obtain all the values af a persistent data entity instance. |
interface |
StringFunction
Represents a
QueryFunction on a String data type. |
static interface |
StringFunction.Lower
Function to convert a string to lowercase.
|
static interface |
StringFunction.Upper
Function to convert a string to uppercase.
|
interface |
StringQueryExpression
A
QueryExpression of String type. |
interface |
TemporalFunction<T>
Represents a temporal-related
QueryFunction . |
static interface |
TemporalFunction.CurrentDate
A function to obtain the current date as a
Date . |
static interface |
TemporalFunction.CurrentLocalDate
A function to obtain the current date as a
LocalDate . |
static interface |
TemporalFunction.CurrentLocalDateTime
A function to obtain the current date and time as a
LocalDateTime . |
static interface |
TemporalFunction.CurrentTimestamp
A function to obtain the current timestamp as a
Date . |
static interface |
TemporalFunction.Day
A function to extract the day part of a temporal data type.
|
static interface |
TemporalFunction.Hour
A function to extract the hour part of a temporal data type.
|
static interface |
TemporalFunction.Month
A function to extract the month part of a temporal data type.
|
static interface |
TemporalFunction.Year
A function to extract the year part of a temporal data type.
|
interface |
TemporalQueryExpression<T>
A
QueryExpression of a temporal type. |
Modifier and Type | Method and Description |
---|---|
List<TypedExpression<? extends A>> |
QueryFunction.getExpressionArguments()
If the function supports expression arguments, returns the arguments list.
|
default List<TypedExpression<? extends Void>> |
QueryFunction.NoArgQueryFunction.getExpressionArguments() |
Modifier and Type | Method and Description |
---|---|
static QueryFunction.Avg |
QueryFunction.avg(TypedExpression<? extends Number> argument)
Creates an aggregate function to calculate the average value of a numeric query result.
|
static <T> QueryFilter |
QueryFilter.between(TypedExpression<T> expression,
T from,
T to)
Build a
QueryFilter using given expression , which checks if expression value is between
given from and to values. |
static QueryFilter |
QueryFilter.contains(TypedExpression<String> expression,
String value,
boolean ignoreCase)
Build a contains
QueryFilter on given String expression , checking if the
expression value contains given value. |
static QueryFunction.Count |
QueryFunction.count(TypedExpression<?> argument)
Creates an aggregate function to count query results.
|
static QueryFunction.Count |
QueryFunction.Count.create(TypedExpression<?> argument)
Create a new
QueryFunction.Count function instance. |
static TemporalFunction.Year |
TemporalFunction.Year.create(TypedExpression<?> argument)
Create a new
TemporalFunction.Year function instance. |
static TemporalFunction.Month |
TemporalFunction.Month.create(TypedExpression<?> argument)
Create a new
TemporalFunction.Month function instance. |
static TemporalFunction.Day |
TemporalFunction.Day.create(TypedExpression<?> argument)
Create a new
TemporalFunction.Day function instance. |
static TemporalFunction.Hour |
TemporalFunction.Hour.create(TypedExpression<?> argument)
Create a new
TemporalFunction.Hour function instance. |
static QueryFunction.Avg |
QueryFunction.Avg.create(TypedExpression<? extends Number> argument)
Create a new
QueryFunction.Avg function instance. |
static StringFunction.Lower |
StringFunction.Lower.create(TypedExpression<String> argument)
Create a new
StringFunction.Lower function instance. |
static StringFunction.Upper |
StringFunction.Upper.create(TypedExpression<String> argument)
Create a new
StringFunction.Lower function instance. |
static <T> QueryFunction.Min<T> |
QueryFunction.Min.create(TypedExpression<T> argument)
Create a new
QueryFunction.Min function instance. |
static <T> QueryFunction.Max<T> |
QueryFunction.Max.create(TypedExpression<T> argument)
Create a new
QueryFunction.Max function instance. |
static <T extends Number> |
QueryFunction.Sum.create(TypedExpression<T> argument)
Create a new
QueryFunction.Sum function instance. |
static <T> ConstantExpression<T> |
ConstantExpression.create(TypedExpression<T> expression,
T value)
Create a
ConstantExpression which represents a constant value, using given expression to
inherit an ExpressionValueConverter , if available. |
static TemporalFunction.Day |
QueryFunction.day(TypedExpression<?> argument)
Create a function to extract the day part of a temporal data type.
|
static QueryFilter |
QueryFilter.endsWith(TypedExpression<String> expression,
String value,
boolean ignoreCase)
Build a ends with
QueryFilter on given String expression , checking if the
expression value ends with given value. |
default QueryFilter |
QueryExpression.eq(TypedExpression<? super T> expression)
Build a filter on this expression, which checks if property value is equal to given
expression
value. |
static <T> QueryFilter |
QueryFilter.eq(TypedExpression<T> expression,
T value)
Build a
QueryFilter using given expression , which checks if expression value is equal to
given constant value. |
static <T> QueryFilter |
QueryFilter.eq(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is equal to right expression value. |
static <T> QueryFilter |
QueryFilter.eq(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is equal to right expression value. |
default QueryFilter |
QueryExpression.goe(TypedExpression<? super T> expression)
Build a filter on this expression, which checks if property value is greater than or equal to given
expression value. |
static <T> QueryFilter |
QueryFilter.goe(TypedExpression<T> expression,
T value)
Build a
QueryFilter using given expression , which checks if expression value is greater than
or equal to given constant value. |
static <T> QueryFilter |
QueryFilter.goe(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is greater than or equal to right expression value. |
static <T> QueryFilter |
QueryFilter.goe(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is greater than or equal to right expression value. |
static <T> QueryFilter |
QueryFilter.greaterThan(TypedExpression<T> expression,
T value,
boolean includeEquals)
Build a
QueryFilter using given expression , which checks if expression value is greater than
or greater than or equal to given constant value. |
static <T> QueryFilter |
QueryFilter.greaterThan(TypedExpression<T> left,
TypedExpression<? super T> right,
boolean includeEquals)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is greater than or greater than or equal to right expression value. |
static <T> QueryFilter |
QueryFilter.greaterThan(TypedExpression<T> left,
TypedExpression<? super T> right,
boolean includeEquals)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is greater than or greater than or equal to right expression value. |
default QueryFilter |
QueryExpression.gt(TypedExpression<? super T> expression)
Build a filter on this expression, which checks if property value is greater than given
expression
value. |
static <T> QueryFilter |
QueryFilter.gt(TypedExpression<T> expression,
T value)
Build a
QueryFilter using given expression , which checks if expression value is greater than
given constant value. |
static <T> QueryFilter |
QueryFilter.gt(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is greater than right expression value. |
static <T> QueryFilter |
QueryFilter.gt(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is greater than right expression value. |
static TemporalFunction.Hour |
QueryFunction.hour(TypedExpression<?> argument)
Create a function to extract the hour part of a temporal data type.
|
default QueryFilter |
QueryExpression.in(TypedExpression<? super T> expression)
Build a filter on this expression, which checks if property value is included in given
expression
values. |
static <T> QueryFilter |
QueryFilter.in(TypedExpression<T> expression,
Collection<T> values)
Build a
QueryFilter using given expression , which checks if expression value is equal to any
of the given constant values. |
static <T> QueryFilter |
QueryFilter.in(TypedExpression<T> expression,
T... values)
Build a
QueryFilter using given expression , which checks if expression value is equal to any
of the given constant values. |
static <T> QueryFilter |
QueryFilter.in(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is equal to any of the right expression values. |
static <T> QueryFilter |
QueryFilter.in(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is equal to any of the right expression values. |
static <T> QueryFilter |
QueryFilter.isNotNull(TypedExpression<T> expression)
|
static <T> QueryFilter |
QueryFilter.isNull(TypedExpression<T> expression)
|
static <T> QueryFilter |
QueryFilter.lessThan(TypedExpression<T> expression,
T value,
boolean includeEquals)
Build a
QueryFilter using given expression , which checks if expression value is less than or
less than or equal to given constant value. |
static <T> QueryFilter |
QueryFilter.lessThan(TypedExpression<T> left,
TypedExpression<? super T> right,
boolean includeEquals)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is less than or less than or equal to right expression value. |
static <T> QueryFilter |
QueryFilter.lessThan(TypedExpression<T> left,
TypedExpression<? super T> right,
boolean includeEquals)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is less than or less than or equal to right expression value. |
default QueryFilter |
QueryExpression.loe(TypedExpression<? super T> expression)
Build a filter on this expression, which checks if property value is less than or equal to given
expression value. |
static <T> QueryFilter |
QueryFilter.loe(TypedExpression<T> expression,
T value)
Build a
QueryFilter using given expression , which checks if expression value is less than or
equal to given constant value. |
static <T> QueryFilter |
QueryFilter.loe(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is less than or equal to right expression value. |
static <T> QueryFilter |
QueryFilter.loe(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is less than or equal to right expression value. |
static StringFunction.Lower |
QueryFunction.lower(TypedExpression<String> argument)
Creates a function to convert a String data type into lowercase.
|
default QueryFilter |
QueryExpression.lt(TypedExpression<? super T> expression)
Build a filter on this expression, which checks if property value is less than given
expression
value. |
static <T> QueryFilter |
QueryFilter.lt(TypedExpression<T> expression,
T value)
Build a
QueryFilter using given expression , which checks if expression value is less than
given constant value. |
static <T> QueryFilter |
QueryFilter.lt(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is less than right expression value. |
static <T> QueryFilter |
QueryFilter.lt(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is less than right expression value. |
static <T> QueryFunction.Max<T> |
QueryFunction.max(TypedExpression<T> argument)
Creates an aggregate function to get the largest value of a query result.
|
static <T> QueryFunction.Min<T> |
QueryFunction.min(TypedExpression<T> argument)
Creates an aggregate function to get the smallest value of a query result.
|
static TemporalFunction.Month |
QueryFunction.month(TypedExpression<?> argument)
Create a function to extract the month part of a temporal data type.
|
default QueryFilter |
QueryExpression.neq(TypedExpression<? super T> expression)
Build a filter on this expression, which checks if property value is not equal to given
expression
value. |
static <T> QueryFilter |
QueryFilter.neq(TypedExpression<T> expression,
T value)
Build a
QueryFilter using given expression , which checks if expression value is not equal to
given constant value. |
static <T> QueryFilter |
QueryFilter.neq(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is not equal to right expression value. |
static <T> QueryFilter |
QueryFilter.neq(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is not equal to right expression value. |
default QueryFilter |
QueryExpression.nin(TypedExpression<? super T> expression)
Build a filter on this expression, which checks if property value is not included in given
expression values. |
static <T> QueryFilter |
QueryFilter.nin(TypedExpression<T> expression,
Collection<T> values)
Build a
QueryFilter using given expression , which checks if expression value is not included
in given constant values. |
static <T> QueryFilter |
QueryFilter.nin(TypedExpression<T> expression,
T... values)
Build a
QueryFilter using given expression , which checks if expression value is not included
in given constant values. |
static <T> QueryFilter |
QueryFilter.nin(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is not included in the right expression values. |
static <T> QueryFilter |
QueryFilter.nin(TypedExpression<T> left,
TypedExpression<? super T> right)
Build a
QueryFilter using given left and right operands, which checks if left
expression value is not included in the right expression values. |
static QueryFilter |
QueryFilter.startsWith(TypedExpression<String> expression,
String value,
boolean ignoreCase)
Build a starts with
QueryFilter on given String expression , checking if the
expression value starts with given value. |
static <T extends Number> |
QueryFunction.sum(TypedExpression<T> argument)
Creates an aggregate function to sum numeric query results.
|
static StringFunction.Upper |
QueryFunction.upper(TypedExpression<String> argument)
Creates a function to convert a String data type into uppercase.
|
static TemporalFunction.Year |
QueryFunction.year(TypedExpression<?> argument)
Create a function to extract the year part of a temporal data type.
|
Copyright © 2019 The Holon Platform. All rights reserved.