PrimitiveTypeSchema Class
Note
A newer version of HDInsight .NET SDK is available that uses the Azure Resource Manager (ARM) approach. You are encouraged to use the newer ARM-based version of HDInsight .NET SDK going forward. For instructions on how to use the new HDInsight .NET SDK to create a cluster, see Create HDInsight Linux clusters using .NET SDK. For instructions on how to submit jobs using the new .NET SDK and other approaches, see Submit jobs to an HDInsight cluster. The HDInsight SDK reference for the newer version is available at HDInsight .NET SDK Reference.
Represents a schema for primitive types.
Namespace: Microsoft.Hadoop.Avro.Schema
Assembly: Microsoft.Hadoop.Avro (in Microsoft.Hadoop.Avro.dll)
Inheritance Hierarchy
System.Object
Microsoft.Hadoop.Avro.Schema.Schema
Microsoft.Hadoop.Avro.Schema.TypeSchema
Microsoft.Hadoop.Avro.Schema.PrimitiveTypeSchema
Microsoft.Hadoop.Avro.Schema.BooleanSchema
Microsoft.Hadoop.Avro.Schema.BytesSchema
Microsoft.Hadoop.Avro.Schema.DoubleSchema
Microsoft.Hadoop.Avro.Schema.FloatSchema
Microsoft.Hadoop.Avro.Schema.IntSchema
Microsoft.Hadoop.Avro.Schema.LongSchema
Microsoft.Hadoop.Avro.Schema.NullSchema
Microsoft.Hadoop.Avro.Schema.StringSchema
Syntax
public abstract class PrimitiveTypeSchema : TypeSchema
public ref class PrimitiveTypeSchema abstract : TypeSchema
[<AbstractClass>]
type PrimitiveTypeSchema =
class
inherit TypeSchema
end
Public MustInherit Class PrimitiveTypeSchema
Inherits TypeSchema
Constructors
Name | Description | |
---|---|---|
PrimitiveTypeSchema(Type, Dictionary<String, String>) | Initializes a new instance of the PrimitiveTypeSchema class. |
Properties
Name | Description | |
---|---|---|
Attributes | Gets the attributes.(Inherited from Schema.) |
|
RuntimeType | Gets the runtime type.(Inherited from TypeSchema.) |
Methods
Name | Description | |
---|---|---|
AddAttribute(String, String) | Adds the attribute.(Inherited from Schema.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | Returns a String that represents this instance in JSON format.(Inherited from Schema.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Hadoop.Avro.Schema Namespace
Return to top