github.com/zuoyebang/bitalostable@v1.0.1-0.20240229032404-e3b99a834294/sstable/internal.go (about)

     1  // Copyright 2018 The LevelDB-Go and Pebble Authors. All rights reserved. Use
     2  // of this source code is governed by a BSD-style license that can be found in
     3  // the LICENSE file.
     4  
     5  package sstable
     6  
     7  import "github.com/zuoyebang/bitalostable/internal/base"
     8  
     9  // InternalKeyKind exports the base.InternalKeyKind type.
    10  type InternalKeyKind = base.InternalKeyKind
    11  
    12  // SeekGEFlags exports base.SeekGEFlags.
    13  type SeekGEFlags = base.SeekGEFlags
    14  
    15  // SeekLTFlags exports base.SeekLTFlags.
    16  type SeekLTFlags = base.SeekLTFlags
    17  
    18  // These constants are part of the file format, and should not be changed.
    19  const (
    20  	InternalKeyKindDelete          = base.InternalKeyKindDelete
    21  	InternalKeyKindSet             = base.InternalKeyKindSet
    22  	InternalKeyKindMerge           = base.InternalKeyKindMerge
    23  	InternalKeyKindLogData         = base.InternalKeyKindLogData
    24  	InternalKeyKindRangeDelete     = base.InternalKeyKindRangeDelete
    25  	InternalKeyKindMax             = base.InternalKeyKindMax
    26  	InternalKeyKindInvalid         = base.InternalKeyKindInvalid
    27  	InternalKeySeqNumBatch         = base.InternalKeySeqNumBatch
    28  	InternalKeySeqNumMax           = base.InternalKeySeqNumMax
    29  	InternalKeyRangeDeleteSentinel = base.InternalKeyRangeDeleteSentinel
    30  )
    31  
    32  // InternalKey exports the base.InternalKey type.
    33  type InternalKey = base.InternalKey