| Modifier and Type | Interface and Description |
|---|---|
interface |
BeanDataTarget<T>
A
DataTarget which uses a bean class a path type. |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
DataTarget.DataTargetResolver<T extends DataTarget>
Convenience interface to create an
ExpressionResolver to resolve a custom DataTarget class into a
standard DataTarget. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends DataTarget> |
DataTarget.DataTargetResolver.create(Class<? extends T> type,
Expression.ExpressionResolverFunction<T,DataTarget> function)
Create an
ExpressionResolver to resolve a custom DataTarget class into a standard
DataTarget using the given resolver function. |
| Modifier and Type | Method and Description |
|---|---|
static DataTarget<String> |
DataTarget.named(String name)
Build a
String type data target using root path name. |
static <T> DataTarget<T> |
DataTarget.of(String name,
Class<T> type)
Build a typed data target using root path
name. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends DataTarget> |
DataTarget.DataTargetResolver.create(Class<? extends T> type,
Expression.ExpressionResolverFunction<T,DataTarget> function)
Create an
ExpressionResolver to resolve a custom DataTarget class into a standard
DataTarget using the given resolver function. |
default Class<? extends DataTarget> |
DataTarget.DataTargetResolver.getResolvedType() |
| Modifier and Type | Method and Description |
|---|---|
default BulkDelete |
Datastore.bulkDelete(DataTarget<?> target,
DatastoreOperations.WriteOption... options)
Create a
BulkDelete operation, which can be used to configure and execute a bulk DELETE
operation. |
BD |
DatastoreOperations.bulkDelete(DataTarget<?> target,
DatastoreOperations.WriteOption... options)
Create a
BulkDeleteOperation actuator, which can be used to configure and execute a bulk
DELETE operation. |
default BulkInsert |
Datastore.bulkInsert(DataTarget<?> target,
PropertySet<?> propertySet,
DatastoreOperations.WriteOption... options)
Create a
BulkInsert operation, which can be used to configure and execute a bulk INSERT
operation. |
BI |
DatastoreOperations.bulkInsert(DataTarget<?> target,
PropertySet<?> propertySet,
DatastoreOperations.WriteOption... options)
Create a
BulkInsertOperation actuator, which can be used to configure and execute a bulk
INSERT operation. |
default BulkUpdate |
Datastore.bulkUpdate(DataTarget<?> target,
DatastoreOperations.WriteOption... options)
Create a
BulkUpdate operation, which can be used to configure and execute a bulk UPDATE
operation. |
BU |
DatastoreOperations.bulkUpdate(DataTarget<?> target,
DatastoreOperations.WriteOption... options)
Create a
BulkUpdateOperation actuator, which can be used to configure and execute a bulk
UPDATE operation. |
default Datastore.OperationResult |
Datastore.delete(DataTarget<?> target,
PropertyBox propertyBox,
DatastoreOperations.WriteOption... options) |
R |
DatastoreOperations.delete(DataTarget<?> target,
PropertyBox propertyBox,
DatastoreOperations.WriteOption... options)
Remove a
PropertyBox from the data store, using given target to denote the data store
persistent entity from which the data has to be deleted. |
default Datastore.OperationResult |
Datastore.insert(DataTarget<?> target,
PropertyBox propertyBox,
DatastoreOperations.WriteOption... options) |
R |
DatastoreOperations.insert(DataTarget<?> target,
PropertyBox propertyBox,
DatastoreOperations.WriteOption... options)
Insert a
PropertyBox in the data store, using given target to denote the data store
persistent entity into which the data has to be inserted. |
default Query |
Datastore.query(DataTarget<?> target)
Create a
Query commodity, setting given target as query data target. |
default PropertyBox |
Datastore.refresh(DataTarget<?> target,
PropertyBox propertyBox) |
REFRESH |
DatastoreOperations.refresh(DataTarget<?> target,
PropertyBox propertyBox)
Refresh a
PropertyBox, updating all its model properties to current value in data store and using given
target to denote the data store persistent entity to use. |
default Datastore.OperationResult |
Datastore.save(DataTarget<?> target,
PropertyBox propertyBox,
DatastoreOperations.WriteOption... options) |
R |
DatastoreOperations.save(DataTarget<?> target,
PropertyBox propertyBox,
DatastoreOperations.WriteOption... options)
Save a
PropertyBox in the data store, using given target to denote the data store persistent
entity into which the data has to be saved. |
C |
DataTarget.DataTargetSupport.target(DataTarget<?> target)
Set the data target.
|
default Datastore.OperationResult |
Datastore.update(DataTarget<?> target,
PropertyBox propertyBox,
DatastoreOperations.WriteOption... options) |
R |
DatastoreOperations.update(DataTarget<?> target,
PropertyBox propertyBox,
DatastoreOperations.WriteOption... options)
Update a
PropertyBox in the data store, using given target to denote the data store
persistent entity into which the data has to be updated. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends DataTarget> |
DataTarget.DataTargetResolver.create(Class<? extends T> type,
Expression.ExpressionResolverFunction<T,DataTarget> function)
Create an
ExpressionResolver to resolve a custom DataTarget class into a standard
DataTarget using the given resolver function. |
| Modifier and Type | Method and Description |
|---|---|
DataTarget<?> |
DatastoreOperationConfiguration.getTarget()
Get the data target.
|
| Modifier and Type | Method and Description |
|---|---|
B |
DatastoreOperationConfiguration.Builder.target(DataTarget<?> target)
Set the operation
DataTarget. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
RelationalTarget<T>
A
DataTarget which can be use with relational Datastores. |
| Modifier and Type | Method and Description |
|---|---|
default Join.JoinBuilder<T> |
RelationalTarget.innerJoin(DataTarget<?> target)
Add a
Join.JoinType.INNER join clause using given target. |
Join.JoinBuilder<T> |
RelationalTarget.join(DataTarget<?> target,
Join.JoinType type)
Add a join clause using given
target as join destination. |
default Join.JoinBuilder<T> |
RelationalTarget.leftJoin(DataTarget<?> target)
Add a
Join.JoinType.LEFT join clause using given target. |
static <T> RelationalTarget<T> |
RelationalTarget.of(DataTarget<T> target)
Create a new
RelationalTarget using given target as root. |
default Join.JoinBuilder<T> |
RelationalTarget.rightJoin(DataTarget<?> target)
Add a
Join.JoinType.RIGHT join clause using given target. |
| Modifier and Type | Method and Description |
|---|---|
Optional<DataTarget<?>> |
QueryConfiguration.getTarget()
Get the data target.
|
Copyright © 2019 The Holon Platform. All rights reserved.