| Modifier and Type | Method and Description |
|---|---|
default <P extends Property> |
AsyncQueryResults.findOne(Iterable<P> properties)
Execute the query asynchronously and get an expected unique result as a
PropertyBox instance, using given
properties as projection. |
default <P extends Property> |
AsyncQueryResults.list(Iterable<P> properties)
Execute the query asynchronously and get a
List of query results as PropertyBox instances, using
given properties as projection. |
default <P extends Property> |
AsyncQueryResults.stream(Iterable<P> properties)
Execute the query asynchronously and get a
Stream of query results as PropertyBox instances,
using given properties as projection. |
| Modifier and Type | Method and Description |
|---|---|
default CompletionStage<Optional<PropertyBox>> |
AsyncQueryResults.findOne(Property... properties)
Execute the query asynchronously and get an expected unique result as
PropertyBox instance, using given
properties as projection. |
default CompletionStage<List<PropertyBox>> |
AsyncQueryResults.list(Property... properties)
Execute the query asynchronously and get a
List of query results as PropertyBox instances, using
given properties as projection. |
default CompletionStage<Stream<PropertyBox>> |
AsyncQueryResults.stream(Property... properties)
Execute the query asynchronously and get a
Stream of query results as PropertyBox instances,
using given properties as projection. |
| Modifier and Type | Method and Description |
|---|---|
static <TYPE> Optional<ExpressionValueConverter<TYPE,?>> |
ExpressionValueConverter.fromProperty(Property<TYPE> property)
Create a new
ExpressionValueConverter using given property. |
| Modifier and Type | Interface and Description |
|---|---|
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 | Method and Description |
|---|---|
<P extends Property> |
BulkInsertOperation.propertySet(Iterable<P> properties)
Set the operation property set, i.e.
|
default <P extends Property> |
BulkInsertOperation.propertySet(P... properties)
Set the operation property set, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
default <P extends Property> |
BulkInsertOperation.propertySet(P... properties)
Set the operation property set, i.e.
|
| Modifier and Type | Interface and Description |
|---|---|
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. |
static interface |
PathProperty.Builder<T,P extends Path<T> & Property<T>,B extends PathProperty.Builder<T,P,B>>
|
static interface |
Property.Builder<T,P extends Property<T>,B extends Property.Builder<T,P,B>>
Base
Property builder. |
interface |
PropertySet<P extends Property>
|
static interface |
PropertySet.Builder<P extends Property>
Builder to create
PropertySet instances. |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Property> |
PropertySet.builder(Class<? extends P> propertyType)
Obtain a builder to create and populate a
PropertySet which supports given Property type. |
static <P extends Property> |
PropertyBox.builder(Iterable<P> properties)
Builder to create and populate a PropertyBox.
|
static <P extends Property> |
PropertyBox.builder(P... properties)
Builder to create and populate a PropertyBox.
|
static <P extends Property> |
PropertySet.builderOf(P... properties)
Obtain a builder to create and populate a
PropertySet, and add given properties to the
property set to build. |
static <P extends Property> |
PropertySet.builderOf(PropertySet<P> propertySet)
Get a builder to create a new
PropertySet from given propertySet, cloning configuration,
identifiers and properties of the provided propertySet. |
default <P extends Property> |
PropertyBox.cloneBox(PropertySet<P> propertySet)
Clone this PropertyBox using given
propertySet, i.e. |
static <P extends Property> |
PropertyBox.create(Iterable<P> properties)
Shorter method to create a PropertyBox with given
properties set. |
static <P extends Property> |
PropertyBox.create(P... properties)
Shorter method to create a PropertyBox with given
properties set. |
static <P extends Property> |
PropertyBoxProperty.create(String name,
Iterable<P> properties)
|
static <P extends Property> |
PropertyBoxProperty.create(String name,
P... properties)
|
static <P extends Property> |
PropertySet.join(PropertySet<? extends P>... propertySets)
Deprecated.
Using this method causes the loss of any property set configuration and/or identifier property
declaration. Use the default PropertySet builder to compose a new PropertySet from different property
sources.
|
static <P extends Property> |
PropertySet.of(Iterable<P> properties)
Create a new PropertySet containing all given
properties Iterable elements. |
static <P extends Property> |
PropertySet.of(P... properties)
Create a new PropertySet containing given
properties. |
static <P extends Property> |
PropertySet.of(PropertySet<? extends P> propertySet,
P... properties)
|
static <P extends Property> |
ListPathProperty.propertyBox(String name,
Iterable<P> properties)
|
static <P extends Property> |
SetPathProperty.propertyBox(String name,
Iterable<P> properties)
|
| Modifier and Type | Method and Description |
|---|---|
Property<T> |
PathPropertySetAdapter.PropertyPath.getProperty()
Get the property definition.
|
Property<T> |
PropertyBox.PropertyValue.getProperty()
Get the
Property. |
| Modifier and Type | Method and Description |
|---|---|
static PropertySet.Builder<Property<?>> |
PropertySet.builder()
Obtain a builder to create and populate a generic
PropertySet. |
static <P extends Property> |
PropertySet.builderOf(P... properties)
Obtain a builder to create and populate a
PropertySet, and add given properties to the
property set to build. |
static <P extends Property> |
PropertySet.builderOf(PropertySet<P> propertySet)
Get a builder to create a new
PropertySet from given propertySet, cloning configuration,
identifiers and properties of the provided propertySet. |
Optional<Property<?>> |
Property.PropertyAccessException.getProperty()
Get the property to which exception is related
|
<T> Optional<Property<T>> |
PathPropertySetAdapter.getProperty(Path<T> path)
Check if a
Property which corresponds to given path is present in the property set. |
Optional<Property<?>> |
PathPropertySetAdapter.getProperty(String name)
Get the
Property with given name, if available in the property set. |
<T> Optional<Property<T>> |
PathPropertySetAdapter.getProperty(String name,
Class<T> type)
Get the
Property with given name, if available in the property set. |
<T> Optional<Property<T>> |
PathPropertyBoxAdapter.setValue(Path<T> path,
T value)
Set the value of the
PropertyBox property which corresponds to given path, if such property
is available. |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Property> |
PropertyBox.builder(P... properties)
Builder to create and populate a PropertyBox.
|
static <P extends Property> |
PropertySet.builderOf(P... properties)
Obtain a builder to create and populate a
PropertySet, and add given properties to the
property set to build. |
default PropertyBox |
PropertyBox.cloneBox(Property<?>... propertySet)
Clone this PropertyBox using given
propertySet, i.e. |
boolean |
PropertySet.contains(Property property)
Return
true if this set contains the given property. |
<T> boolean |
PropertyBox.containsValue(Property<T> property)
Check if this box contains given
property with a not null value. |
<T> Optional<Path<T>> |
PathPropertySetAdapter.PathConverter.convert(Property<T> property)
|
static <P extends Property> |
PropertyBox.create(P... properties)
Shorter method to create a PropertyBox with given
properties set. |
static <P extends Property> |
PropertyBoxProperty.create(String name,
P... properties)
|
default <R,T> void |
PropertyRendererRegistry.forProperty(Property<? extends T> property,
PropertyRenderer<R,T> renderer)
Bind a
PropertyRenderer to the given property. |
default <T> void |
PropertyValuePresenterRegistry.forProperty(Property<? extends T> property,
PropertyValuePresenter<? super T> presenter)
Bind a
PropertyValuePresenter to the given property. |
TYPE |
PropertyValueConverter.fromModel(MODEL value,
Property<TYPE> property)
Convert given value from model data type to property value type
|
<T> Optional<Path<T>> |
PathPropertySetAdapter.getPath(Property<T> property)
Check if given
property is available in property set and if it can be represented as a Path. |
<T> Optional<PropertyValuePresenter<T>> |
PropertyValuePresenterRegistry.getPresenter(Property<T> property)
Gets the
PropertyValuePresenter to use with given property according to registered
presenters. |
<R,T> Optional<PropertyRenderer<R,T>> |
PropertyRendererRegistry.getRenderer(Class<R> renderingType,
Property<? extends T> property)
Gets the
PropertyRenderer to use with given property according to registered renderers for
given renderingType. |
<T> T |
PropertyBox.getValue(Property<T> property)
Get the value for given
property. |
<T> Optional<T> |
PropertyBox.getValueIfPresent(Property<T> property)
Get the value for given
property, if property is present in this box and has a not null
value. |
default PropertySet.Builder<P> |
PropertySet.Builder.identifiers(P... properties)
Set given
properties as property set identifiers. |
static <P extends Property> |
PropertySet.of(P... properties)
Create a new PropertySet containing given
properties. |
static <P extends Property> |
PropertySet.of(PropertySet<? extends P> propertySet,
P... properties)
|
default <T> String |
PropertyBox.present(Property<T> property)
Present given
property value, obtained from this PropertyBox, as a String, using current
PropertyValuePresenterRegistry if available as Context resource to obtain a suitable
PropertyValuePresenter, or default presenter PropertyValuePresenterRegistry.getDefault()
otherwise. |
String |
PropertyValuePresenter.present(Property<T> property,
T value)
|
R |
PropertyRenderer.render(Property<? extends T> property)
Renders the given
property as a PropertyRenderer.getRenderType() object |
<T> PropertyBox.Builder |
PropertyBox.Builder.set(Property<T> property,
T value)
Set value of given
property. |
<T> PropertyBox.Builder |
PropertyBox.Builder.setIgnoreReadOnly(Property<T> property,
T value)
Set value of given
property, ignoring property read-only state. |
<T> void |
PropertyBox.setValue(Property<T> property,
T value)
Set the value of given
property. |
MODEL |
PropertyValueConverter.toModel(TYPE value,
Property<TYPE> property)
Convert given value from property value type to model data type
|
| Modifier and Type | Method and Description |
|---|---|
static <R,T> PropertyRenderer<R,T> |
PropertyRenderer.create(Class<? extends R> renderingType,
Function<Property<? extends T>,R> renderer)
Create a
PropertyRenderer for given renderingType using given renderer
Function to perform actual property rendering. |
<R,T> void |
PropertyRendererRegistry.register(Predicate<Property<? extends T>> condition,
PropertyRenderer<R,T> renderer)
|
<T> void |
PropertyValuePresenterRegistry.register(Predicate<Property<? extends T>> condition,
PropertyValuePresenter<? super T> presenter)
|
| Constructor and Description |
|---|
PropertyAccessException(Property<?> property)
Default constructor
|
PropertyAccessException(Property<?> property,
String message)
Constructor with error message
|
PropertyAccessException(Property<?> property,
String message,
Throwable cause)
Constructor with error message and nested exception
|
PropertyAccessException(Property<?> property,
Throwable cause)
Constructor with nested exception
|
PropertyConversionException(Property<?> property,
String message)
Constructor with error message
|
PropertyConversionException(Property<?> property,
String message,
Throwable cause)
Constructor with error message and nested exception
|
PropertyConversionException(Property<?> property,
Throwable cause)
Constructor with nested exception
|
PropertyNotFoundException(Property<?> property,
String message)
Constructor
|
PropertyReadException(Property<?> property,
String message)
Constructor with error message
|
PropertyReadException(Property<?> property,
String message,
Throwable cause)
Constructor with error message and nested exception
|
PropertyReadException(Property<?> property,
Throwable cause)
Constructor with nested exception
|
PropertyReadOnlyException(Property<?> property)
Construct a new PropertyReadOnlyException
|
PropertyWriteException(Property<?> property,
String message)
Constructor with error message
|
PropertyWriteException(Property<?> property,
String message,
Throwable cause)
Constructor with error message and nested exception
|
PropertyWriteException(Property<?> property,
Throwable cause)
Constructor with nested exception
|
| Modifier and Type | Interface and Description |
|---|---|
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.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 |
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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
default <P extends Property> |
QueryProjectionOperations.findOne(Iterable<P> properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default <P extends Property> |
QueryResults.findOne(Iterable<P> properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default <P extends Property> |
QueryProjectionOperations.list(Iterable<P> properties)
|
default <P extends Property> |
QueryResults.list(Iterable<P> properties)
|
static <P extends Property> |
PropertySetProjection.of(Iterable<P> properties)
Create a PropertySetProjection using given
properties |
static <P extends Property> |
QueryProjection.propertySet(Iterable<P> properties)
Create a
PropertyBox type query projection using given properties as property set. |
default <P extends Property> |
QueryProjectionOperations.stream(Iterable<P> properties)
Execute query and get a
Stream of query results as PropertyBox using given
properties as projection. |
default <P extends Property> |
QueryResults.stream(Iterable<P> properties)
Execute query and get a
Stream of query results as PropertyBox using given
properties as projection. |
| Modifier and Type | Method and Description |
|---|---|
default OR |
QueryProjectionOperations.findOne(Property... properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default Optional<PropertyBox> |
QueryResults.findOne(Property... properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default LR |
QueryProjectionOperations.list(Property... properties)
|
default List<PropertyBox> |
QueryResults.list(Property... properties)
|
static QueryProjection<PropertyBox> |
QueryProjection.propertySet(Property<?>... properties)
Create a
PropertyBox type query projection using given properties as property set. |
default SR |
QueryProjectionOperations.stream(Property... properties)
Execute query and get a
Stream of query results as PropertyBox using given
properties as projection. |
default Stream<PropertyBox> |
QueryResults.stream(Property... properties)
Execute query and get a
Stream of query results as PropertyBox using given
properties as projection. |
| Modifier and Type | Method and Description |
|---|---|
<P extends Property> |
RestClientOperations.RequestConfiguration.propertySet(Iterable<P> properties)
Use given
Property set to perform invocation. |
<P extends Property> |
RestClientOperations.RequestConfiguration.propertySet(P... properties)
Use given
Property set to perform invocation. |
| Modifier and Type | Method and Description |
|---|---|
<P extends Property> |
RestClientOperations.RequestConfiguration.propertySet(P... properties)
Use given
Property set to perform invocation. |
Copyright © 2019 The Holon Platform. All rights reserved.