class CacheContinuousQueryEvent<K, V> extends CacheQueryEntryEvent<K, V> {
    /** */
    private static final long serialVersionUID = 0L;

    /** */
    private final GridCacheContext cctx;

    /** Entry. */
    @GridToStringExclude
    private final CacheContinuousQueryEntry e;

    /**
     * @param src Source cache.
     * @param cctx Cache context.
     * @param e Entry.
     */
    CacheContinuousQueryEvent(Cache src, GridCacheContext cctx, CacheContinuousQueryEntry e) {
        super(src, e.eventType());

        this.cctx = cctx;
        this.e = e;
    }

    /**
     * @return Entry.
     */
    CacheContinuousQueryEntry entry() {
        return e;
    }

    /**
     * @return Partition ID.
     */
    public int partitionId() {
        return e.partition();
    }

    /** {@inheritDoc} */
    @Override public K getKey() {
        return (K)cctx.cacheObjectContext().unwrapBinaryIfNeeded(e.key(), e.isKeepBinary(), false, null);
    }

    /** {@inheritDoc} */
    @Override protected V getNewValue() {
        return (V)cctx.cacheObjectContext().unwrapBinaryIfNeeded(e.newValue(), e.isKeepBinary(), false, null);
    }

    /** {@inheritDoc} */
    @Override public V getOldValue() {
        return (V)cctx.cacheObjectContext().unwrapBinaryIfNeeded(e.oldValue(), e.isKeepBinary(), false, null);
    }

    /** {@inheritDoc} */
    @Override public boolean isOldValueAvailable() {
        return e.oldValue() != null;
    }

    /** {@inheritDoc} */
    @Override public long getPartitionUpdateCounter() {
        return e.updateCounter();
    }

    /** {@inheritDoc} */
    @Override public String toString() {<FILL_FUNCTION_BODY>}
}

        return S.toString(CacheContinuousQueryEvent.class, this,
            "evtType", getEventType(), false,
            "key", getKey(), true,
            "newVal", getValue(), true,
            "oldVal", getOldValue(), true,
            "partCntr", getPartitionUpdateCounter(), false);
    
<methods>public void <init>(Cache, EventType) ,public abstract long getPartitionUpdateCounter() <variables>