2 writes to _host
Microsoft.ML.Parquet (2)
20 references to _host
Microsoft.ML.Parquet (20)
ParquetLoader.cs (20)
137_host.CheckValue(args, nameof(args));
138_host.CheckValue(stream, nameof(stream));
139_host.CheckParam(stream.CanRead, nameof(stream), "input stream must be readable");
140_host.CheckParam(stream.CanSeek, nameof(stream), "input stream must be seekable");
141_host.CheckParam(stream.Position == 0, nameof(stream), "input stream must be at head");
143using (var ch = _host.Start("Initializing host"))
172Schema = CreateSchema(_host, _columnsLoaded);
180_host.AssertValue(ctx);
181_host.AssertValue(files);
196throw _host.ExceptDecode();
198var loader = new BinaryLoader(_host, new BinaryLoader.Arguments(), strm);
231Schema = CreateSchema(_host, _columnsLoaded);
235throw _host.Except("Parquet loader must be created with one file");
304throw _host.ExceptNotSupp("Encountered unknown Parquet field type(Currently recognizes data, map, list, and struct).");
396_host.CheckValueOrNull(rand);
402_host.CheckValueOrNull(rand);
421var noRows = new EmptyDataView(_host, Schema);
424var saver = new BinarySaver(_host, saverArgs);
449: base(parent._host)
473throw _loader._host.ExceptParam(nameof(Arguments.ColumnChunkReadSize), "Error due to too many blocks. Try increasing block size.");