Skip to content

Commit d4ba749

Browse files
authored
Merge pull request #765 from ydb-platform/is-column-table
* Added `scheme.Entry.IsColumnTable()` helper
2 parents 6c5476a + 477c6ff commit d4ba749

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Added `scheme.Entry.IsColumnTable()` helper
2+
13
## v3.47.4
24
* Disabled check of node exists with `balancers.SingleConn`
35
* Improved code with `go-critic` linter

scheme/scheme.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ func (e *Entry) IsTable() bool {
8080
return e.Type == EntryTable
8181
}
8282

83+
func (e *Entry) IsColumnTable() bool {
84+
return e.Type == EntryColumnTable
85+
}
86+
8387
func (e *Entry) IsPersQueueGroup() bool {
8488
return e.Type == EntryPersQueueGroup
8589
}

0 commit comments

Comments
 (0)