com.h3c.util.persistence.cassandra.query

## Class ReadQueryDecorator<T,C>

- java.lang.Object
- - com.h3c.util.persistence.cassandra.query.ReadQueryDecorator<T,C>

- Type Parameters:
    `T` - Type of the result of the query
    `C` - Type of the DataStore Context
  All Implemented Interfaces:
    ReadQuery<T,C>
  Direct Known Subclasses:
    ReadQueryLoggingDecorator, TransReadAllDecorator, TransReadQueryDecorator

      public abstract class ReadQueryDecorator<T,C>
      extends Object
      implements ReadQuery<T,C>

  ReadQueryDecorator is an abstract class which provides a generic decorator support for read queries to the persistence layer. It lets the concrete implementations to define the decoration.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected ReadQuery<T,C>` | `delegate`
    `protected org.slf4j.Logger` | `log`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `ReadQueryDecorator()`
    `protected` | `ReadQueryDecorator(ReadQuery<T,C> query)`
    `protected` | `ReadQueryDecorator(ReadQuery<T,C> query, org.slf4j.Logger log)`

  - ### Method Summary

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

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

    - ### Methods inherited from interface com.h3c.util.persistence.ReadQuery

      `execute`

- - ### Field Detail

    - #### delegate

          protected ReadQuery<T,C> delegate

    - #### log

          protected org.slf4j.Logger log

  - ### Constructor Detail

    - #### ReadQueryDecorator

          protected ReadQueryDecorator()

    - #### ReadQueryDecorator

          protected ReadQueryDecorator(ReadQuery<T,C> query,
                            org.slf4j.Logger log)

    - #### ReadQueryDecorator

          protected ReadQueryDecorator(ReadQuery<T,C> query)

Copyright © 2014. All Rights Reserved.