Resolves and creates types associated with a schema and/or name. You should generally use the shared Instance to take advantage caching.
More...
|
struct | NameCtorKey |
| Obsolete: This will be removed from the public API in a future version. More...
|
|
Resolves and creates types associated with a schema and/or name. You should generally use the shared Instance to take advantage caching.
◆ ObjectCreator()
Avro.Specific.ObjectCreator.ObjectCreator |
( |
| ) |
|
|
inline |
◆ CtorDelegate()
delegate object Avro.Specific.ObjectCreator.CtorDelegate |
( |
| ) |
|
Obsolete: This will be removed from the public API in a future version.
- Returns
- Obsolete
◆ GetType() [1/2]
Type Avro.Specific.ObjectCreator.GetType |
( |
Schema |
schema | ) |
|
|
inline |
Gets the type for the specified schema
- Parameters
-
- Returns
- Exceptions
-
◆ GetType() [2/2]
Type Avro.Specific.ObjectCreator.GetType |
( |
string |
name, |
|
|
Schema.Type |
schemaType |
|
) |
| |
|
inline |
Gets the type of the specified type name
- Parameters
-
name | name of the object to get type of |
schemaType | schema type for the object |
- Returns
- Type
- Exceptions
-
◆ New()
object Avro.Specific.ObjectCreator.New |
( |
string |
name, |
|
|
Schema.Type |
schemaType |
|
) |
| |
|
inline |
Creates new instance of the given type
- Parameters
-
name | fully qualified name of the type |
schemaType | type of schema |
- Returns
- new object of the given type
- Exceptions
-
◆ Instance
The documentation for this class was generated from the following file:
- src/apache/main/Specific/ObjectCreator.cs