wernerdv commented on code in PR #13254:
URL: https://github.com/apache/ignite/pull/13254#discussion_r3558413930


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheJoinInfo.java:
##########
@@ -0,0 +1,128 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.ignite.internal.processors.cache;
+
+import org.apache.ignite.IgniteCheckedException;
+import org.apache.ignite.internal.MarshallableMessage;
+import org.apache.ignite.internal.Order;
+import org.apache.ignite.internal.util.tostring.GridToStringInclude;
+import org.apache.ignite.internal.util.typedef.internal.S;
+import org.apache.ignite.internal.util.typedef.internal.U;
+import org.apache.ignite.marshaller.Marshaller;
+
+/** */
+public class CacheJoinInfo implements MarshallableMessage {
+    /** */
+    @GridToStringInclude
+    private StoredCacheData cacheData;
+
+    /** */
+    @Order(0)
+    byte[] cacheDataBytes;
+
+    /** */
+    @Order(1)
+    @GridToStringInclude
+    CacheType cacheType;
+
+    /** */
+    @Order(2)
+    @GridToStringInclude
+    boolean sql;
+
+    /** Flags added for future usage. */
+    @Order(3)
+    long flags;
+
+    /** Statically configured flag. */
+    @Order(4)
+    boolean staticallyConfigured;
+
+    /** */
+    public CacheJoinInfo() { }
+
+    /**
+     * @param cacheData Cache data.
+     * @param cacheType Cache type.
+     * @param sql SQL flag - {@code true} if cache was created with {@code 
CREATE TABLE}.
+     * @param flags Flags (for future usage).
+     * @param staticallyConfigured {@code true} if it was configured by static 
config and {@code false} otherwise.
+     */
+    public CacheJoinInfo(StoredCacheData cacheData, CacheType cacheType, 
boolean sql, long flags,
+        boolean staticallyConfigured) {
+        this.cacheData = cacheData;
+        this.cacheType = cacheType;
+        this.sql = sql;
+        this.flags = flags;
+        this.staticallyConfigured = staticallyConfigured;
+    }
+
+    /**
+     * @return Cache data.
+     */
+    public StoredCacheData cacheData() {
+        return cacheData;
+    }
+
+    /**
+     * @return Cache type.
+     */
+    public CacheType cacheType() {
+        return cacheType;
+    }
+
+    /**
+     * @return SQL flag - {@code true} if cache was created with {@code CREATE 
TABLE}.
+     */
+    public boolean sql() {
+        return sql;
+    }
+
+    /**
+     * @return {@code true} if it was configured by static config and {@code 
false} otherwise.
+     */
+    public boolean isStaticallyConfigured() {
+        return staticallyConfigured;
+    }
+
+    /**
+     * @return Long which bits represent some flags.
+     */
+    public long getFlags() {
+        return flags;
+    }
+
+    /**
+     * {@inheritDoc}
+     */

Review Comment:
   ```suggestion
       /** {@inheritDoc} */
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to