asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AsterixDB Code Review <do-not-re...@asterix-gerrit.ics.uci.edu>
Subject Change in asterixdb[master]: [NO ISSUE][*DB] Add missing serialVersionUIDs for serializable classes
Date Wed, 30 Jun 2021 13:47:41 GMT
>From Michael Blow <mblow@apache.org>:

Michael Blow has uploaded this change for review. ( https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/12163
)


Change subject: [NO ISSUE][*DB] Add missing serialVersionUIDs for serializable classes
......................................................................

[NO ISSUE][*DB] Add missing serialVersionUIDs for serializable classes

Change-Id: Ia547e59692800219d8fb63da04f5d7ec323d456c
---
M asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/MetadataTransactionContext.java
M asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/FullTextConfigMetadataEntity.java
M asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/FullTextFilterMetadataEntity.java
M asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/fulltext/AbstractFullTextFilterDescriptor.java
M hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/fulltext/AbstractFullTextFilterEvaluatorFactory.java
5 files changed, 10 insertions(+), 0 deletions(-)



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

diff --git a/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/MetadataTransactionContext.java
b/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/MetadataTransactionContext.java
index a6b1f4b..48fb450 100644
--- a/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/MetadataTransactionContext.java
+++ b/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/MetadataTransactionContext.java
@@ -190,6 +190,8 @@
 
     public void dropFullTextFilter(DataverseName dataverseName, String filterName) {
         AbstractFullTextFilterDescriptor filter = new AbstractFullTextFilterDescriptor(dataverseName,
filterName) {
+            private static final long serialVersionUID = -8222222581298765902L;
+
             @Override
             public FullTextFilterType getFilterType() {
                 return null;
diff --git a/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/FullTextConfigMetadataEntity.java
b/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/FullTextConfigMetadataEntity.java
index 3ee7106..9fba70a 100644
--- a/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/FullTextConfigMetadataEntity.java
+++ b/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/FullTextConfigMetadataEntity.java
@@ -24,6 +24,8 @@
 import org.apache.asterix.runtime.fulltext.FullTextConfigDescriptor;
 
 public class FullTextConfigMetadataEntity implements IMetadataEntity<FullTextConfigMetadataEntity>
{
+    private static final long serialVersionUID = -8257829613982301855L;
+
     private final FullTextConfigDescriptor fullTextConfig;
 
     public FullTextConfigMetadataEntity(FullTextConfigDescriptor config) {
diff --git a/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/FullTextFilterMetadataEntity.java
b/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/FullTextFilterMetadataEntity.java
index eb4c7bc..ca7184d 100644
--- a/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/FullTextFilterMetadataEntity.java
+++ b/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/FullTextFilterMetadataEntity.java
@@ -24,6 +24,8 @@
 import org.apache.asterix.runtime.fulltext.AbstractFullTextFilterDescriptor;
 
 public class FullTextFilterMetadataEntity implements IMetadataEntity<FullTextFilterMetadataEntity>
{
+    private static final long serialVersionUID = 1442247723350731174L;
+
     private final AbstractFullTextFilterDescriptor filterDescriptor;
 
     public FullTextFilterMetadataEntity(AbstractFullTextFilterDescriptor filterDescriptor)
{
diff --git a/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/fulltext/AbstractFullTextFilterDescriptor.java
b/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/fulltext/AbstractFullTextFilterDescriptor.java
index 0179c34..c61cdd3 100644
--- a/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/fulltext/AbstractFullTextFilterDescriptor.java
+++ b/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/fulltext/AbstractFullTextFilterDescriptor.java
@@ -22,6 +22,8 @@
 import org.apache.asterix.common.metadata.DataverseName;
 
 public abstract class AbstractFullTextFilterDescriptor implements IFullTextFilterDescriptor
{
+    private static final long serialVersionUID = 6884215200256734408L;
+
     protected final DataverseName dataverseName;
     protected final String name;
 
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/fulltext/AbstractFullTextFilterEvaluatorFactory.java
b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/fulltext/AbstractFullTextFilterEvaluatorFactory.java
index 4fa27ca..76a20b7 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/fulltext/AbstractFullTextFilterEvaluatorFactory.java
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/fulltext/AbstractFullTextFilterEvaluatorFactory.java
@@ -22,6 +22,8 @@
 import com.fasterxml.jackson.databind.ObjectMapper;
 
 public abstract class AbstractFullTextFilterEvaluatorFactory implements IFullTextFilterEvaluatorFactory
{
+    private static final long serialVersionUID = 3535472161323149351L;
+
     protected final String name;
     protected final FullTextFilterType type;
     protected static final ObjectMapper OBJECT_MAPPER = new ObjectMapper();

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/12163
To unsubscribe, or for help writing mail filters, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Change-Id: Ia547e59692800219d8fb63da04f5d7ec323d456c
Gerrit-Change-Number: 12163
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Blow <mblow@apache.org>
Gerrit-MessageType: newchange

Mime
View raw message