A class that contains a list of named schemas. This is used when reading or writing a schema/protocol. This prevents reading and writing of duplicate schema definitions within a protocol or schema file
More...
A class that contains a list of named schemas. This is used when reading or writing a schema/protocol. This prevents reading and writing of duplicate schema definitions within a protocol or schema file
◆ SchemaNames()
Avro.SchemaNames.SchemaNames |
( |
| ) |
|
|
inline |
◆ Add() [1/2]
Adds a named schema to the list
- Parameters
-
- Returns
- true if schema was added to the list, false if schema is already in the list
◆ Add() [2/2]
Adds a schema name to the map if it doesn't exist yet
- Parameters
-
name | schema name |
schema | schema object |
- Returns
- true if schema was added to the list, false if schema is already in the list
◆ Contains()
Checks if given name is in the map
- Parameters
-
- Returns
- true or false
◆ GetEnumerator()
Returns the enumerator for the map
- Returns
◆ TryGetValue()
bool Avro.SchemaNames.TryGetValue |
( |
string |
name, |
|
|
string |
space, |
|
|
string |
encspace, |
|
|
string |
documentation, |
|
|
out NamedSchema |
schema |
|
) |
| |
|
inline |
Tries to get the value for the given name fields
- Parameters
-
name | name of the schema |
space | namespace of the schema |
encspace | enclosing namespace of the schema |
documentation | documentation for the schema |
schema | schema object found |
- Returns
- true if name is found in the map, false otherwise
◆ Names
Map of schema name and named schema objects
The documentation for this class was generated from the following file:
- src/apache/main/Schema/SchemaName.cs