| Modifier and Type | Interface and Description |
|---|---|
static interface |
Path.FinalPath<T>
Represents a final path, i.e. a path which do not support any parent path.
|
static interface |
Path.PathBuilder<T>
Path builder.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Path<?>> |
Path.getParent()
Gets the parent path
|
default Optional<Path<?>> |
Path.FinalPath.getParent() |
default Stream<Path<?>> |
Path.stream()
Returns a
Stream of path hierarchy, starting form this path and walking through parent paths, if any. |
| Modifier and Type | Method and Description |
|---|---|
B |
Path.Builder.parent(Path<?> parent)
Sets the parent path
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BeanProperty<T>
Represents a Java Bean property as a
PathProperty, providing additional configuration informations and
methods. |
static interface |
BeanProperty.Builder<T>
BeanProperty builder.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> BeanPropertySet<T> |
BeanPropertySet.create(Class<? extends T> beanClass,
Path<?> parentPath)
Create a bean property set using default
BeanIntrospector. |
<T> BeanPropertySet<T> |
BeanIntrospector.getPropertySet(Class<? extends T> beanClass,
Path<?> parentPath)
Introspect given Java Bean
beanClass and provides a BeanPropertySet to learn about bean
properties and configuration. |
<V> V |
BeanPropertySet.read(Path<V> path,
T instance)
Read the value of the property bound to given
path from given bean instance, using full path name to
match the bean property to read. |
<P> void |
BeanPropertySet.write(Path<P> path,
P value,
T instance)
Write the
value bound to given path to given bean instance, using full path name to
match the bean property to write. |
| 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 |
|---|---|
Map<Path<?>,Object> |
Datastore.OperationResult.getInsertedKeys()
For
Datastore.OperationType.INSERT operations, returns the inserted key values, if the concrete
Datastore implementation supports this feature. |
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<T> |
Datastore.OperationResult.getInsertedKey(Path<T> path)
For
Datastore.OperationType.INSERT operations, returns the inserted key value which correspond to given
path name, if available. |
Datastore.OperationResult.Builder |
Datastore.OperationResult.Builder.withInsertedKey(Path<?> key,
Object value)
Add an inserted key
|
| Modifier and Type | Method and Description |
|---|---|
<T> C |
BulkClause.set(Path<T> path,
T value)
Add a value binding using a
Path. |
C |
BulkClause.setNull(Path path)
Bind the given
Path to null |
| 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
DataTargets. |
interface |
RelationalTarget<T>
A
DataTarget which can be use with relational Datastores. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PathProperty<T>
|
static interface |
PathProperty.PathPropertyBuilder<T>
PathProperty builder. |
| Modifier and Type | Method and Description |
|---|---|
static <T> PathProperty.PathPropertyBuilder<T> |
PathProperty.create(Path<T> path)
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
PathExpression<T>
A
QueryExpression wich represents a Path. |
| Modifier and Type | Method and Description |
|---|---|
Path<?>[] |
QueryAggregation.getAggregationPaths()
Get the paths for wich to aggregate the query results.
|
Path<T> |
QuerySort.PathQuerySort.getPath()
Get the
Path on which the sort is declared. |
Path<P> |
FunctionExpression.PathFunctionExpression.getPath()
Get the
Path subject of the function. |
| Modifier and Type | Method and Description |
|---|---|
default C |
QueryAggregation.QueryAggregationSupport.aggregate(Path<?>... paths)
Aggregate results on given paths.
|
static <T> QuerySort |
QuerySort.asc(Path<T> path)
Create a QuerySort on given
path using QuerySort.SortDirection.ASCENDING sort direction. |
static <T> FunctionExpression.PathFunctionExpression<T,Double> |
FunctionExpression.avg(Path<T> path)
Create a function expression which represents the
QueryFunction.Avg aggregation function on given path. |
static <T> FunctionExpression.PathFunctionExpression<T,Long> |
FunctionExpression.count(Path<T> path)
Create a function expression which represents the
QueryFunction.Count aggregation function on given path. |
static QueryAggregation |
QueryAggregation.create(Path<?>... paths)
Create a
QueryAggregation using given aggregation paths |
static <P,T> FunctionExpression.PathFunctionExpressionProperty<P,T> |
FunctionExpression.PathFunctionExpressionProperty.create(QueryFunction<T> function,
Path<P> path)
|
static <T> QuerySort |
QuerySort.desc(Path<T> path)
Create a QuerySort on given
path using QuerySort.SortDirection.DESCENDING sort direction. |
static <T> PathExpression<T> |
PathExpression.from(Path<T> path)
Create a
PathExpression from given Path. |
static <T> FunctionExpression.PathFunctionExpression<T,T> |
FunctionExpression.max(Path<T> path)
Create a function expression which represents the
QueryFunction.Max aggregation function on given path. |
static <T> FunctionExpression.PathFunctionExpression<T,T> |
FunctionExpression.min(Path<T> path)
Create a function expression which represents the
QueryFunction.Min aggregation function on given path. |
static <T> BeanProjection<T> |
BeanProjection.of(Class<T> beanClass,
Path... selection)
Create a
BeanProjection using given bean class. |
static <T> QuerySort |
QuerySort.of(Path<T> path,
boolean ascending)
Create a QuerySort on given
path using given sort direction |
static <T> QuerySort |
QuerySort.of(Path<T> path,
QuerySort.SortDirection direction)
Create a QuerySort on given
path using given sort direction |
QueryAggregation.Builder |
QueryAggregation.Builder.path(Path<?> path)
Add a query aggregation path.
|
static <T> FunctionExpression.PathFunctionExpression<T,T> |
FunctionExpression.sum(Path<T> path)
Create a function expression which represents the
QueryFunction.Max aggregation function on given path. |
| Modifier and Type | Method and Description |
|---|---|
default C |
QueryAggregation.QueryAggregationSupport.aggregate(List<Path> paths)
Aggregate results on given paths.
|
static QueryAggregation |
QueryAggregation.create(List<Path> paths)
Create a
QueryAggregation using given aggregation paths |
Copyright © 2017 The Holon Platform. All rights reserved.