Avro C#
 All Classes Namespaces Functions Variables Enumerations Properties
Public Member Functions | Protected Member Functions | Properties
Avro.ArraySchema Class Reference

Class for array type schemas. More...

Inheritance diagram for Avro.ArraySchema:
Avro.UnnamedSchema Avro.Schema

List of all members.

Public Member Functions

override bool CanRead (Schema writerSchema)
 Checks if this schema can read data written by the given schema. Used for decoding data.
override bool Equals (object obj)
 Function to compare equality of two array schemas.
override int GetHashCode ()
 Hashcode function.

Protected Member Functions

internal override void WriteJsonFields (Newtonsoft.Json.JsonTextWriter writer, SchemaNames names, string encspace)
 Writes the array schema in JSON format.

Properties

Schema ItemSchema [get, set]
 Schema for the array 'type' attribute.

Detailed Description

Class for array type schemas.


Member Function Documentation

override bool Avro.ArraySchema.CanRead ( Schema  writerSchema) [inline, virtual]

Checks if this schema can read data written by the given schema. Used for decoding data.

Parameters:
writerSchemawriter schema
Returns:
true if this and writer schema are compatible based on the AVRO specification, false otherwise

Reimplemented from Avro.Schema.

override bool Avro.ArraySchema.Equals ( object  obj) [inline]

Function to compare equality of two array schemas.

Parameters:
objother array schema
Returns:
true two schemas are equal, false otherwise
override int Avro.ArraySchema.GetHashCode ( ) [inline]

Hashcode function.

Returns:

Reimplemented from Avro.Schema.

internal override void Avro.ArraySchema.WriteJsonFields ( Newtonsoft.Json.JsonTextWriter  writer,
SchemaNames  names,
string  encspace 
) [inline, protected]

Writes the array schema in JSON format.

Parameters:
writerJSON writer
nameslist of named schemas already written
encspaceenclosing namespace

Property Documentation

Schema for the array 'type' attribute.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties