1 interface inheriting from IValueCodec
Microsoft.ML.Data (1)
DataLoadSave\Binary\IValueCodec.cs (1)
48internal interface IValueCodec<T> : IValueCodec
61 references to IValueCodec
Microsoft.ML.Data (61)
DataLoadSave\Binary\BinaryLoader.cs (11)
72public readonly IValueCodec Codec; 139public TableOfContentsEntry(BinaryLoader parent, int index, string name, IValueCodec codec, 339IValueCodec codec; 453public abstract IValueCodec Codec { get; } 496public static MetadataTableOfContentsEntry Create(BinaryLoader parent, string kind, IValueCodec codec, 525public static MetadataTableOfContentsEntry CreateDead(BinaryLoader parent, string kind, IValueCodec codec, 539private readonly IValueCodec _codec; 541public override IValueCodec Codec { get { return _codec; } } 543public ImplDead(BinaryLoader parent, string kind, IValueCodec codec, 592public override IValueCodec Codec { get { return _codec; } } 1105IValueCodec codec;
DataLoadSave\Binary\BinarySaver.cs (17)
31private static readonly FuncInstanceMethodInfo1<BinarySaver, Stream, IValueCodec, object> _loadValueMethodInfo 32= FuncInstanceMethodInfo1<BinarySaver, Stream, IValueCodec, object>.Create(target => target.LoadValue<int>); 73public readonly IValueCodec Codec; 75public ColumnCodec(int sourceIndex, IValueCodec codec) 274var metadataInfos = new List<Tuple<string, IValueCodec, CompressionKind>>(); 289IValueCodec codec = (IValueCodec)methInfo.MakeGenericMethod(metaColumn.Type.RawType).Invoke(this, args); 348private delegate IValueCodec WriteMetadataCoreDelegate(Stream stream, DataViewSchema schema, int col, string kind, DataViewType type, out CompressionKind compression); 350private IValueCodec WriteMetadataCore<T>(Stream stream, DataViewSchema schema, int col, string kind, DataViewType type, out CompressionKind compressionKind) 353IValueCodec generalCodec; 639IValueCodec codec; 719IValueCodec codec; 810IValueCodec codec; 833IValueCodec codec; 853IValueCodec codec; 886IValueCodec codec; 902private object LoadValue<T>(Stream stream, IValueCodec codec)
DataLoadSave\Binary\CodecFactory.cs (8)
21private readonly Dictionary<Type, IValueCodec> _simpleCodecTypeMap; 31private delegate bool GetCodecFromStreamDelegate(Stream definitionStream, out IValueCodec codec); 33private delegate bool GetCodecFromTypeDelegate(DataViewType type, out IValueCodec codec); 46_simpleCodecTypeMap = new Dictionary<Type, IValueCodec>(); 100public bool TryGetCodec(DataViewType type, out IValueCodec codec) 116public int WriteCodec(Stream definitionStream, IValueCodec codec) 154public bool TryReadCodec(Stream definitionStream, out IValueCodec codec) 169codec = default(IValueCodec);
DataLoadSave\Binary\Codecs.cs (18)
130public bool GetCodec(Stream definitionStream, out IValueCodec codec) 1118private bool GetVBufferCodec(Stream definitionStream, out IValueCodec codec) 1121IValueCodec innerCodec; 1124codec = default(IValueCodec); 1152codec = (IValueCodec)Activator.CreateInstance(codecType, this, type, innerCodec); 1156private bool GetVBufferCodec(VectorDataViewType type, out IValueCodec codec) 1160IValueCodec innerCodec; 1163codec = default(IValueCodec); 1168codec = (IValueCodec)Activator.CreateInstance(codecType, this, type, innerCodec); 1231private bool GetKeyCodecOld(Stream definitionStream, out IValueCodec codec) 1234IValueCodec innerCodec; 1265codec = (IValueCodec)Activator.CreateInstance(codecType, this, type, innerCodec); 1328private bool GetKeyCodec(Stream definitionStream, out IValueCodec codec) 1331IValueCodec innerCodec; 1353codec = (IValueCodec)Activator.CreateInstance(codecType, this, type, innerCodec); 1357private bool GetKeyCodec(DataViewType type, out IValueCodec codec) 1362IValueCodec innerCodec; 1370codec = (IValueCodec)Activator.CreateInstance(codecType, this, type, innerCodec);
DataLoadSave\Binary\IValueCodec.cs (2)
89/// be spawned from an <seealso cref="IValueCodec"/>, its write methods called some 114/// spawned form an <seealso cref="IValueCodec"/>. Its read methods will be called some
Transforms\InvertHashUtils.cs (2)
353IValueCodec codec; 392IValueCodec codec;
Transforms\ValueToKeyMappingTransformerImpl.cs (3)
530IValueCodec codec; 543private static TermMap LoadCodecCore<T>(ModelLoadContext ctx, IExceptionContext ectx, IValueCodec codec, int count) 700IValueCodec codec;