aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/apache/avro/api/SchemaResolution.hh
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:08 +0300
commit4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch)
tree506dac10f5df94fab310584ee51b24fc5a081c22 /contrib/libs/apache/avro/api/SchemaResolution.hh
parent2d37894b1b037cf24231090eda8589bbb44fb6fc (diff)
downloadydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/apache/avro/api/SchemaResolution.hh')
-rw-r--r--contrib/libs/apache/avro/api/SchemaResolution.hh110
1 files changed, 55 insertions, 55 deletions
diff --git a/contrib/libs/apache/avro/api/SchemaResolution.hh b/contrib/libs/apache/avro/api/SchemaResolution.hh
index 765347d9de..c3a39e1237 100644
--- a/contrib/libs/apache/avro/api/SchemaResolution.hh
+++ b/contrib/libs/apache/avro/api/SchemaResolution.hh
@@ -1,55 +1,55 @@
-/*
- * 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
- *
- * https://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.
- */
-
-#ifndef avro_SchemaResolution_hh__
-#define avro_SchemaResolution_hh__
-
-#include "Config.hh"
-
-namespace avro {
-
-
-enum SchemaResolution {
-
- /// The schemas definitely do not match
-
- RESOLVE_NO_MATCH,
-
- /// The schemas match at a cursory level
- ///
- /// For records and enums, this means the name is the same, but it does not
- /// necessarily mean that every symbol or field is an exact match.
-
- RESOLVE_MATCH,
-
- /// For primitives, the matching may occur if the type is promotable. This means that the
- /// writer matches reader if the writer's type is promoted the specified type.
-
- //@{
-
- RESOLVE_PROMOTABLE_TO_LONG,
- RESOLVE_PROMOTABLE_TO_FLOAT,
- RESOLVE_PROMOTABLE_TO_DOUBLE,
-
- //@}
-
-};
-
-} // namespace avro
-
-#endif
+/*
+ * 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
+ *
+ * https://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.
+ */
+
+#ifndef avro_SchemaResolution_hh__
+#define avro_SchemaResolution_hh__
+
+#include "Config.hh"
+
+namespace avro {
+
+
+enum SchemaResolution {
+
+ /// The schemas definitely do not match
+
+ RESOLVE_NO_MATCH,
+
+ /// The schemas match at a cursory level
+ ///
+ /// For records and enums, this means the name is the same, but it does not
+ /// necessarily mean that every symbol or field is an exact match.
+
+ RESOLVE_MATCH,
+
+ /// For primitives, the matching may occur if the type is promotable. This means that the
+ /// writer matches reader if the writer's type is promoted the specified type.
+
+ //@{
+
+ RESOLVE_PROMOTABLE_TO_LONG,
+ RESOLVE_PROMOTABLE_TO_FLOAT,
+ RESOLVE_PROMOTABLE_TO_DOUBLE,
+
+ //@}
+
+};
+
+} // namespace avro
+
+#endif