Documentation
¶
Index ¶
- func BuildDeltaLogPath(rootPath string, collectionID, partitionID, segmentID, logID typeutil.UniqueID) string
- func BuildInsertLogPath(rootPath string, ...) string
- func BuildSegmentIndexFilePath(rootPath string, buildID, indexVersion, partID, segID int64, fileKey string) string
- func BuildSegmentIndexFilePaths(rootPath string, buildID, indexVersion, partID, segID int64, fileKeys []string) []string
- func BuildStatsLogPath(rootPath string, ...) string
- func GetSegmentIDFromDeltaLogPath(logPath string) typeutil.UniqueID
- func GetSegmentIDFromInsertLogPath(logPath string) typeutil.UniqueID
- func GetSegmentIDFromStatsLogPath(logPath string) typeutil.UniqueID
- func JoinIDPath(ids ...typeutil.UniqueID) string
- func NewDynChannelMapper() *dynamicChannelMapper
- func ParseInsertLogPath(path string) (collectionID, partitionID, segmentID, fieldID, logID typeutil.UniqueID, ...)
- type Channel
- type ChannelMapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDeltaLogPath ¶
func BuildInsertLogPath ¶
func BuildStatsLogPath ¶
func JoinIDPath ¶
JoinIDPath joins ids to path format.
func NewDynChannelMapper ¶
func NewDynChannelMapper() *dynamicChannelMapper
Types ¶
type Channel ¶
type Channel struct { ChannelMapper // contains filtered or unexported fields }
Channel struct maintains the channel information
func NewChannel ¶
func NewChannel(physicalName string, collectionID int64, idx int64, mapper ChannelMapper) Channel
NewChannel returns a Channel instance with provided physical channel and other informations.
func ParseChannel ¶
func ParseChannel(virtualName string, mapper ChannelMapper) (Channel, error)
func (Channel) EqualString ¶
func (Channel) PhysicalName ¶
func (Channel) VirtualName ¶
Click to show internal directories.
Click to hide internal directories.