MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / PartitionSize

Method PartitionSize

pkg/sql/sem/tree/window_funcs.go:480–482  ·  view source on GitHub ↗

PartitionSize returns the number of rows in the current partition.

()

Source from the content-addressed store, hash-verified

478
479// PartitionSize returns the number of rows in the current partition.
480func (wfr *WindowFrameRun) PartitionSize() int {
481 return wfr.Rows.Len()
482}
483
484// unboundedFollowing returns the index of the "first row beyond" the partition
485// so that current frame contains all the rows till the end of the partition.

Callers 5

FrameStartIdxMethod · 0.95
FrameEndIdxMethod · 0.95
unboundedFollowingMethod · 0.95
InitMethod · 0.80
UpdateMethod · 0.80

Calls 1

LenMethod · 0.65

Tested by

no test coverage detected