com.hammurapi.store

## Class AbstractStore.QueryCallable<V>

- java.lang.Object
- - com.hammurapi.store.AbstractStore.QueryCallable<V>

- All Implemented Interfaces:
    Serializable, Callable<Boolean>
  Enclosing class:
    AbstractStore<T,PK,S extends Store<T,PK,S>>

      protected class AbstractStore.QueryCallable<V>
      extends Object
      implements Callable<Boolean>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractStore.QueryCallable(Store.Handle<T,PK,S> handle, Predicate<T,S> selector, Extractor<T,V,S> extractor, Store.QueryTask<V,PK,S> query, S storeDeputy)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Boolean` | `call()` Updates object and returns true if predicate matches.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractStore.QueryCallable

          public AbstractStore.QueryCallable(Store.Handle<T,PK,S> handle,
                                     Predicate<T,S> selector,
                                     Extractor<T,V,S> extractor,
                                     Store.QueryTask<V,PK,S> query,
                                     S storeDeputy)

  - ### Method Detail

    - #### call

          public Boolean call()
                       throws Exception

      Updates object and returns true if predicate matches.
      Specified by:
        `call` in interface `Callable<Boolean>`
      Throws:
        `Exception`