github.com/cockroachdb/pebble@v1.1.2/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/cockroachdb/pebble/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  	InternalKeyKindSingleDelete    = base.InternalKeyKindSingleDelete
    25  	InternalKeyKindRangeDelete     = base.InternalKeyKindRangeDelete
    26  	InternalKeyKindSetWithDelete   = base.InternalKeyKindSetWithDelete
    27  	InternalKeyKindDeleteSized     = base.InternalKeyKindDeleteSized
    28  	InternalKeyKindMax             = base.InternalKeyKindMax
    29  	InternalKeyKindInvalid         = base.InternalKeyKindInvalid
    30  	InternalKeySeqNumBatch         = base.InternalKeySeqNumBatch
    31  	InternalKeySeqNumMax           = base.InternalKeySeqNumMax
    32  	InternalKeyRangeDeleteSentinel = base.InternalKeyRangeDeleteSentinel
    33  )
    34  
    35  // InternalKey exports the base.InternalKey type.
    36  type InternalKey = base.InternalKey