You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.1 KiB
1.1 KiB
Segment Overview
There are currently two types of Segments
- Growing segment, dynamic insert is allowed, but can not load index for fast retrieving
- Sealed segment, dynamic insert is disabled, loading vector index is supported
Both Segment types share the same interface, based on SegmentInterface
, External callers only need to care about the behavior of the following interface as function declarations and corresponding constructor:
SegmentInterface
SegmentGrowing
&CreateGrowingSegment
SegmentSealed
&CreateSealedSegment
Other internal functions are hidden as implementation details in the following classes:
SegmentInternalInterface
SegmentGrowingImpl
SegmentSealedImpl
In principle, the reusable code logic of growing / sealed is written into the 'SegmentInternalInterface' as far as possible. The different parts of the two classes contain more different parts
See more details about segments at: