@@ -367,7 +367,7 @@ private static VersionInfo GetVersionInfo()
367
367
// to use the cursors from the schema view if convenient to do so.
368
368
public Schema Schema { get { return _schemaEntry . GetView ( ) . Schema ; } }
369
369
370
- public ITransposeSchema TransposeSchema { get { return _schema ; } }
370
+ ITransposeSchema ITransposeDataView . TransposeSchema { get { return _schema ; } }
371
371
372
372
/// <summary>
373
373
/// Whether the master schema sub-IDV has the actual data.
@@ -698,7 +698,7 @@ public SlotCursor GetSlotCursor(int col)
698
698
_host . CheckParam ( 0 <= col && col < _header . ColumnCount , nameof ( col ) ) ;
699
699
// We don't want the type error, if there is one, to be handled by the get-getter, because
700
700
// at the point we've gotten the interior cursor, but not yet constructed the slot cursor.
701
- ColumnType cursorType = TransposeSchema . GetSlotType ( col ) . ItemType ;
701
+ ColumnType cursorType = _schema . GetSlotType ( col ) . ItemType ;
702
702
RowCursor inputCursor = view . GetRowCursor ( c => true ) ;
703
703
try
704
704
{
@@ -783,8 +783,8 @@ private Transposer EnsureAndGetTransposer(int col)
783
783
_host . AssertValue ( view ) ;
784
784
_host . Assert ( view . Schema . Count == 1 ) ;
785
785
var trans = _colTransposers [ col ] = Transposer . Create ( _host , view , false , new int [ ] { 0 } ) ;
786
- _host . Assert ( trans . TransposeSchema . ColumnCount == 1 ) ;
787
- _host . Assert ( trans . TransposeSchema . GetSlotType ( 0 ) . ValueCount == Schema [ col ] . Type . ValueCount ) ;
786
+ _host . Assert ( ( ( ITransposeDataView ) trans ) . TransposeSchema . ColumnCount == 1 ) ;
787
+ _host . Assert ( ( ( ITransposeDataView ) trans ) . TransposeSchema . GetSlotType ( 0 ) . ValueCount == Schema [ col ] . Type . ValueCount ) ;
788
788
}
789
789
}
790
790
}
@@ -845,7 +845,7 @@ private void Init(int col)
845
845
Ch . Assert ( 0 <= col && col < Schema . Count ) ;
846
846
Ch . Assert ( _colToActivesIndex [ col ] >= 0 ) ;
847
847
var type = Schema [ col ] . Type ;
848
- Ch . Assert ( _parent . TransposeSchema . GetSlotType ( col ) . ValueCount == _parent . _header . RowCount ) ;
848
+ Ch . Assert ( ( ( ITransposeDataView ) _parent ) . TransposeSchema . GetSlotType ( col ) . ValueCount == _parent . _header . RowCount ) ;
849
849
Action < int > func = InitOne < int > ;
850
850
if ( type . IsVector )
851
851
func = InitVec < int > ;
0 commit comments