What are the difference between these Extractors?

What are the difference between ReflectionExtractor, ValueExtractor and KeyExtractor?
Thank you

Why not use ValueExtrctor in this example?
cache.addIndex(new ReflectionExtractor("getAge"), true, null);
cache.addIndex(new ChainedExtractor(reflectAddrHome,
new ReflectionExtractor("getState")), true, null);Does the folllowing script OK?
cache.addIndex(new ValueExtractor("getAge"), true, null);
cache.addIndex(new ChainedExtractor(reflectAddrHome,
new ValueExtractor("getState")), true, null);Thank you

Similar Messages

  • What are the difference between these products?

    Hi,
    I don`t see the difference between Sun JAva system Directory Proxy Server and
    Sun java System Directory Server?

    Both the Sun Java System Directory Proxy Server and the Sun Java System Directory Server are LDAP servers.
    The Sun Java System Directory Proxy Server strictly acts as a proxy for LDAP requests - it stores no LDAP data of its own. This product needs a LDAP server with data storage to forward LDAP requests to.
    The Sun Java System Directory Server has a backend database for storing LDAP data.

  • What are the Differences between These Scripts

    I am using sql in a software called TOAD. I am trying to figure it out for a project for days. I really need some help to distinguish the differences among them.
    In the project, I need to join two tables, db_a and db_b, where their clt_no, clt_ofc_no, and postal _codes are the same. However, when I try to do the joins by the 3 different queries below, they all give me different results. I've highlighted the parts that they are different from each other. The reason I wish for somebody can point out the differences is that I don't think myself understand how exactly exists and in work (i've read some posts about them). Maybe at least somebody can advise the factors that might cause the differences, so I know where I should check.
    Here is some sample data:
    table db_a
    Seq_No     Clt_no     Ofc_no     postal_Code
    1     123     1     M5T1K3
    1     123     2     N2L4D4
    *1     125     1     M3T1L3*
    2     456     3     L3T2T3
    3     658     1     O6S3A5
    4     448     2     E4T7A9
    4     874     4     E6Y7I8
    5     741     1     B3T5R5
    5     742     1     O6P7Y7
    6     521     2     P4W3E6
    7     358     2     X3F4V5
    table db_b
    Clt_no     Ofc_no     postal_Code
    123      1     M5T1K3
    123      2     N2L4D4
    125      1     M3T1L8
    456      3     L3T2T3
    658      1     B3T5R5
    448      2     E4T7A9
    874      4     E6Y7I8
    742      1     O6P7Y7
    358      2     X3F4V5
    Script 1:
    SELECT a.seq_no, count(*)
    FROM db_a a
    WHERE exists (
    SELECT a.seq_no
    FROM db_b b
    WHERE a.clt_no=b.clt_no
    AND a.clt_ofc_no=b.clt_ofc_no
    AND ('' || trim(UPPER(a.postal_code)) || '')=(UPPER(b.CLT_PSZP_CD))
    AND a.postal_code IS NOT NULL
    AND a.match_desc = '03-Name Matched'
    group by a.seq_no
    Script 2:
    SELECT a.seq_no, count(*)
    FROM db_a a
    WHERE exists (
    SELECT a.seq_no
    FROM db_b b, db_a a
    WHERE a.clt_no=b.clt_no
    AND a.clt_ofc_no=b.clt_ofc_no
    AND ('' || trim(UPPER(a.postal_code)) || '')=(UPPER(b.CLT_PSZP_CD))
    AND a.postal_code IS NOT NULL
    AND a.match_desc = '03-Name Matched'
    group by a.seq_no
    Script 3:
    SELECT a.seq_no, count(*)
    FROM db_a a
    WHERE a.seq_no in (
    SELECT a.seq_no
    FROM db_b b, db_a a
    WHERE a.clt_no=b.clt_no
    AND a.clt_ofc_no=b.clt_ofc_no
    AND ('' || trim(UPPER(a.postal_code)) || '')=(UPPER(b.CLT_PSZP_CD))
    AND a.postal_code IS NOT NULL
    AND a.match_desc = '03-Name Matched'
    group by a.seq_no
    The first script is closest to my target. However, I also need to select the accounts that have the same seq_no even though their clt_no, clt_ofc_no or postal_code dont match. For example, even though the third row in db_a and db_b doesn't match on postal_code, it has the same seq_no with some other accounts that have matches on clt_no, ofc_no and postal_codes. Then, I would like to include this row in the selection, though it doesn't fulfill the conditions. No matter how I changed the codes, it would not give me the results I want.
    PLEASE HELP!!!
    Thanks!
    Edited by: user12849271 on Mar 24, 2010 7:34 AM

    Hi,
    Welcome to the forum!
    The best way to post your sample data is as CREATE TABLE and INSERT statements.
    For example:
    CREATE TABLE     db_a
    (       Seq_No          NUMBER (3)
    ,     Clt_no          NUMBER (3)
    ,     Ofc_no          NUMBER (3)
    ,     postal_Code     VARCHAR2 (6)
    INSERT INTO db_a (seq_no, clt_no, ofc_no, postal_code) VALUES (1, 123, 1, 'M5T1K3');
    INSERT INTO db_a (seq_no, clt_no, ofc_no, postal_code) VALUES (1, 123, 2, 'N2L4D4');
    INSERT INTO db_a (seq_no, clt_no, ofc_no, postal_code) VALUES (1, 125, 1, 'M3T1L3');
    INSERT INTO db_a (seq_no, clt_no, ofc_no, postal_code) VALUES (2, 456, 3, 'L3T2T3');
    INSERT INTO db_a (seq_no, clt_no, ofc_no, postal_code) VALUES (3, 658, 1, 'O6S3A5');
    INSERT INTO db_a (seq_no, clt_no, ofc_no, postal_code) VALUES (4, 448, 2, 'E4T7A9');
    INSERT INTO db_a (seq_no, clt_no, ofc_no, postal_code) VALUES (4, 874, 4, 'E6Y7I8');
    INSERT INTO db_a (seq_no, clt_no, ofc_no, postal_code) VALUES (5, 741, 1, 'B3T5R5');
    INSERT INTO db_a (seq_no, clt_no, ofc_no, postal_code) VALUES (5, 742, 1, 'O6P7Y7');
    INSERT INTO db_a (seq_no, clt_no, ofc_no, postal_code) VALUES (6, 521, 2, 'P4W3E6');
    INSERT INTO db_a (seq_no, clt_no, ofc_no, postal_code) VALUES (7, 358, 2, 'X3F4V5');
    CREATE TABLE      db_b
    (       Clt_no          NUMBER (3)
    ,     Ofc_no          NUMBER (3)
    ,     postal_Code     VARCHAR2 (6)
    INSERT INTO db_b (clt_no, ofc_no, postal_code) VALUES (123, 1, 'M5T1K3');
    INSERT INTO db_b (clt_no, ofc_no, postal_code) VALUES (123, 2, 'N2L4D4');
    INSERT INTO db_b (clt_no, ofc_no, postal_code) VALUES (125, 1, 'M3T1L8');
    INSERT INTO db_b (clt_no, ofc_no, postal_code) VALUES (456, 3, 'L3T2T3');
    INSERT INTO db_b (clt_no, ofc_no, postal_code) VALUES (658, 1, 'B3T5R5');
    INSERT INTO db_b (clt_no, ofc_no, postal_code) VALUES (448, 2, 'E4T7A9');
    INSERT INTO db_b (clt_no, ofc_no, postal_code) VALUES (874, 4, 'E6Y7I8');
    INSERT INTO db_b (clt_no, ofc_no, postal_code) VALUES (742, 1, 'O6P7Y7');
    INSERT INTO db_b (clt_no, ofc_no, postal_code) VALUES (358, 2, 'X3F4V5');It's good to simplify. For example, your real tables probably have many more columns, but you're only showing the relevant ones. That's great, but be careful that you include all the relevant columns. You first query references columns match_desc and clt_ofc_no from table db_a, but those names didn't appear in your description of the data. (There were separate columns clt_no and ofc_no, but no clt_ofc_no.) Likewise, the query referred to db_b.clt_ofc_no and clt_pszp_cd.
    Always include the results that you want from the sample data you posted.
    This site normally compresses whitespace, so when you post anything formatted (such as output), type these 6 characters:
    \(all small letters, inside curly brackets) before and after each section of formatted test, to preserve the spacing.
    Right now, I have some idea of where you are starting from, but no idea at all of where you want to go, so I can't give you directions.
    I do have three sets of bad directions (your flawed queries), which may be helpful, but that's no substitute for posting the results you want from tha sample data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What are the difference between TopLink and TopLink Essentials...?

    What are the difference between TopLink, TopLink Essentials, EclipseLink and TopLink Essentials-GlassFish?
    What is the difference of their functions?
    Edited by: qkc on Nov 21, 2009 10:52 AM

    Difference between TopLink and ToPLink Essentials:
    TopLink Essentials are the reference implementation (RI) of JPA, is an open source effort that is licensed under the Common Development and Distribution License (CDDL) v1.0. It can be freely downloaded and used under the terms of this license agreement. This means, you can only use it for the management of persistence and orm with Java EE and Java SE. The binary distribution of TopLink consist of 2 jars:
    * toplink-essentials-agent.jar: contains Java Persistence API; XML Schemas and TopLink essentials implementation
    * toplink-essentials.jar: contains java agent class requires in a standolane Java SE application
    In addition to TopLink Essentials that makes the JPA implementation alive, Oracle offers its Oracle TopLink product (10.1.3) that contains an earlier preview binary of JPA and also offers developers additional object-relational capabilities, object-XML mapping (JAXB), non-relational mapping using Java 2.0 Connector Architecture (JCA).
    Let's wait other person to answer these questions.

  • What is the difference between these two sticks of RAM?

    I am upgrading my Macbook 2.2 GHz Intel Core 2 duo from 2GB of ram to 4GB
    What is the difference between these two kits?
    4GB Kit (2 x 2GB) 200 Pin DDR2-667 PC2-5300 256x64 CL5 1.8V SODIMM ($102.00)
    4GB Kit (2 x 2GB) eRam 200 Pin DDR2-667 PC2-5300 CL5 1.8V SODIMM ($88.00)

    Probably nothing of any consequence. Some places can just negotiate better deals with suppliers. Or one of a million other factors that can affect price is in play here.
    When buying RAM, I generally find it's better to pay a little extra to get a brand that's known for quality. I usually stick to Crucial myself. If you look around, you can probably find some real steals out there, but I don't know... With stories of people who literally go dumpster diving, salvaging stuff that was slated for disposal, then turning around and selling it... I prefer not to take chances. If you are, by all means, go for the cheaper one.

  • What is the difference between these two portalapps folders on the Server?

    Hello,
    On the Server there are two portalapps folder:
    1. Under: C:\usr\sap\JXX\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\portalapps
    2. Under: C:\usr\sap\JXX\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps
    Can someone please explain me what is the difference between these two portalapps folders and under which case will I turn to which folder?

    Hi Roy,
    The one at this location
    Under: C:\usr\sap\JXX\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\portalapps
    has all the files from the WEB-INF folder i.e. these are the non-web resources and cannot be accessed via HTTP(S) examples would be imgaes, CSS etc that you want only your application to access
    those under
    Under: C:\usr\sap\JXX\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps
    they have all the .JAR files, portalapp.xml, config properties etc. these are web resources and can be accessed via HTTP(S)
    Hope this is of help.
    Akhilesh

  • What are the differences between ECC5.0 and 6.0 new GL functionality

    Hi Experts,
    What are the differences between ECC5.0 and 6.0 new GL functionality.
    If we want to implement IFRS, I think New GL functionality is very helpful, but why sap is recommending only for ECC6.0 new GL functionality, Eventhough this functionality is available in ECC5.0.
    Best Regards,
    Dharani

    Dear,
    ECC 5.0 vs. ECC 6.0/SAP ERP 6.0
    Functionality not available in the new G/L with mySAP ERP 2004 and ERP Central Component (ECC) 5.0:
    Transfer prices
    Statistical key figures
    Euro translation
    Audit Information System (AIS)
    Archiving
    Data retention tool
    Regards,
    Chintan Joshi.

  • What is the difference between these two reports MC.1 and MB5L

    Hi
    what is the difference between these two reports MC.1 and MB5L?
    what is the Purpose of each report?
    Material ledger is activated for this plant, we found some amount difference between these two reports, my client accounting department used to compare these two reports while year end/month end closing
    Thanks
    Raju

    MC.1 will give you the report for plant analysis as per plant .
    MB5L report will give you list of stock value as per G/L account wise.

  • What are the differences between ESB 10g and OSB 10g

    Hi,
    I'm newbie to OSB 10g. I have installed OSB 10g.
    I came to know after Oracle acquired BEA, the ALSB is renamed as OSB.
    I'm curious to know what are the differences between ESB and OSB.
    If there are many differences, please post any links which provide the required information in detail.
    Thanks in advance.
    Regards,
    Udaya

    the 'old' esb has been renamed to mediator and is now only used as component in your sca application.
    the two service buses can't really be compared since the osb (former alsb) has way more functionality in it.
    Oracle gave it it's own place in his soa portfolio and the old esb can only be used als mediator in your sca application.
    On top of your sca application you could use the OSB to complete your architecture design.
    the difference between both.
    esb (now used as mediator) can only be used in your sca application
    in here you will use it mostly for routing/transformation, and there is some functionality for assign/java callouts conditional routing
    the osb is complete product with a lot of functionality in it. Everything you used the old 'esb' for can be done in the OSB and with a lot of extra's.
    routing/transformation/service call outs/java callouts/transport virtualization/security/and more and more
    you should read the guides of the OSB to get an idea of everything it can do for you.
    http://www.oracle.com/technetwork/middleware/service-bus/overview/index.html

  • Pls let what are the differences between 4.7 and Ecc 6.0.

    Hi all,
    Could you please let me know, we are going 4.7 to Ecc 6.0.
    Pls let what are the differences between 4.7 and Ecc 6.0.

    Try the [Solution Browser|http://solutionbrowser.erp.sap.fmpmedia.com/Default.aspx].
    Regards

  • What are the differences between Logos and LogosXT?

    What are the differences between Logos and LogosXT?

     Logos XT is a networking middle-layer maintained by the LabVIEW Network Technologies and Security group. Logos XT provides a thin layer on top of TCP/IP to simplify some common network tasks.
    The underlying foundation for NI networking is called Logos.
    I believe that the basic idea is Logos is what is going on behind the scenes at the base level and Logos XT lets you build your own networking protocols on top of Logos.  Logos XT would be used if you want to make your own networking protocol instead of using TCP/IP or UDP.
    Scott A
    SSP Product Manager
    National Instruments

  • What are the differences between jdk and sdk

    what are the differences between jdk and sdk?? thanks

    Just marketing whims.
    SDK = software development kit
    JDK = Java development kti
    Sun has use both names to refer to its SDK for Java. I forget which one they're using now, but they've switched a couple of times.

  • What are the differences between Essbase and Planning?

    What are the differences between Essbase and Planning?

    Planning is an enterprise application built around the Essbase OLAP engine.
    You can create planning applications with Essbase only, but Planning uses best practises and has built-in enterprise features.
    Brian Chow

  • What are the differences between trigger and constraints?

    what are the differences between trigger and constraints?

    Try the documentation, this would be a good starting point: How Oracle Enforces Data Integrity
    C.

  • What are the differences between iphone and iphone 5c 5s?

    What are the differences between iphone and iphone 5c 5s?

    Read here:
    http://www.apple.com/iphone/compare/
    The iPhone 5C is basically the original iPhone 5 in different colors.
    While the 5S gets the improved hardware.
    Read the link above for a feature comparison.

Maybe you are looking for