Interface AliasView<Q>

Type Parameters:
Q - Query
All Superinterfaces:
UpdatingView<Q,KeyAlias,String>, View<Q,KeyAlias>

public interface AliasView<Q> extends UpdatingView<Q,KeyAlias,String>
This view uses key aliases as source objects
  • Method Details

    • retrieve

      QueryResult<KeyAlias> retrieve(Q query)
      Note that client who calls this should close the result.
      Specified by:
      retrieve in interface View<Q,KeyAlias>
      Parameters:
      query - understandable to implementation query.
      Returns:
      key aliases which match queried criteria
    • retrieve

      QueryResult<KeyAlias> retrieve(String query)
      Note that client who calls this should close the result.
      Specified by:
      retrieve in interface View<Q,KeyAlias>
      Parameters:
      query - understandable to implementation query.
      Returns:
      key aliases which match queried criteria
    • all

      Retrieves all available key aliases
      Specified by:
      all in interface View<Q,KeyAlias>
      Returns:
      collection of aliases
    • getSource

      KeySource getSource()
      Access to key source
      Returns:
      key source object