Module: Avro
- Defined in:
- lib/avro/io.rb,
lib/avro.rb,
lib/avro/schema.rb,
lib/avro/protocol.rb,
lib/avro/data_file.rb,
lib/avro/logical_types.rb,
lib/avro/schema_validator.rb,
lib/avro/schema_compatibility.rb,
lib/avro/schema_normalization.rb
Overview
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
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.
Defined Under Namespace
Modules: DataFile, IO, IPC, LogicalTypes, Name, SchemaCompatibility Classes: AvroError, AvroTypeError, Protocol, Schema, SchemaNormalization, SchemaParseError, SchemaValidator, UnknownSchemaError
Constant Summary collapse
- VERSION =
File.read("#{__dir__}/avro/VERSION.txt").freeze
Class Attribute Summary collapse
- .disable_enum_symbol_validation ⇒ Object
- .disable_field_default_validation ⇒ Object
- .disable_schema_name_validation ⇒ Object
Class Attribute Details
.disable_enum_symbol_validation ⇒ Object
42 43 44 45 |
# File 'lib/avro.rb', line 42 def disable_enum_symbol_validation @disable_enum_symbol_validation ||= ENV.fetch('AVRO_DISABLE_ENUM_SYMBOL_VALIDATION', '') != '' end |
.disable_field_default_validation ⇒ Object
47 48 49 50 |
# File 'lib/avro.rb', line 47 def disable_field_default_validation @disable_field_default_validation ||= ENV.fetch('AVRO_DISABLE_FIELD_DEFAULT_VALIDATION', '') != '' end |
.disable_schema_name_validation ⇒ Object
52 53 54 55 |
# File 'lib/avro.rb', line 52 def disable_schema_name_validation @disable_schema_name_validation ||= ENV.fetch('AVRO_DISABLE_SCHEMA_NAME_VALIDATION', '') != '' end |