@@ -544,8 +544,8 @@ namespace NTable {
544544 return Exhausted ();
545545 };
546546 case EReady::Data: {
547- Y_DEBUG_ABORT_UNLESS (Index.HasKeyCells (), " Non-first page is expected to have key cells" );
548- if (Index.HasKeyCells ()) {
547+ Y_DEBUG_ABORT_UNLESS (Index.GetKeyCellsCount (), " Non-first page is expected to have key cells" );
548+ if (Index.GetKeyCellsCount ()) {
549549 if (!checkIndex ()) {
550550 // First row for the next RowId
551551 MaxVersion = TRowVersion::Max ();
@@ -632,8 +632,8 @@ namespace NTable {
632632 }
633633
634634 // We need exact match on rowId, bail on larger values
635- Y_DEBUG_ABORT_UNLESS (Index.GetRowId () == 0 || Index.HasKeyCells (), " Non-first page is expected to have key cells" );
636- if (Index.HasKeyCells ()) {
635+ Y_DEBUG_ABORT_UNLESS (Index.GetRowId () == 0 || Index.GetKeyCellsCount (), " Non-first page is expected to have key cells" );
636+ if (Index.GetKeyCellsCount ()) {
637637 TRowId indexRowId = Index.GetKeyCell (0 ).AsValue <TRowId>();
638638 if (rowId < indexRowId) {
639639 // We cannot compute MaxVersion anyway as indexRowId row may be presented on the previous page
@@ -675,8 +675,8 @@ namespace NTable {
675675 return Terminate (ready);
676676 }
677677
678- Y_DEBUG_ABORT_UNLESS (Index.HasKeyCells (), " Non-first page is expected to have key cells" );
679- if (Y_LIKELY (Index.HasKeyCells ())) {
678+ Y_DEBUG_ABORT_UNLESS (Index.GetKeyCellsCount (), " Non-first page is expected to have key cells" );
679+ if (Y_LIKELY (Index.GetKeyCellsCount ())) {
680680 if (!checkIndex ()) {
681681 // First row for the nextRowId
682682 MaxVersion = TRowVersion::Max ();
@@ -706,7 +706,7 @@ namespace NTable {
706706 Data = Page->Begin ();
707707 Y_ABORT_UNLESS (Data);
708708
709- if (Index.HasKeyCells ()) {
709+ if (Index.GetKeyCellsCount ()) {
710710 // Must have rowId as we have checked index
711711 Y_ABORT_UNLESS (checkData () && RowVersion <= rowVersion, " Index and Data are out of sync" );
712712
0 commit comments