Show / Hide Table of Contents

Class ArowSerializer

Facade for performing Arow serilalization. Arow format is purposely designed for "[a]daptable [row]"/version tolerant serialization that eschews creating extra copies and object instances. The serializer is used in conjunction with cl compiler that generates type-specific static serializer cores for every type that supports the format

Inheritance
System.Object
ArowSerializer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.Serialization.Arow
Assembly: NFX.dll
Syntax
public static class ArowSerializer

Fields

AROW_TARGET

Declaration
public const string AROW_TARGET = "AROW-SERIALIZER"
Field Value
Type Description
System.String

Methods

Deserialize(TypedRow, ReadingStreamer, Boolean)

Declaration
public static void Deserialize(TypedRow row, ReadingStreamer streamer, bool header = true)
Parameters
Type Name Description
TypedRow row
ReadingStreamer streamer
System.Boolean header

IsRowTypeSupported(Type)

Declaration
public static bool IsRowTypeSupported(Type tRow)
Parameters
Type Name Description
System.Type tRow
Returns
Type Description
System.Boolean

Register(Type, ITypeSerializationCore)

Registers ITypeSerializationCore so it can be used globaly to serialize TypedRows in Arow format

Declaration
public static bool Register(Type tRow, ITypeSerializationCore core)
Parameters
Type Name Description
System.Type tRow
ITypeSerializationCore core
Returns
Type Description
System.Boolean

RegisterTypeSerializationCores(Assembly)

Declaration
public static void RegisterTypeSerializationCores(Assembly asm)
Parameters
Type Name Description
System.Reflection.Assembly asm

Serialize(TypedRow, WritingStreamer, Boolean)

Declaration
public static void Serialize(TypedRow row, WritingStreamer streamer, bool header = true)
Parameters
Type Name Description
TypedRow row
WritingStreamer streamer
System.Boolean header

TryDeserialize(TypedRow, ReadingStreamer, Boolean)

Declaration
public static bool TryDeserialize(TypedRow row, ReadingStreamer streamer, bool header = true)
Parameters
Type Name Description
TypedRow row
ReadingStreamer streamer
System.Boolean header
Returns
Type Description
System.Boolean
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX