Class SchemaName
Class to store schema name, namespace and enclosing namespace
Inheritance
System.Object
SchemaName
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Avro
Assembly: Avro.dll
Syntax
public class SchemaName
Constructors
| Improve this Doc View SourceSchemaName(String, String, String)
Constructor for SchemaName
Declaration
public SchemaName(string name, string space, string encspace)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | name of the schema |
System.String | space | namespace of the schema |
System.String | encspace | enclosing namespace of the schema |
Properties
| Improve this Doc View SourceEncSpace
Namespace from the most tightly enclosing schema
Declaration
public string EncSpace { get; }
Property Value
Type | Description |
---|---|
System.String |
Fullname
Namespace.Name of the schema
Declaration
public string Fullname { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Name of the schema
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Namespace
Namespace of the schema
Declaration
public string Namespace { get; }
Property Value
Type | Description |
---|---|
System.String |
Space
Namespace specified within the schema
Declaration
public string Space { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceEquals(Object)
Compares two schema names
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | SchameName object to compare against this object |
Returns
Type | Description |
---|---|
System.Boolean | true or false |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
ToString()
Returns the full name of the schema
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()