When do the Filters turn into IndexAwareFilters ?

Hi, I've looked through the documentation and this forum and probably found the answer already. But just to be sure ...
Re: Aggregation with a Partitioned Cache: unnecessary serialization This is post which i found useful for answering my question.
So am i right that any Filters which implement IndexAwareFilter interface (GreaterFilter, LessFilter, etc) start
behaving as a IndexAwareFilter after indexing the properties?
I've been looking for the solution which could optimize quering performance and it looks like there is only one choice. It's ok for me )) . When i started my search i thought about Extractors which could deal with POF format to extract some specific values without deserialing object. But in that case you still have to iterate over all values and cache those extracted values. The Coherence's indexing solution makes the same without requering additional effort from you.

Hi,
IndexAwareFilters are EntryFilters, but before iterating over the entire candidate set, they can first check whether there are applicable indexes they could use, and they do this before deserializing any entries.
This usually means that they check that an index exists for their extractor, and if yes, they use it, but there are exceptions, e.g. InKeySetFilter is an IndexAwareFilter, but it does not need any indexes to exist, it instead just filters the binary form of the keys.
So yes, most IndexAwareFilter give you a plus only if your extractor is indexed, but that is just because those kind of filters are provided.
As for extracting directly from the Binary form: one advantage is indeed that if an attribute is not indexed, then you don't need to pay the deserialization cost at querying, but there is a more significant advantage, too: you don't need to deserialize upon updates.
Coherence needs to deserialize your new entry value for updated entry or for an inserted entry on the storage node in case any of the following is true:
- an index is created on the cache which does not directly go into the Binary
- a map event filter-based cache listener or backing map listener is registered on the cache
- a backing map listener wants to examine the new value
- a map event transformer wants to transform the new value
Possibly most of these can benefit from not having to deserialize the entry if only Binary-aware extractors are used.
Best regards,
Robert

