You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Hussain Towaileb (Code Review)" <do...@asterixdb.incubator.apache.org> on 2018/12/26 03:56:24 UTC

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Hussain Towaileb has uploaded a new change for review.

  https://asterix-gerrit.ics.uci.edu/3098

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................

[NO ISSUE] Renaming AQL variables to more generic names

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Renaming AQL variables to more generic names.

Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
---
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/ADMPrinterFactoryProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CSVPrinterFactoryProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CleanJSONPrinterFactoryProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/LosslessJSONPrinterFactoryProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/NormalizedKeyComputerFactoryProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/SerializerDeserializerProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/TypeTraitProvider.java
7 files changed, 56 insertions(+), 56 deletions(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/98/3098/1

diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/ADMPrinterFactoryProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/ADMPrinterFactoryProvider.java
index 14c773d..ef32876 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/ADMPrinterFactoryProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/ADMPrinterFactoryProvider.java
@@ -65,11 +65,11 @@
     }
 
     @Override
-    public IPrinterFactory getPrinterFactory(Object type) {
-        IAType aqlType = (IAType) type;
+    public IPrinterFactory getPrinterFactory(Object typeInfo) {
+        IAType type = (IAType) typeInfo;
 
-        if (aqlType != null) {
-            switch (aqlType.getTypeTag()) {
+        if (type != null) {
+            switch (type.getTypeTag()) {
                 case TINYINT:
                     return AInt8PrinterFactory.INSTANCE;
                 case SMALLINT:
@@ -118,16 +118,16 @@
                 case BINARY:
                     return ABinaryHexPrinterFactory.INSTANCE;
                 case OBJECT:
-                    return new ARecordPrinterFactory((ARecordType) aqlType);
+                    return new ARecordPrinterFactory((ARecordType) type);
                 case ARRAY:
-                    return new AOrderedlistPrinterFactory((AOrderedListType) aqlType);
+                    return new AOrderedlistPrinterFactory((AOrderedListType) type);
                 case MULTISET:
-                    return new AUnorderedlistPrinterFactory((AUnorderedListType) aqlType);
+                    return new AUnorderedlistPrinterFactory((AUnorderedListType) type);
                 case UNION:
-                    if (((AUnionType) aqlType).isUnknownableType()) {
-                        return new AOptionalFieldPrinterFactory((AUnionType) aqlType);
+                    if (((AUnionType) type).isUnknownableType()) {
+                        return new AOptionalFieldPrinterFactory((AUnionType) type);
                     } else {
-                        return new AUnionPrinterFactory((AUnionType) aqlType);
+                        return new AUnionPrinterFactory((AUnionType) type);
                     }
                 case UUID:
                     return AUUIDPrinterFactory.INSTANCE;
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CSVPrinterFactoryProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CSVPrinterFactoryProvider.java
index cc4ed0d..b8201ae 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CSVPrinterFactoryProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CSVPrinterFactoryProvider.java
@@ -61,11 +61,11 @@
     }
 
     @Override
-    public IPrinterFactory getPrinterFactory(Object type) {
-        IAType aqlType = (IAType) type;
+    public IPrinterFactory getPrinterFactory(Object typeInfo) {
+        IAType type = (IAType) typeInfo;
 
-        if (aqlType != null) {
-            switch (aqlType.getTypeTag()) {
+        if (type != null) {
+            switch (type.getTypeTag()) {
                 case TINYINT:
                     return AInt8PrinterFactory.INSTANCE;
                 case SMALLINT:
@@ -112,16 +112,16 @@
                 case STRING:
                     return AStringPrinterFactory.INSTANCE;
                 case OBJECT:
-                    return new ARecordPrinterFactory((ARecordType) aqlType);
+                    return new ARecordPrinterFactory((ARecordType) type);
                 case ARRAY:
                     throw new NotImplementedException("'Orderedlist' type unsupported for CSV output");
                 case MULTISET:
                     throw new NotImplementedException("'Unorderedlist' type unsupported for CSV output");
                 case UNION:
-                    if (((AUnionType) aqlType).isUnknownableType()) {
-                        return new AOptionalFieldPrinterFactory((AUnionType) aqlType);
+                    if (((AUnionType) type).isUnknownableType()) {
+                        return new AOptionalFieldPrinterFactory((AUnionType) type);
                     } else {
-                        return new AUnionPrinterFactory((AUnionType) aqlType);
+                        return new AUnionPrinterFactory((AUnionType) type);
                     }
                 case UUID:
                     return AUUIDPrinterFactory.INSTANCE;
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CleanJSONPrinterFactoryProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CleanJSONPrinterFactoryProvider.java
index 51b0c6c..7d97e24 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CleanJSONPrinterFactoryProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CleanJSONPrinterFactoryProvider.java
@@ -65,11 +65,11 @@
     }
 
     @Override
-    public IPrinterFactory getPrinterFactory(Object type) {
-        IAType aqlType = (IAType) type;
+    public IPrinterFactory getPrinterFactory(Object typeInfo) {
+        IAType type = (IAType) typeInfo;
 
-        if (aqlType != null) {
-            switch (aqlType.getTypeTag()) {
+        if (type != null) {
+            switch (type.getTypeTag()) {
                 case TINYINT:
                     return AInt8PrinterFactory.INSTANCE;
                 case SMALLINT:
@@ -118,16 +118,16 @@
                 case BINARY:
                     return ABinaryHexPrinterFactory.INSTANCE;
                 case OBJECT:
-                    return new ARecordPrinterFactory((ARecordType) aqlType);
+                    return new ARecordPrinterFactory((ARecordType) type);
                 case ARRAY:
-                    return new AOrderedlistPrinterFactory((AOrderedListType) aqlType);
+                    return new AOrderedlistPrinterFactory((AOrderedListType) type);
                 case MULTISET:
-                    return new AUnorderedlistPrinterFactory((AUnorderedListType) aqlType);
+                    return new AUnorderedlistPrinterFactory((AUnorderedListType) type);
                 case UNION:
-                    if (((AUnionType) aqlType).isUnknownableType()) {
-                        return new AOptionalFieldPrinterFactory((AUnionType) aqlType);
+                    if (((AUnionType) type).isUnknownableType()) {
+                        return new AOptionalFieldPrinterFactory((AUnionType) type);
                     } else {
-                        return new AUnionPrinterFactory((AUnionType) aqlType);
+                        return new AUnionPrinterFactory((AUnionType) type);
                     }
                 case UUID:
                     return AUUIDPrinterFactory.INSTANCE;
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/LosslessJSONPrinterFactoryProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/LosslessJSONPrinterFactoryProvider.java
index 8de46f7..b132689 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/LosslessJSONPrinterFactoryProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/LosslessJSONPrinterFactoryProvider.java
@@ -65,11 +65,11 @@
     }
 
     @Override
-    public IPrinterFactory getPrinterFactory(Object type) {
-        IAType aqlType = (IAType) type;
+    public IPrinterFactory getPrinterFactory(Object typeInfo) {
+        IAType type = (IAType) typeInfo;
 
-        if (aqlType != null) {
-            switch (aqlType.getTypeTag()) {
+        if (type != null) {
+            switch (type.getTypeTag()) {
                 case TINYINT:
                     return AInt8PrinterFactory.INSTANCE;
                 case SMALLINT:
@@ -118,16 +118,16 @@
                 case BINARY:
                     return ABinaryHexPrinterFactory.INSTANCE;
                 case OBJECT:
-                    return new ARecordPrinterFactory((ARecordType) aqlType);
+                    return new ARecordPrinterFactory((ARecordType) type);
                 case ARRAY:
-                    return new AOrderedlistPrinterFactory((AOrderedListType) aqlType);
+                    return new AOrderedlistPrinterFactory((AOrderedListType) type);
                 case MULTISET:
-                    return new AUnorderedlistPrinterFactory((AUnorderedListType) aqlType);
+                    return new AUnorderedlistPrinterFactory((AUnorderedListType) type);
                 case UNION:
-                    if (((AUnionType) aqlType).isUnknownableType()) {
-                        return new AOptionalFieldPrinterFactory((AUnionType) aqlType);
+                    if (((AUnionType) type).isUnknownableType()) {
+                        return new AOptionalFieldPrinterFactory((AUnionType) type);
                     } else {
-                        return new AUnionPrinterFactory((AUnionType) aqlType);
+                        return new AUnionPrinterFactory((AUnionType) type);
                     }
                 case UUID:
                     return AUUIDPrinterFactory.INSTANCE;
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/NormalizedKeyComputerFactoryProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/NormalizedKeyComputerFactoryProvider.java
index d372062..b4457ea 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/NormalizedKeyComputerFactoryProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/NormalizedKeyComputerFactoryProvider.java
@@ -39,10 +39,10 @@
     }
 
     @Override
-    public INormalizedKeyComputerFactory getNormalizedKeyComputerFactory(Object type, boolean ascending) {
-        IAType aqlType = (IAType) type;
+    public INormalizedKeyComputerFactory getNormalizedKeyComputerFactory(Object typeInfo, boolean ascending) {
+        IAType type = (IAType) typeInfo;
         if (ascending) {
-            switch (aqlType.getTypeTag()) {
+            switch (type.getTypeTag()) {
                 case DATE:
                 case TIME:
                 case YEARMONTHDURATION:
@@ -66,7 +66,7 @@
                     return null;
             }
         } else {
-            switch (aqlType.getTypeTag()) {
+            switch (type.getTypeTag()) {
                 case DATE:
                 case TIME:
                 case YEARMONTHDURATION:
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/SerializerDeserializerProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/SerializerDeserializerProvider.java
index 356b84c..2ba9e56 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/SerializerDeserializerProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/SerializerDeserializerProvider.java
@@ -87,23 +87,23 @@
     @SuppressWarnings("rawtypes")
     @Override
     public ISerializerDeserializer getSerializerDeserializer(Object typeInfo) {
-        IAType aqlType = (IAType) typeInfo;
-        if (aqlType == null) {
+        IAType type = (IAType) typeInfo;
+        if (type == null) {
             return null;
         }
-        switch (aqlType.getTypeTag()) {
+        switch (type.getTypeTag()) {
             case ANY:
             case UNION:
                 // we could do smth better for nullable fields
                 return AObjectSerializerDeserializer.INSTANCE;
             default:
-                return addTag(getNonTaggedSerializerDeserializer(aqlType));
+                return addTag(getNonTaggedSerializerDeserializer(type));
         }
     }
 
     @SuppressWarnings("rawtypes")
-    public ISerializerDeserializer getNonTaggedSerializerDeserializer(IAType aqlType) {
-        switch (aqlType.getTypeTag()) {
+    public ISerializerDeserializer getNonTaggedSerializerDeserializer(IAType type) {
+        switch (type.getTypeTag()) {
             case CIRCLE:
                 return ACircleSerializerDeserializer.INSTANCE;
             case DATE:
@@ -145,7 +145,7 @@
             case INTERVAL:
                 return AIntervalSerializerDeserializer.INSTANCE;
             case ARRAY:
-                return new AOrderedListSerializerDeserializer((AOrderedListType) aqlType);
+                return new AOrderedListSerializerDeserializer((AOrderedListType) type);
             case POINT:
                 return APointSerializerDeserializer.INSTANCE;
             case POINT3D:
@@ -155,9 +155,9 @@
             case POLYGON:
                 return APolygonSerializerDeserializer.INSTANCE;
             case OBJECT:
-                return new ARecordSerializerDeserializer((ARecordType) aqlType);
+                return new ARecordSerializerDeserializer((ARecordType) type);
             case MULTISET:
-                return new AUnorderedListSerializerDeserializer((AUnorderedListType) aqlType);
+                return new AUnorderedListSerializerDeserializer((AUnorderedListType) type);
             case UUID:
                 return AUUIDSerializerDeserializer.INSTANCE;
             case SHORTWITHOUTTYPEINFO:
@@ -166,7 +166,7 @@
                 return AGeometrySerializerDeserializer.INSTANCE;
             default:
                 throw new NotImplementedException(
-                        "No serializer/deserializer implemented for type " + aqlType.getTypeTag() + " .");
+                        "No serializer/deserializer implemented for type " + type.getTypeTag() + " .");
         }
     }
 
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/TypeTraitProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/TypeTraitProvider.java
index 0fd2cf8..8cfe78d 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/TypeTraitProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/TypeTraitProvider.java
@@ -43,12 +43,12 @@
     public static final TypeTraitProvider INSTANCE = new TypeTraitProvider();
 
     @Override
-    public ITypeTraits getTypeTrait(Object type) {
-        IAType aqlType = (IAType) type;
-        if (aqlType == null) {
+    public ITypeTraits getTypeTrait(Object typeInfo) {
+        IAType type = (IAType) typeInfo;
+        if (type == null) {
             return null;
         }
-        switch (aqlType.getTypeTag()) {
+        switch (type.getTypeTag()) {
             case BOOLEAN:
             case TINYINT:
                 return ONEBYTETYPETRAIT;

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-ensure-ancestor/2905/ (6/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Anon. E. Moose (Code Review)" <do...@asterixdb.incubator.apache.org>.
Anon. E. Moose #1000171 has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1: Contrib+1

Analytics Compatibility Tests Successful
https://goo.gl/vQqLvV : SUCCESS

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-asterix-app-openjdk11/303/ (14/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-source-assemblies/5116/ (9/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-stabilization-f69489-compat/309/ (8/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-source-format/4861/ (7/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-cancellation-test/4895/ (11/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-verify-no-installer-app/5234/ (14/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1: Integration-Tests+1

Integration Tests Successful

https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/7719/ : SUCCESS

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Anon. E. Moose (Code Review)" <do...@asterixdb.incubator.apache.org>.
Anon. E. Moose #1000171 has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Analytics Compatibility Compilation Successful
https://goo.gl/X5cqRi : SUCCESS

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-verify-storage/5465/ (10/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-sonar/8844/ (5/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-asterix-app-openjdk11/302/ (2/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Integration Tests Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/7719/

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-notopic/10377/ (1/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/hyracks-gerrit/4807/ (3/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-asterix-app-sql-execution/4902/ (13/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Hussain Towaileb (Code Review)" <do...@asterixdb.incubator.apache.org>.
Hussain Towaileb has submitted this change and it was merged.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


[NO ISSUE] Renaming AQL variables to more generic names

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Renaming AQL variables to more generic names.

Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3098
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mh...@apache.org>
---
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/ADMPrinterFactoryProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CSVPrinterFactoryProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CleanJSONPrinterFactoryProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/LosslessJSONPrinterFactoryProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/NormalizedKeyComputerFactoryProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/SerializerDeserializerProvider.java
M asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/TypeTraitProvider.java
7 files changed, 56 insertions(+), 56 deletions(-)

Approvals:
  Anon. E. Moose #1000171: 
  Jenkins: Verified; ; Verified
  Murtadha Hubail: Looks good to me, approved

Objections:
  Jenkins: Violations found



diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/ADMPrinterFactoryProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/ADMPrinterFactoryProvider.java
index 14c773d..ef32876 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/ADMPrinterFactoryProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/ADMPrinterFactoryProvider.java
@@ -65,11 +65,11 @@
     }
 
     @Override
-    public IPrinterFactory getPrinterFactory(Object type) {
-        IAType aqlType = (IAType) type;
+    public IPrinterFactory getPrinterFactory(Object typeInfo) {
+        IAType type = (IAType) typeInfo;
 
-        if (aqlType != null) {
-            switch (aqlType.getTypeTag()) {
+        if (type != null) {
+            switch (type.getTypeTag()) {
                 case TINYINT:
                     return AInt8PrinterFactory.INSTANCE;
                 case SMALLINT:
@@ -118,16 +118,16 @@
                 case BINARY:
                     return ABinaryHexPrinterFactory.INSTANCE;
                 case OBJECT:
-                    return new ARecordPrinterFactory((ARecordType) aqlType);
+                    return new ARecordPrinterFactory((ARecordType) type);
                 case ARRAY:
-                    return new AOrderedlistPrinterFactory((AOrderedListType) aqlType);
+                    return new AOrderedlistPrinterFactory((AOrderedListType) type);
                 case MULTISET:
-                    return new AUnorderedlistPrinterFactory((AUnorderedListType) aqlType);
+                    return new AUnorderedlistPrinterFactory((AUnorderedListType) type);
                 case UNION:
-                    if (((AUnionType) aqlType).isUnknownableType()) {
-                        return new AOptionalFieldPrinterFactory((AUnionType) aqlType);
+                    if (((AUnionType) type).isUnknownableType()) {
+                        return new AOptionalFieldPrinterFactory((AUnionType) type);
                     } else {
-                        return new AUnionPrinterFactory((AUnionType) aqlType);
+                        return new AUnionPrinterFactory((AUnionType) type);
                     }
                 case UUID:
                     return AUUIDPrinterFactory.INSTANCE;
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CSVPrinterFactoryProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CSVPrinterFactoryProvider.java
index cc4ed0d..b8201ae 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CSVPrinterFactoryProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CSVPrinterFactoryProvider.java
@@ -61,11 +61,11 @@
     }
 
     @Override
-    public IPrinterFactory getPrinterFactory(Object type) {
-        IAType aqlType = (IAType) type;
+    public IPrinterFactory getPrinterFactory(Object typeInfo) {
+        IAType type = (IAType) typeInfo;
 
-        if (aqlType != null) {
-            switch (aqlType.getTypeTag()) {
+        if (type != null) {
+            switch (type.getTypeTag()) {
                 case TINYINT:
                     return AInt8PrinterFactory.INSTANCE;
                 case SMALLINT:
@@ -112,16 +112,16 @@
                 case STRING:
                     return AStringPrinterFactory.INSTANCE;
                 case OBJECT:
-                    return new ARecordPrinterFactory((ARecordType) aqlType);
+                    return new ARecordPrinterFactory((ARecordType) type);
                 case ARRAY:
                     throw new NotImplementedException("'Orderedlist' type unsupported for CSV output");
                 case MULTISET:
                     throw new NotImplementedException("'Unorderedlist' type unsupported for CSV output");
                 case UNION:
-                    if (((AUnionType) aqlType).isUnknownableType()) {
-                        return new AOptionalFieldPrinterFactory((AUnionType) aqlType);
+                    if (((AUnionType) type).isUnknownableType()) {
+                        return new AOptionalFieldPrinterFactory((AUnionType) type);
                     } else {
-                        return new AUnionPrinterFactory((AUnionType) aqlType);
+                        return new AUnionPrinterFactory((AUnionType) type);
                     }
                 case UUID:
                     return AUUIDPrinterFactory.INSTANCE;
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CleanJSONPrinterFactoryProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CleanJSONPrinterFactoryProvider.java
index 51b0c6c..7d97e24 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CleanJSONPrinterFactoryProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/CleanJSONPrinterFactoryProvider.java
@@ -65,11 +65,11 @@
     }
 
     @Override
-    public IPrinterFactory getPrinterFactory(Object type) {
-        IAType aqlType = (IAType) type;
+    public IPrinterFactory getPrinterFactory(Object typeInfo) {
+        IAType type = (IAType) typeInfo;
 
-        if (aqlType != null) {
-            switch (aqlType.getTypeTag()) {
+        if (type != null) {
+            switch (type.getTypeTag()) {
                 case TINYINT:
                     return AInt8PrinterFactory.INSTANCE;
                 case SMALLINT:
@@ -118,16 +118,16 @@
                 case BINARY:
                     return ABinaryHexPrinterFactory.INSTANCE;
                 case OBJECT:
-                    return new ARecordPrinterFactory((ARecordType) aqlType);
+                    return new ARecordPrinterFactory((ARecordType) type);
                 case ARRAY:
-                    return new AOrderedlistPrinterFactory((AOrderedListType) aqlType);
+                    return new AOrderedlistPrinterFactory((AOrderedListType) type);
                 case MULTISET:
-                    return new AUnorderedlistPrinterFactory((AUnorderedListType) aqlType);
+                    return new AUnorderedlistPrinterFactory((AUnorderedListType) type);
                 case UNION:
-                    if (((AUnionType) aqlType).isUnknownableType()) {
-                        return new AOptionalFieldPrinterFactory((AUnionType) aqlType);
+                    if (((AUnionType) type).isUnknownableType()) {
+                        return new AOptionalFieldPrinterFactory((AUnionType) type);
                     } else {
-                        return new AUnionPrinterFactory((AUnionType) aqlType);
+                        return new AUnionPrinterFactory((AUnionType) type);
                     }
                 case UUID:
                     return AUUIDPrinterFactory.INSTANCE;
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/LosslessJSONPrinterFactoryProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/LosslessJSONPrinterFactoryProvider.java
index 8de46f7..b132689 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/LosslessJSONPrinterFactoryProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/LosslessJSONPrinterFactoryProvider.java
@@ -65,11 +65,11 @@
     }
 
     @Override
-    public IPrinterFactory getPrinterFactory(Object type) {
-        IAType aqlType = (IAType) type;
+    public IPrinterFactory getPrinterFactory(Object typeInfo) {
+        IAType type = (IAType) typeInfo;
 
-        if (aqlType != null) {
-            switch (aqlType.getTypeTag()) {
+        if (type != null) {
+            switch (type.getTypeTag()) {
                 case TINYINT:
                     return AInt8PrinterFactory.INSTANCE;
                 case SMALLINT:
@@ -118,16 +118,16 @@
                 case BINARY:
                     return ABinaryHexPrinterFactory.INSTANCE;
                 case OBJECT:
-                    return new ARecordPrinterFactory((ARecordType) aqlType);
+                    return new ARecordPrinterFactory((ARecordType) type);
                 case ARRAY:
-                    return new AOrderedlistPrinterFactory((AOrderedListType) aqlType);
+                    return new AOrderedlistPrinterFactory((AOrderedListType) type);
                 case MULTISET:
-                    return new AUnorderedlistPrinterFactory((AUnorderedListType) aqlType);
+                    return new AUnorderedlistPrinterFactory((AUnorderedListType) type);
                 case UNION:
-                    if (((AUnionType) aqlType).isUnknownableType()) {
-                        return new AOptionalFieldPrinterFactory((AUnionType) aqlType);
+                    if (((AUnionType) type).isUnknownableType()) {
+                        return new AOptionalFieldPrinterFactory((AUnionType) type);
                     } else {
-                        return new AUnionPrinterFactory((AUnionType) aqlType);
+                        return new AUnionPrinterFactory((AUnionType) type);
                     }
                 case UUID:
                     return AUUIDPrinterFactory.INSTANCE;
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/NormalizedKeyComputerFactoryProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/NormalizedKeyComputerFactoryProvider.java
index d372062..b4457ea 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/NormalizedKeyComputerFactoryProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/NormalizedKeyComputerFactoryProvider.java
@@ -39,10 +39,10 @@
     }
 
     @Override
-    public INormalizedKeyComputerFactory getNormalizedKeyComputerFactory(Object type, boolean ascending) {
-        IAType aqlType = (IAType) type;
+    public INormalizedKeyComputerFactory getNormalizedKeyComputerFactory(Object typeInfo, boolean ascending) {
+        IAType type = (IAType) typeInfo;
         if (ascending) {
-            switch (aqlType.getTypeTag()) {
+            switch (type.getTypeTag()) {
                 case DATE:
                 case TIME:
                 case YEARMONTHDURATION:
@@ -66,7 +66,7 @@
                     return null;
             }
         } else {
-            switch (aqlType.getTypeTag()) {
+            switch (type.getTypeTag()) {
                 case DATE:
                 case TIME:
                 case YEARMONTHDURATION:
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/SerializerDeserializerProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/SerializerDeserializerProvider.java
index 356b84c..2ba9e56 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/SerializerDeserializerProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/SerializerDeserializerProvider.java
@@ -87,23 +87,23 @@
     @SuppressWarnings("rawtypes")
     @Override
     public ISerializerDeserializer getSerializerDeserializer(Object typeInfo) {
-        IAType aqlType = (IAType) typeInfo;
-        if (aqlType == null) {
+        IAType type = (IAType) typeInfo;
+        if (type == null) {
             return null;
         }
-        switch (aqlType.getTypeTag()) {
+        switch (type.getTypeTag()) {
             case ANY:
             case UNION:
                 // we could do smth better for nullable fields
                 return AObjectSerializerDeserializer.INSTANCE;
             default:
-                return addTag(getNonTaggedSerializerDeserializer(aqlType));
+                return addTag(getNonTaggedSerializerDeserializer(type));
         }
     }
 
     @SuppressWarnings("rawtypes")
-    public ISerializerDeserializer getNonTaggedSerializerDeserializer(IAType aqlType) {
-        switch (aqlType.getTypeTag()) {
+    public ISerializerDeserializer getNonTaggedSerializerDeserializer(IAType type) {
+        switch (type.getTypeTag()) {
             case CIRCLE:
                 return ACircleSerializerDeserializer.INSTANCE;
             case DATE:
@@ -145,7 +145,7 @@
             case INTERVAL:
                 return AIntervalSerializerDeserializer.INSTANCE;
             case ARRAY:
-                return new AOrderedListSerializerDeserializer((AOrderedListType) aqlType);
+                return new AOrderedListSerializerDeserializer((AOrderedListType) type);
             case POINT:
                 return APointSerializerDeserializer.INSTANCE;
             case POINT3D:
@@ -155,9 +155,9 @@
             case POLYGON:
                 return APolygonSerializerDeserializer.INSTANCE;
             case OBJECT:
-                return new ARecordSerializerDeserializer((ARecordType) aqlType);
+                return new ARecordSerializerDeserializer((ARecordType) type);
             case MULTISET:
-                return new AUnorderedListSerializerDeserializer((AUnorderedListType) aqlType);
+                return new AUnorderedListSerializerDeserializer((AUnorderedListType) type);
             case UUID:
                 return AUUIDSerializerDeserializer.INSTANCE;
             case SHORTWITHOUTTYPEINFO:
@@ -166,7 +166,7 @@
                 return AGeometrySerializerDeserializer.INSTANCE;
             default:
                 throw new NotImplementedException(
-                        "No serializer/deserializer implemented for type " + aqlType.getTypeTag() + " .");
+                        "No serializer/deserializer implemented for type " + type.getTypeTag() + " .");
         }
     }
 
diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/TypeTraitProvider.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/TypeTraitProvider.java
index 0fd2cf8..8cfe78d 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/TypeTraitProvider.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/formats/nontagged/TypeTraitProvider.java
@@ -43,12 +43,12 @@
     public static final TypeTraitProvider INSTANCE = new TypeTraitProvider();
 
     @Override
-    public ITypeTraits getTypeTrait(Object type) {
-        IAType aqlType = (IAType) type;
-        if (aqlType == null) {
+    public ITypeTraits getTypeTrait(Object typeInfo) {
+        IAType type = (IAType) typeInfo;
+        if (type == null) {
             return null;
         }
-        switch (aqlType.getTypeTag()) {
+        switch (type.getTypeTag()) {
             case BOOLEAN:
             case TINYINT:
                 return ONEBYTETYPETRAIT;

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 2
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-Reviewer: Murtadha Hubail <mh...@apache.org>

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Murtadha Hubail (Code Review)" <do...@asterixdb.incubator.apache.org>.
Murtadha Hubail has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1: Code-Review+2

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-Reviewer: Murtadha Hubail <mh...@apache.org>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-verify-asterix-app/5279/ (12/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1: Contrib+1

BAD Compatibility Tests Successful

https://asterix-jenkins.ics.uci.edu/job/asterixbad-compat/3872/ : SUCCESS

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-verify-txnlog/61/ (4/14)

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No

Change in asterixdb[master]: [NO ISSUE] Renaming AQL variables to more generic names

Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.

Change subject: [NO ISSUE] Renaming AQL variables to more generic names
......................................................................


Patch Set 1:

BAD Compatibility Tests Started https://asterix-jenkins.ics.uci.edu/job/asterixbad-compat/3872/

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3098
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If9cf5fc13e1da7c9e172c2b866643973fafaaf13
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Hussain Towaileb <hu...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No