Package org.apache.olingo.ext.proxy.api
Interface EntitySet<T extends EntityType<?>,EC extends Collection<T>>
public interface EntitySet<T extends EntityType<?>,EC extends Collection<T>>
-
Method Summary
Modifier and TypeMethodDescriptionexecute()
Returns all instances.<S extends T,
SEC extends EntityCollection<S, ?, ?>>
SECReturns all instances of the given subtype.Asynchronously returns all instances.<S extends T,
SEC extends EntityCollection<S, ?, ?>>
Future<SEC>executeAsync
(Class<SEC> reference) Asynchronously returns all instances of the given subtype.
-
Method Details
-
execute
Returns all instances of the given subtype.- Type Parameters:
S
-SEC
-- Parameters:
reference
- entity collection class to be returned- Returns:
- all entities of the given subtype
-
executeAsync
Asynchronously returns all instances of the given subtype.- Type Parameters:
S
-SEC
-- Parameters:
reference
- entity collection class to be returned- Returns:
- future handle on all entities of the given subtype
-
execute
EC execute()Returns all instances.- Returns:
- all instances
-
executeAsync
Asynchronously returns all instances.- Returns:
- future handle on all instances
-