Similar Messages

  • Java.io.NotSerializableException when overwrite the JTable data into .txt file

    hi everyone
    this is my first time to get help from sun forums
    i had java.io.NotSerializableException: java.lang.reflect.Constructor error when overwrite the JTable data into .txt file.
    At the beginning, the code will be generate successfully and the jtable will be showing out with the data that been save in the studio1.txt previously,
    but after i edit the data at the JTable, and when i trying to click the save button, the error had been showing out and i cannot succeed to save the JTable with the latest data.
    After this error, the code can't be run again and i had to copy the studio1.txt again to let the code run 1 more time.
    I hope i can get any solution at here and this will be very useful for me.
    the following is my code...some of it i create it with the GUI netbean
    but i dunno how to attach my .txt file with this forum
    did anyone need the .txt file?
    this is the code that suspect maybe some error here
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    String filename = "studio1.txt";
              try {
                  FileOutputStream fos = new FileOutputStream(new File(filename));
                  ObjectOutputStream oos = new ObjectOutputStream(fos);
                   oos.writeObject(jTable2);
                   oos.close();
              catch(IOException e) {
                   System.out.println("Problem creating table file: " + e);
                   return;
              System.out.println("JTable correctly saved to file " + filename);
    }the full code will be at the next msg

    this is the part 1 of the code
    this is the full code...i had /*....*/ some of it to make it easier for reading
    package gui;
    import javax.swing.*;
    import java.io.*;
    public class timetables extends javax.swing.JFrame {
        public timetables() {
            initComponents();
        @SuppressWarnings("unchecked")
        private void initComponents() {
            jDialog1 = new javax.swing.JDialog();
            buttonGroup1 = new javax.swing.ButtonGroup();
            buttonGroup2 = new javax.swing.ButtonGroup();
            buttonGroup3 = new javax.swing.ButtonGroup();
            buttonGroup4 = new javax.swing.ButtonGroup();
            jTextField1 = new javax.swing.JTextField();
            jLayeredPane1 = new javax.swing.JLayeredPane();
            jLabel6 = new javax.swing.JLabel();
            jTabbedPane1 = new javax.swing.JTabbedPane();
            jScrollPane3 = new javax.swing.JScrollPane();
            jTable2 = new javax.swing.JTable();
            jScrollPane4 = new javax.swing.JScrollPane();
            jTable3 = new javax.swing.JTable();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
    /*       org.jdesktop.layout.GroupLayout jDialog1Layout = new org.jdesktop.layout.GroupLayout(jDialog1.getContentPane());
            jDialog1.getContentPane().setLayout(jDialog1Layout);
            jDialog1Layout.setHorizontalGroup(
                jDialog1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(0, 400, Short.MAX_VALUE)
            jDialog1Layout.setVerticalGroup(
                jDialog1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(0, 300, Short.MAX_VALUE)
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jLayeredPane1.add(jLabel6, javax.swing.JLayeredPane.DEFAULT_LAYER);
            String filename1 = "studio1.txt";
            try {
                   ObjectInputStream ois = new ObjectInputStream(new FileInputStream(filename1));
                   jTable2 = (JTable) ois.readObject();
                   System.out.println("reading for " + filename1);
              catch(Exception e) {
                   System.out.println("Problem reading back table from file: " + filename1);
                   return;
            try {
                   ObjectInputStream ois = new ObjectInputStream(new FileInputStream(filename1));
                   jTable3 = (JTable) ois.readObject();
                   System.out.println("reading for " + filename1);
              catch(Exception e) {
                   System.out.println("Problem reading back table from file: " + filename1);
                   return;
            jTable2.setRowHeight(20);
            jTable3.setRowHeight(20);
            jScrollPane3.setViewportView(jTable2);
            jScrollPane4.setViewportView(jTable3);
            jTable2.getColumnModel().getColumn(4).setResizable(false);
            jTable3.getColumnModel().getColumn(4).setResizable(false);
            jTabbedPane1.addTab("STUDIO 1", jScrollPane3);
            jTabbedPane1.addTab("STUDIO 2", jScrollPane4);
            jTextField1.setText("again n again");
            jLabel6.setText("jLabel5");
            jLabel6.setBounds(0, 0, -1, -1);
            jButton2.setText("jButton2");
            jButton1.setText("jButton1");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
          

  • Java.io.NotSerializableException when overwrite the JTable data into .txt

    hi everyone
    i had java.io.NotSerializableException: java.lang.reflect.Constructor error when overwrite the JTable data into .txt file.
    At the beginning, the code will be generate successfully and the jtable
    will be showing out with the data that been save in the studio1.txt
    previously,
    but after i edit the data at the JTable, and when i trying to click the
    save button, the error had been showing out and i cannot succeed to
    save the JTable with the latest data.
    After this error, the code can't be run again and i had to copy the studio1.txt again to let the code run 1 more time.
    I hope i can get any solution at here and this will be very useful for me.
    but i dunno how to attach my .txt file with this forum
    did anyone need the .txt file?
    the following is my suspect code
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    String filename1 = "studio1.txt";
              try {
                  FileOutputStream fos = new FileOutputStream(new File(filename1));
                  ObjectOutputStream oos = new ObjectOutputStream(fos);
                   oos.writeObject(jTable2.getModel());
                   oos.flush();
                   oos.close();
                   fos.close();
              catch(IOException e) {
                   System.out.println("Problem creating table file: " + e);
                            e.printStackTrace();
                   return;
              System.out.println("JTable correctly saved to file " + filename1);
    }this is the reading code
    String filename1="studio1.txt";
            try {
                   ObjectInputStream ois = new ObjectInputStream(new FileInputStream(filename1));
                   TableModel model = (TableModel)ois.readObject();
                    jTable3.setModel(model);
                   System.out.println("reading for " + filename1);
              catch(Exception e) {
                   System.out.println("Problem reading back table from file: " + filename1);
                   return;
              }Edited by: Taufulou on Jan 8, 2009 11:43 PM
    Edited by: Taufulou on Jan 8, 2009 11:44 PM
    Edited by: Taufulou on Jan 8, 2009 11:45 PM

    is this the code u mean?
    i had put this code inside it but the problem still remain the same
    if (jTable2.isEditing()) {
                jTable2.getCellEditor().stopCellEditing();
            }i had found a new thing that when i just double click the cell without change any data inside the table
    and click the button "Save". the same exception which is
    java.io.NotSerializableException: java.lang.reflect.Constructor
    will come out again.

  • One day the screen turned into flakes and all the icons disappeared. i rebooted but a few icons apppeared only to disappear again into a mosaic like painting. how do i fix this?

    One day the screen turned into snowflakes so i rebooted then the icons reappeared then became a mosaic like artwork so i rebooted and now my screen is blank. how do I fix this?

    Restart your computer while holding down left mouse key. That will eject the CD and your Mac will start as normal.
    Lupunus

  • I set up the primary language to English while initializing the MBP, but at the log-in page, the language appears to be a foreign language I don't use, after restart, the language turned into English, has anyone come across the same problem

    I set up the primary language to English while initializing the MBP, but at the log-in page, the language appears to be a foreign language I don't use, after restart, the language turned into English, has anyone come across the same problem, and is that normal?

    i have a similar problem...It seems to be tied to my guest account. It is set to Japanese as primary language but my main login is set to English. I tried changing the guest account to english but the change won't hold. It always reverts to Japanese.

  • All the sounds turn into noise

    Excuse my poor english. as2.0, sounds format is WAV. Please watch this video to get into the problem. Turn the volume down, at 0:41 all sounds "crashing", then they turn into loud noises. I tried to play it on different computers, tried rerendering and reinstall quick time, nothing helps. I don't think the problem is with the code, cause I can control only pan and volume. By the way, I can still hear natural parts of sounds through the noises. Also sound "crashing" at random moment every time, so I can't find the root of issue. Please help, what can I do with this?
    upd1. Looks like the problem is with the player. When sond crashed, I tried to reopen the game (file->game.swf), and noises doesn't gone. Tried different versions, my results is : flash player 14, 15 - noises appears all the time, flash player 9 - sound crashes, but no noises. Tried to play in browser (13.0.0.214), no noises appear yet. Since the problem may appear cause of player, should I report about the bug?
    upd2. Same problem in flash player 13. I just can't understand, after what event noise appears.

    If you lose sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • GET_FILTER_VALUES_CHA:3  Error when using the Filters

    Hi All,
    I get the below error messgage when trying to use the Filters in the web application. I checked the OSS notes (932154, 902393 & 832485) but didn't get a solution. This is a query on a Basic Cube.
    SQL 904.
    Error in SQL Statement.
    SYSTEM ERROR CL_RSR_WWW_RENDERER and form space GET_FILTER_VALUES_CHA:3
    Looking forward for some help in this regard.
    BW Version: 3.5 SP15
    Thanks & regards,
    Sree

    Hi,
    It worked for me, I dont for your case.
    Mine syptom:
    When filtering by using the context menu's "keep filter"  and then filter by using a "Hierarchy Web Item" (based on Calendar month),
    then I was getting the message <i>"System error in program CL_RSR_WWW_RENDERER and form SUBMIT_FILTER"</i>
    It is solved by adding a "Filter Web Item" to display the filter values. If you dont want that object in your report, you can hide it.
    Vasso

  • When smb sharing, files turn into folders

    I use Mountain Lion on my 2012 Air. I connect to a hard drive on my wireless router using the SMB protocol. Random files turn into folders.
    I don't know if this is a problem with the OS X SMB protocol or my wireless router, which is a Linksys e3500.
    Has anyone encountered this problem?

    I use Mountain Lion on my 2012 Air. I connect to a hard drive on my wireless router using the SMB protocol. Random files turn into folders.
    I don't know if this is a problem with the OS X SMB protocol or my wireless router, which is a Linksys e3500.
    Has anyone encountered this problem?

  • When I copy an email message and paste it into a document, the font turns into all symbols.  What's the problem here?

    When I copy an email message and paste it into a document, the font becomes all symbols. What is wrong?

    To use images from the media browser, you must generate previews of the images first. It sounds like the "automatically generate previews for every new project" is turned off under Aperture >Preferences>Previews. To generate a preview for a photo to use in the media browser, right click it and select "update preview". The quality of the preview photo is determined by the settings in the Previews tab found under the Aperture>Preferences menu.

  • When I open one particular folder to play the games in it the pointer turns into a pinwheel and I cant open the game or close the folder unless I shut down my computer.  Never happened before and does not happen with any other folder on the desktop.

    why does pointer become a pinwheel when I open one particular folder only and prevent me from opening the apps in it and then keep me from closing the folder unless I shut down the computer completely.  I can open all other folders on the desk top without a problem.  My game folder never gave me trouble before.

    Try this. Open one of your files. The window that contains your picture is named at the top. Command click on the name and you'll see the entire path starting with its name and then moving to the folder, the folder it is contained in, etc all the way to down to the hard drive volume name. This should tell you where to find the folder.

  • When clicking on a link within a pdf nothing happens. When I mouse over the link the cursor turns into a finger/hand with a W at the bottom.

    Both Adobe and Firefox are on the lastest versions. Clicking on the link deosnt bring anything up.

    Does this only happen if you open the file embedded in Firefox and not when you open the external Adobe Reader (Tools > Options > Applications) ?

  • Does anyone know what this means when the time turns into this on an iPhone/var/folders/w6/qj__6rbs7hscmcdq8zg397jw0000gn/T/com.apple.iChat/Messages /Transfers/10277484_10101083982197987_5693627767441707966_n.jpg

    file:///var/folders/w6/qj__6rbs7hscmcdq8zg397jw0000gn/T/com.apple.iChat/Messages /Transfers/10277484_10101083982197987_5693627767441707966_n.jpg

    Sorry. Your image did not post correctly. No idea what you're talking about.

  • Getting Error when convert the plan order into production order

    Hi Experts,
    When i converting the planorder into production order i am getting this error
    could you please suggest me hoew can i resolve this issue.
    Message no. CK466
    Diagnosis
    The system could not calculate a price for the internal activity with activity type 20000 of cost
    center 110TUP002 because none of the valuation strategies in valuation variant 006 was successful.
    System Response
    If the system issues a warning message or an information message, the costing item will be
    used in costing with a value of zero.
    If the system issues an error message, it sets the status "KF" (costed with errors).
    If the system issues a termination message, the cost estimate cannot be processed.
    Procedure
    1. Check the master data for activity type 20000 of cost center 110TUP002.
    2. If you have authorization for Customizing, check the valuation strategy for internal activities
    in valuation variant 006.
    Thanks&regards.
    Sateesh.C

    Hi,
    For the orders for which you get the error, note the dates, then check in KSBT, whether there is price maintained for that period.
    Eg: If the order has a start - 2nd Aug, 2010 & end 10th Aug, 2010, then check if price exists for period - 08, year - 2010
    Regards,
    Vivek
    Added
    If the values are maintained, then check the costing variants specified for the order type in OPL8 for plant - order type combination in cost accounting tab. Then in OPL1, check the details specified for the variants. If you're not sure on this, take help from your FI-Co colleague.

  • Error when geeting the WebI report into Xcelsius using LiveOffice

    Hi All,
      I am using Xcelsius 2008 SP2 and Live Office. I run the report in the WebI and I am trying to get the report into Xcelsius using the live office. When I go to live office and select web intelligent I  am able to see the report it the InfoView but when I go to next step to insert into live office I am getting the below error "
    An error occurred when an object was selected in the report part viewer.(LO 02026)
    Maximum character output size limit reached. Contact your BOBJ administrator(Error: ERR_WIS_3072)".
    Could any one please help me.
    Thanks
    Muvva

    Hello Raghavendra,
    What is the size of the WebI report? There may be a limitation to the rows of data you can pull into Live Office.
    If this is the issue, you can avoid it through an alternative connection method called the [Xcelsius Web Intelligence Integration Suite.|http://antivia.com/products-xcelsius.stm]
    You can use this to connect Xcelsius directly to WebI, without the need for Live Office.

  • I Use Open Sans - Web Safe Font And The Text Turns Into An Image. Why?

    When I use Open Sans the text becomes an image and when I use Arial it is text. How do I save Open Sans as text?

    Open Sans is available as an Edge Web font.
    Which section of the Font menu did you select Open Sans from? If it was selected from the "System Fonts" section of the font menu then it will output as an image. To use the Web Font version, click "Add Web Fonts..." in the font menu then choose "Open Sans" from the available Edge Web Fonts.

Maybe you are looking for

  • 1st Generation iPod problem - folder icon/exclamation!

    Any help would be appreciated. I have a 1st generation iPod and it has worked fine since 2002. The battery seems fine and have had no problems with it until yesterday. When I connected my iPod via firewire to my Mac, iTunes wouldn't recognize it. The

  • Problems with Logical Components

    Hi All, I am having problems with Logical Components with our project. We are implemeents SAP HCM and we have defined a logical component Z_ERP for the ECC server. now when you look at the transaction from SOLAR02 it seems they also have a logical Co

  • The Shared list does not appear in my iTunes

    The Shared list dos not appear in my iTunes, turned Home Sharing off then on many times, still not working, how could I solve this problem?

  • Lync Poll feature

    When creating a poll in Lync online meeting, is there a character limit to the choices? I am finding that when certain polls are displayed, the potential answers are cut off (only one line of text displaying).  If I save the poll question as a file,

  • MailTips for Dynamic Distribution Lists - wrong number of recipients

    We use Exchange 2013 and Outlook 2013. We have a Dynamic Distribution List ([email protected]) configured on Exchange. It contains 75 users, I confirmed it using below cmdlets in Exchange management shell $all = Get-DynamicDistributionGroup [email pr