| Package | Description |
|---|---|
| com.holonplatform.core.beans | |
| com.holonplatform.core.datastore.relational | |
| com.holonplatform.core.property | |
| com.holonplatform.core.query |
| 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 |
|---|---|
QueryProjection<T> |
SubQuery.getSelection()
Gets the projection to use as the subquery result
|
| Modifier and Type | Method and Description |
|---|---|
static <T> SubQuery<T> |
SubQuery.create(Datastore datastore,
QueryProjection<T> selection)
Build a sub query with given property as selection.
|
SubQuery<T> |
SubQuery.select(QueryProjection<T> projection)
Specify the projection to use as the subquery result.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
PathProperty<T>
|
static interface |
PathProperty.PathPropertyBuilder<T>
PathProperty 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 |
CountAllProjection
A
QueryProjection to represent the count of all the results of a query. |
interface |
FunctionExpression<T>
|
static interface |
FunctionExpression.FunctionExpressionProperty<T>
A
FunctionExpression implemented as a Property. |
static interface |
FunctionExpression.PathFunctionExpression<P,T>
A
FunctionExpression which acts on a Path. |
static interface |
FunctionExpression.PathFunctionExpressionProperty<P,T>
A
FunctionExpression.PathFunctionExpression implemented as a VirtualProperty. |
interface |
PropertySetProjection
A
QueryProjection which uses a PropertySet to define the projection selection and returns
PropertyBox type results. |
| Modifier and Type | Method and Description |
|---|---|
default <R> Optional<R> |
QueryResults.findOne(QueryProjection<R> projection)
Execute query and get an expected unique result using
projection to map result to required type. |
default <R> List<R> |
QueryResults.list(QueryProjection<R> projection)
Convenience method to obtain query results
QueryResults.stream(QueryProjection) as a List |
<R> Stream<R> |
QueryResults.stream(QueryProjection<R> projection)
Execute query and get a
Stream of query results using given projection to map results to
required type. |
Copyright © 2017 The Holon Platform. All rights reserved.