ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] korlov42 commented on a change in pull request #6456: IGNITE-11470: Views don't show in Dbeaver
Date Fri, 23 Aug 2019 08:57:56 GMT
korlov42 commented on a change in pull request #6456: IGNITE-11470: Views don't show in Dbeaver
URL: https://github.com/apache/ignite/pull/6456#discussion_r316664105
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/processors/query/ColumnInformation.java
 ##########
 @@ -0,0 +1,182 @@
+/*
+ * 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.query;
+
+import org.apache.ignite.internal.util.typedef.F;
+import org.apache.ignite.internal.util.typedef.internal.S;
+
+/**
+ * Information about table column.
+ */
+public class ColumnInformation {
+    /** */
+    private final int ordinalPosition;
+
+    /** */
+    private final String schemaName;
+
+    /** */
+    private final String tblName;
+
+    /** */
+    private final String colName;
+
+    /** */
+    private final Class<?> fieldCls;
+
+    /** */
+    private final boolean nullable;
+
+    /** */
+    private final Object dfltVal;
+
+    /** */
+    private final int precision;
+
+    /** */
+    private final int scale;
+
+    /** */
+    private final boolean affinityCol;
+
+
+    /**
+     * @param ordinalPosition Ordinal column position.
+     * @param schemaName Schema name.
+     * @param tblName Table name.
+     * @param colName Column name.
+     * @param fieldCls Field class.
+     * @param nullable Nullable.
+     * @param dfltVal Default value.
+     * @param precision Precision for for a column or -1 if not applicable.
+     * @param scale Scale  forfor a column or -1 if not applicable.
 
 Review comment:
   extra "for" and space.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message