github.com/voedger/voedger@v0.0.0-20240520144910-273e84102129/pkg/istructsmem/internal/dynobuf/interface.go (about)

     1  /*
     2   * Copyright (c) 2021-present Sigma-Soft, Ltd.
     3   * @author: Nikolay Nikitin
     4   */
     5  
     6  package dynobuf
     7  
     8  import (
     9  	"github.com/untillpro/dynobuffers"
    10  )
    11  
    12  // Dynobuffer schemes.
    13  //
    14  // Pass appdef.IAppDef to Prepare() method to prepare schemes.
    15  //
    16  // Use Scheme() method to get scheme for any structured type (doc or record)
    17  // or for view value scheme.
    18  //
    19  // Use ViewPartKeyScheme() method to get view partition key scheme
    20  // and ViewClustColsScheme() method to get view clustering columns scheme.
    21  type DynoBufSchemes struct {
    22  	schemes map[string]*dynobuffers.Scheme
    23  }