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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `EC` | `execute()` Returns all instances.
    `<S extends T,SEC extends EntityCollection<S,?,?>> SEC` | `execute(Class<SEC> reference)` Returns all instances of the given subtype.
    `Future<EC>` | `executeAsync()` 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 Detail

    - #### execute

          <S extends T,SEC extends EntityCollection<S,?,?>> SEC execute(Class<SEC> reference)

      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

          <S extends T,SEC extends EntityCollection<S,?,?>> Future<SEC> executeAsync(Class<SEC> reference)

      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

          Future<EC> executeAsync()

      Asynchronously returns all instances.
      Returns:
        future handle on all instances

Copyright © 2013–2020 The Apache Software Foundation. All rights reserved.