github.com/petermattis/pebble@v0.0.0-20190905164901-ab51a2166067/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 (
     8  	"github.com/petermattis/pebble/internal/base"
     9  )
    10  
    11  // InternalKeyKind exports the base.InternalKeyKind type.
    12  type InternalKeyKind = base.InternalKeyKind
    13  
    14  // These constants are part of the file format, and should not be changed.
    15  const (
    16  	InternalKeyKindDelete          = base.InternalKeyKindDelete
    17  	InternalKeyKindSet             = base.InternalKeyKindSet
    18  	InternalKeyKindMerge           = base.InternalKeyKindMerge
    19  	InternalKeyKindLogData         = base.InternalKeyKindLogData
    20  	InternalKeyKindRangeDelete     = base.InternalKeyKindRangeDelete
    21  	InternalKeyKindMax             = base.InternalKeyKindMax
    22  	InternalKeyKindInvalid         = base.InternalKeyKindInvalid
    23  	InternalKeySeqNumBatch         = base.InternalKeySeqNumBatch
    24  	InternalKeySeqNumMax           = base.InternalKeySeqNumMax
    25  	InternalKeyRangeDeleteSentinel = base.InternalKeyRangeDeleteSentinel
    26  )
    27  
    28  // InternalKey exports the base.InternalKey type.
    29  type InternalKey = base.InternalKey