Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • ignite-1.4
    • 1.5.0.final
    • platforms
    • None

    Description

      As a part of IGNITE-1816 I had to revisit our flags. Here are how they look now:

      /** Flag: user type. */
      public static final short FLAG_USR_TYP = 0x0001;
      
      /** Flag: schema exists. */
      public static final short FLAG_HAS_SCHEMA = 0x0002;
      
      /** Flag indicating that object has raw data. */
      public static final short FLAG_HAS_RAW = 0x0004;
      
      /** Flag: offsets take 1 byte. */
      public static final short FLAG_OFFSET_ONE_BYTE = 0x0008;
      
      /** Flag: offsets take 2 bytes. */
      public static final short FLAG_OFFSET_TWO_BYTES = 0x0010;
      
      /** Flag: compact footer, no field IDs. */
      public static final short FLAG_COMPACT_FOOTER = 0x0020;
      

      The following changes must be made to CPP:
      1) When schema exists (i.e. at least on non-raw fieid was written), HAS_ SCHEMA flag is set to true. This is the inversed version of what previously was "RAW_ONLY".
      2) When raw data exists, HAS_RAW flag is set to true. This flag should be used to determine location of raw data.
      DO NOT USE % for this anymore!
      3) For now COMPACT_FOOTER should always be 0. If you receive an object with this flag set to 1, an exception must be thrown.

      Attachments

        Activity

          People

            vozerov Vladimir Ozerov
            vozerov Vladimir Ozerov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: