MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / SlidingWindow

Method SlidingWindow

src/jrd/recsrc/WindowedStream.cpp:1100–1112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1098// ------------------------------
1099
1100SlidingWindow::SlidingWindow(thread_db* aTdbb, const BaseBufferedStream* aStream,
1101 Request* request,
1102 FB_UINT64 aPartitionStart, FB_UINT64 aPartitionEnd,
1103 FB_UINT64 aFrameStart, FB_UINT64 aFrameEnd)
1104 : tdbb(aTdbb), // Note: instantiate the class only as local variable
1105 stream(aStream),
1106 partitionStart(aPartitionStart),
1107 partitionEnd(aPartitionEnd),
1108 frameStart(aFrameStart),
1109 frameEnd(aFrameEnd)
1110{
1111 savedPosition = stream->getPosition(request) - 1;
1112}
1113
1114SlidingWindow::~SlidingWindow()
1115{

Callers

nothing calls this directly

Calls 1

getPositionMethod · 0.45

Tested by

no test coverage detected