Difference between CQC vs MapListener with Filter

Can someone please explain how is a  Continuous Query Cache(CQC) different than a MapListener with a filter?
On the same note, please elaborate on use cases where CQC is a right-fit vs MapListener (with filter)?
Thanks in advance.

Using listeners (with or without filters) is a way to react over data changes in the client application, allowing it to invoke actions in response of some changes. The basic idea is in the end, execute custom code based on the events, instead of manipulate the dataset.
CQC in the other hand is a technique to materialize a keySet() in the client application in a such way that this keySet() is continuously updated automatically by Coherence, based on the delta of which resides in the client application and in the data grid storage. When you materialize a keySet() in the client application, the list of keys are stored continuously in the application heap memory, and grows at the same pace that the data grid grows, considering of course that the filter criteria has been satisfied.
So the basic difference is the statefulness of the scenario: using CQC, you have the whole window of keySet() to work with, using listeners, the only keySet() available to work with is that of the current event triggering, after that they are disposed. Some CEP implementations like Oracle Event Processing should benefit of materialized keySets() in order to apply event constructions like temporal constraints, for instance: SELECT someData FROM eventChannel RANGE 60 MINUTES SLIDE 5 SECONDS.
Cheers,
Ricardo Ferreira

Similar Messages

  • Difference between validation and susbstittution with tcodes

    hi all can any body tell me about difference between validation and susbstittution with tcodes
    regars
    sravya

    Hi,
    Settting up the FI Validations
    You can use additional validation to supplement the existing SAP logic to fit you into your businness needs.
    For e.g. to allow postings from company code 0001 to business area AA only.
    GGB0 - To maintain the validations
    Validation - Enter a validation name e.g. VBUS
    Applicaion Area - SAP module e.g. FI
    Calling Point - Dependent upon the application area that is selected.
    0001 - Document Header - validate enteries at document header, e.g BKPF table
    0002 - Line Items - check line item entris within a document, e.g. BSEG table
    0003 - Complete Document - check settings for the whole documents.
    e.g. Validation step 001
    Allowed company code '0001' to post to business area AA only. 'FI00' checks that line item is from FI.
    If checks failed, the error message number 14 is displayed to stop the transaction.
    Prerequisite
    <BSEG> $BUKRS = '0001' AND
    <BKPF> $GLVOR = 'FI00'
    Check
    <BSEG> $GSBER = 'AA'
    Message
    Type E No. 14 - Business Area not allowed for company 0001
    Output fields 1 - BSEG - GSBER 2 - BSEG - BUKRS
    3 - 4
    OB28 - Define Validations for Posting
    CC CallPnt Validation Description Activtn Level
    0001 2 VBUS Business Area Validation 1
    Activtn Level - 0 - Not Active 1 - Activated 2 - Activated for all except batch input
    GGB4 - Manage the activation of all validations in the SAP system.
    Validations, Substitutions, and Rules
    Purpose
    With the validations and substitutions software, you can validate and/or substitute data at the time of entry in the FI-SL System and other SAP Systems.
    Implementation Considerations
    You do not need to change the standard system to customize your validations and substitutions. For each installation, you can define exactly which validations and substitutions are necessary to ensure the integrity of your data.
    Features
    Validation
    In the SAP System, almost all input values are validated by a program or against tables or master files. Since some types of validations cannot be standardized, you can use FI-SL's validations program to create validations for your system.
    With validations, you can check values and combinations of values as they are being entered in the SAP environment. Validation rules are stored in the Rule Manager; as data is entered, the Integration Manager validates the data against the validation rules stored in the Rule Manager. Because data is validated before it is posted, only valid information enters the FI-SL System.
    You define validation rules using Boolean logic. When you define a validation rule, the system checks the validation rule to ensure that it is syntactically correct.
    You can also define the result of breaking the validation rule. For instance, you can specify that a message is issued but the user can continue processing. You can also force the user to correct the error before processing can continue.
    For more information, see Validation or What Are Validations?. For more information on using validations, see Creating a Validation. For more information on Boolean Logic, see Introduction to Boolean Logic.
    Substitution
    Substitution rules are stored in the Rule Manager. When data is entered in the system, it is substituted by the Integration Manager. The Integration Manager calls the Rule Manager. Substitution occurs before the data is posted to the FI-SL databases.
    You define substitution rules using Boolean logic. When you define a substitution rule, the system checks the substitution rule to ensure that it is syntactically correct.
    For more information, see Substitution or What Are Substitutions?. For more information on using substitutions, see Creating a Substitution. For more information on Boolean Logic, see Introduction to Boolean Logic.
    Rules
    A rule is a Boolean expression that you can use as a condition, as a check, or in another rule. Rules enable you to refer to frequently used Boolean statements simply by specifying the rule name.
    The FI-SL Integration Manager uses Boolean logic. When you use Boolean logic and syntax, you can:
    Validate data
    Substitute data
    Select ledgers for posting
    Transfer substitution data to a rollup ledger
    Select report data
    The Rule Manager stores the Boolean rules used to analyze data. The Integration Manager calls the Rule Manager and determines whether entered data should be used. If a Boolean statement is true, an action is taken; if a statement is false, no action is taken.
    Boolean logic is used in the following FI-SL modules:
    Validation
    Substitution
    Ledger selection
    Report Writer
    Rollups
    To use Boolean Logic in one of the functions listed, you create statements that are used as formulas in the FI-SL System. For more information on using Boolean Logic, see Introduction to Boolean Logic or Boolean Logic Statements and Rules.

  • Difference between IDOC segments starting with E1 and E2

    Hi all,
    What is the difference between IDOC segments starting with E1 and E2
    Thanks

    Hi Kajol,
    A segment in SAP system is technically implemented as three physically separate pieces.
    1. Segment type u2013 the version-independent name of the segment. Standard SAP names begin with E1.
    2. Segment definition u2013 contains the fields which represent the data. Its maximum size is 1000 bytes. Standard SAP definitions start with E2 with the last 3 characters implying the version of the segment.
    3. Segment documentation u2013 represents the data dictionary documentation for each field in the segment definition. It begins with E3 for SAP provided segments.
    For example, E1EDP01 will be your segment type and E2EDP01003 will be your segment definition with 003 indicating its version.By default, the segment type points to the latest segment definition.
    Kindly do reward points if you find this as useful.
    Regards,
    Aswin

  • What is the difference between Aggregation and Composition with example

    plz help me to find the difference between Aggregation and Composition with example

    Dear [email protected]:
    Get back to work.
    August 4, 2007 stalin_gnana asked:
    I would like to know the description about 'is a' ,'has a' ..relationship in java.plz reply me to the above doubt if known
    August 8:
    Can any one encounter the clarification on how and where Observer class and Observable interface can be applied..plz answer me
    August 10:
    May you find a solution on why not have the concept of pointer,opterator overloading,virtual function and destructor in java
    (Also August 10):
    I would desire to apprehend the brief description about usage of Singletone class and where it can be applied.plz help me
    Today:
    I am having the doubt of 'is there any relation among Delegation and composition'.if have,plz answer to regarding question.
    And then this thread today too.
    sniff sniff
    I smell a lazy attempt at getting others to do one's homework for him.

  • PRICE DIFFERENCE BETWEEN IPAD MINI & IPAD WITH RETINA DISPLAY

    Hi,
    Can anyone tell what are the most important causes of price difference between ipad mini & ipad with retina display?

    Read the specifications...there is no "most important cause").
    Barry

  • What is the difference between OCIEnvCreate and OCIEnvNlsCreate with utf16

    because i find a oci sample code cdemouni.c,in this sample,use OCIEnvCreate with mode set OCI_UTF16,but OCIEnvNlsCreate also can set charset and ncharset OCI_UTF16ID,what is the difference between OCIEnvCreate and OCIEnvNlsCreate with UTF16?

    First, OCIEnvNlsCreate() is recommended way of switching to UTF-16 mode.
    Second, OCIEnvNlsCreate() uses new semantics for bind and define buffer lengths. With new semantics all lengths are in bytes. With old semantics,
    UTF-16 string lengths are in codepoints, while other character sets use bytes.
    You can get new length semantics with OCIEnvCreate() as well, by
    adding OCI_NEW_LENGTH_SEMANTICS to the 'mode' flags.
    -- Sergiusz

  • What is the difference between READ TABLE ITAB WITH KEY  and  TABLE KEY

    Hi Experts,
    what is the difference between
    READ TABLE <ITAB> WITH KEY <K1> = <C1>
                                                    <Kn> = <Cn> .
    and 
    READ TABLE <ITAB> WITH TABLE KEY <K1> = <C1>
                                                              <Kn> = <Cn> .
    Thanks
    Akash.

    Hi akashdeep,
    Nice question. I also tried to find out, but no much success. My opinion is that for practical purposes there is no difference.
    It may have difference in case of searching, especially sorted tables. (binary search or normal linear search).
    Case1: If our table is sorted table with defined key fields, and we give WITH TABLE KEY, then faster binary search is used.
    Case2 : If our table is sorted table with defined key fields, and we give WITH  KEY, (and no field contained in the keys), then normal linear search is used.
    regards,
    amit m.

  • About Olympus EP-1: ¿ Why Lightroom can't show difference between 2 RAW photos with different ISO?

    When I take RAW+JPG photos with my new Olympus PEN EP-1 which the unique difference is ISO and I import in Ligtroom:
    - I can see difference between JPG photos.
    - I can´t see any difference between RAW photos (In Olympus Master or Olympus Studio I can see difference). The problem is Ligtroom

    There are two sides to your question. I. should Lightroom read all embedded
    tags to a RAW file, and II. can it even technically do it.
    The problem is that all of tags such as this exposure compensation one,
    sharpening, picture styles, etc. are embedded in proprietary file formats
    that the manufacturers will not disclose the structure off. Adobe (and every
    other RAW converter out there that is not made by the camera manufacturer)
    has to hack into the file format to figure it out, so question II can be
    answered by "probably not" This is not Adobe's fault, but that of the camera
    manufacturers not using a standard RAW format. Interestingly, for camera
    manufacturers that use a standard format such as DNG (think LEICA for
    example), a lot of camera settings actually translate into Lightroom
    settings.
    For question I, you have to figure out where you draw the line. Which
    settings, on top of simply white balance (which Lightroom reads of course)
    should the program read and use? Myself I think the program should display
    the RAW data as accurately as possible. In the case of the "ISO bracketing"
    that is not really ISO bracketing, the RAW data did not change at all. The
    program should reflect this, if only to make the user realize that it is a
    useless experiment and only a waste of card space. That said, it would be
    nice if some settings translate, but that is made really hard due to the
    proprietary file format.
    >Would I expect Adobe implements how Olympus E-P1 works in next versions ?
    I doubt it, but maybe somebody at Adobe is adventurous enough to reverse
    engineer/hack your files to figure out where the compensation tag is stored,
    so you never know.
    This is however a very uncommon situation to encounter. Why would anyone
    bother ISO bracketing if the camera doesn't ISO bracket at all! You're
    better off just dialing in extra or less exposure in post. For me the
    advantages of LR over typically glacial and badly written manufacturer
    software is so large that small issues such as this do not begin to add up
    to an argument to change workflow. In the end that's all personal of
    course.

  • Difference between TC 500 GB with added HDD and TC 1 TB?

    Hi there.
    I'm a student and need a HDD to take backups of my 250 GB HD in a Macbook. I would like it to run wirelessly as I don't think I'll remember to plug the HDD in, turn it on and let it take a backup as often as I would really like to have backups taken.
    The Time Capsule (TC) 500 GB costs $279 while the 1 TB version costs $479 (all prices are with student discount).
    I realize that even the 500 GB can be considered expensive since it's $120 more expensive than the AirPort Extreme Base Station with no HDD and "all you get" (besides Time Machine backup and that it all fits nicely together) is 500 GB.
    I really think that paying $200 extra for 500 GB extra space seems like way too much so I was wondering if there's a difference between a TC 500 GB with an added HDD (i.e. a 500 GB one) and a TC 1 TB. Also, are there other things I should take notice of? (I realize this is a common question)
    Some of the things I've read is that only the TC's are capable of wirelessly taking a TM backup of your Mac and that they also should have some kind of sleep-function when not in use.
    Thanks in advance!

    You can designate just about any HFS+ formatted FireWire or USB drive connected to a Mac as a TM backup drive. TM can also back up to another Mac running Leopard with Personal File Sharing, Leopard Server, Xsan storage devices, a Time Capsule's (TC) internal hard drive, or a hard drive attached to a TC's USB port. The jury is still out on, whether or not, it can successfully back up to an AirPort Disk (a hard drive attached to the USB port of the newer 802.11n AirPort Extreme Base Station.)

  • Difference between INLINE view and WITH clause

    Can anyone plz explain me about the performance difference between the below queries?
    Query using INLINE view:
    SELECT e.ename AS employee_name,
    dc.dept_count AS emp_dept_count
    FROM emp e,
    (SELECT deptno, COUNT(*) AS dept_count
    FROM emp
    GROUP BY deptno) dc
    WHERE e.deptno = dc.deptno;
    Query using WITH clause:
    WITH dept_count AS (
    SELECT deptno, COUNT(*) AS dept_count
    FROM emp
    GROUP BY deptno)
    SELECT e.ename AS employee_name,
    dc.dept_count AS emp_dept_count
    FROM emp e,
    dept_count dc
    WHERE e.deptno = dc.deptno;

    Here's another one:
    http://www.oracle-base.com/articles/misc/WithClause.php
    And, here on this forum you will see that the WITH-clause is heavily used by all of us in order to generate some sample data (when OP's don't care to post CREATE TABLE + INSERT INTO statements).
    The WITH clause enables you as well to 'pretend' you have a table and demonstrate a solution very quickly, without doing actual DDL .
    As for the performance difference:
    We would need to know your database version and many other things.
    See:
    HOW TO: Post a SQL statement tuning request - template posting
    for step by step instructions you can (and should) explore yourself.

  • FTPS settings Difference between control and control with data

    Hi guys,
    Just a very quick question please. When doing FTPS there are two options
    1) control
    2) control with data
    Can anyone explain what's the difference between the two?
    regards

    Hi,
    FTPS (FTP Using SSL/TLS) for Control Connection
    The FTP control connection is protected using TLS/SSL (Transport Layer Security/Secure Sockets Layer). File transfer is unencrypted.
    FTPS (FTP Using SSL/TLS) for Control and Data Connection
      All communication with the FTP server is encrypted and uses TLS/SSL.
    Regards,
    Raj

  • I'm shopping for an iPad.  What is the difference between Wifi and Wifi with cellular/3G?

    I'm shopping for an iPad.  What is the difference between Wifi only and Wifi with cellular/3G?

    Depending from what do you want. The only WI-FI iPad have wireless connection. The WI-FI plus cellular/3G have wireless connection and celular/3G connection to call everyone and the mobile data for internet  but the software is same.

  • Difference between inline view and WITH

    All,
    What is the difference between an inline view and a query using 'with' keyword...? (scenario / example will be more helpful)

    Thank-you ajay. below section was really helpful, in the above link.
    big_table@ORA920> set echo on
    big_table@ORA920> set autotrace on statistics
    big_table@ORA920>
    big_table@ORA920> with owners
    2 as
    3 ( select distinct owner username from all_objects )
    4 select count(*)
    5 from all_objects, owners
    6 where all_objects.owner = owners.username
    7 union all
    8 select count(*)
    9 from dba_objects, owners
    10 where dba_objects.owner = owners.username
    11 /
    COUNT(*)
    30537
    30977
    2 rows selected.
    Statistics
    4 recursive calls
    7 db block gets
    302441 consistent gets
    1 physical reads
    520 redo size
    418 bytes sent via SQL*Net to client
    499 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    3 sorts (memory)
    0 sorts (disk)
    2 rows processed
    big_table@ORA920>
    big_table@ORA920> select count(*)
    2 from all_objects, (select distinct owner username from all_objects ) owners
    3 where all_objects.owner = owners.username
    4 union all
    5 select count(*)
    6 from dba_objects, (select distinct owner username from all_objects ) owners
    7 where dba_objects.owner = owners.username
    8 /
    COUNT(*)
    30537
    30977
    2 rows selected.
    Statistics
    28 recursive calls
    0 db block gets
    442058 consistent gets
    0 physical reads
    0 redo size
    418 bytes sent via SQL*Net to client
    499 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    4 sorts (memory)
    0 sorts (disk)
    2 rows processed
    big_table@ORA920> set autotrace off
    Edited by: sikander on Sep 9, 2010 12:39 AM
    Edited by: sikander on Sep 9, 2010 12:40 AM

  • Difference between VMI and collaboration with customer

    Hai,
             I am trying to understand the difference between VMI and collaborative planning with customer(CPC)
    Please correct me if I am wrong. In VMI, a vendor or manufacturer sells his material to customer and through EDI, the customer gives the information such as forecast, stock etc.
    In CPC, the vendor and customer interchange information, such as demand, stock levels, promotions, delivery dates etc., based on ITS.
    What is the difference between these two?
    If I am not wrong, EDI is used for outside company communication andITS for within. So, can I say that VMI is for customer outside the company and CPC for internal customer?
    Thank you.

    Hi Visu,
    Service provided by a vendor for a customer, whereby the vendor plans material requirements in the customer's company. Vendor-managed inventory is only possible if the vendor has access to the customer's current stock and sales data.
    In the ERP system, the following functions are available for vendor-managed inventory:
    Transfer of stock and sales data by EDI
    Receipt of stock and sales data by EDI
    Replenishment planning for customers
    Creation of a purchase order for an external EDI order acknowledgment
    supply chain management tool that synchronizes demand signals and supply chain activities by utilizing Internet technology. Collaborative Planning enables supply chain partners to view, share and synchronize common information within the supply chain.
    Hope this helps.
    Regards,
    Mohan

  • Difference between "Black Sport Band with Space Grey Stainless Steel Pin" and "Black Sport Band"

    If you look at the Apple Store site at the Sport Strap, there seems to be 2 black version - one is titled "Black Sport Band with Space Grey Stainless Steel Pin" and one just "Black Sport Band".
    Since in the picture they use a Space Grey Watch for one and Silver Watch for the other, it's hard to tell the difference between these two straps. Any ideas?

    The difference is very subtle yet noticeable. The Black Sport Band with Space Grey Stainless Steel Pin is geared more towards using it with the Stainles Steel Apple Watch since the little pin that's visible from the bottom of your wrist is stainless steel and matches the case, whereas the Black Sports Band w/o Space Grey Stainless Steel Pin matches  more to the metal that's used on the Apple Watch Sport. Hope this helps!

Maybe you are looking for