public interface EntityQueries
Provides String representations of
EntityConnection.Select
instances, for debugging.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional
<EntityQueries.Factory> instance()
Returns the firstEntityQueries.Factory
implementation found by theServiceLoader
.select
(EntityConnection.Select select) Note that the query returned by this method is only guaranteed to be valid if the the given entity is modified.
-
Method Details
-
select
- Parameters:
select
- theEntityConnection.Select
instance- Returns:
- a String representation of the given
EntityConnection.Select
instance, for debugging.
-
insert
- Parameters:
entity
- the entity- Returns:
- a String representation of the insert query for the given entity, for debugging
-
update
Note that the query returned by this method is only guaranteed to be valid if the the given entity is modified.- Parameters:
entity
- the entity- Returns:
- a String representation of the update query for the given entity, for debugging
- See Also:
-
instance
Returns the firstEntityQueries.Factory
implementation found by theServiceLoader
.- Returns:
- a
EntityQueries.Factory
implementation from theServiceLoader
or an emptyOptional
in case none is available.
-