ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [1/5] ignite git commit: IGNITE-1816: WIP.
Date Thu, 05 Nov 2015 08:06:36 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1816 [created] d311c5dd5


IGNITE-1816: WIP.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/adcce88c
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/adcce88c
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/adcce88c

Branch: refs/heads/ignite-1816
Commit: adcce88c43f8bc126766342492e892437c593014
Parents: e4b128e
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Wed Nov 4 12:22:41 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Wed Nov 4 12:22:41 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/internal/portable/PortableUtils.java   | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/adcce88c/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
index e0368b6..fae952c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
@@ -96,16 +96,19 @@ public class PortableUtils {
     private static final Collection<Class<?>> PORTABLE_CLS = new HashSet<>();
 
     /** Flag: user type. */
-    public static final short FLAG_USR_TYP = 0x1;
+    public static final short FLAG_USR_TYP = 0x0001;
 
     /** Flag: only raw data exists. */
-    public static final short FLAG_RAW_ONLY = 0x2;
+    public static final short FLAG_RAW_ONLY = 0x0002;
 
     /** Flag: offsets take 1 byte. */
-    public static final short FLAG_OFFSET_ONE_BYTE = 0x4;
+    public static final short FLAG_OFFSET_ONE_BYTE = 0x0004;
 
     /** Flag: offsets take 2 bytes. */
-    public static final short FLAG_OFFSET_TWO_BYTES = 0x8;
+    public static final short FLAG_OFFSET_TWO_BYTES = 0x0008;
+
+    /** Flag: no field IDs in object's footer. */
+    public static final short FLAG_NO_FIELD_IDS = 0x0010;
 
     /** Offset which fits into 1 byte. */
     public static final int OFFSET_1 = 1;


Mime
View raw message