ownmapdb

package
v0.0.0-...-14f1a14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2022 License: LGPL-2.1 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HeaderSizeContainerSize is the size of the container that holds the amount of bytes that must be read to read the header
	HeaderSizeContainerSize = 4
)

Variables

View Source
var (
	ErrInvalidLengthOwnmapdb        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOwnmapdb          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOwnmapdb = fmt.Errorf("proto: unexpected end of group")
)

Functions

func CompareInt64s

func CompareInt64s(a, b int64) algorithms.SearchResult

FIXME: move to algorithms package

func IsTagCollectionKey1BytesLargerThanKey2

func IsTagCollectionKey1BytesLargerThanKey2(t1, t2 []byte) bool

IsTagCollectionKey1BytesLargerThanKey2 is a more efficient sorting method for tagCollectionKeyTypes. It lazily-evaluates key bytes.

func VisualiseDBHandleFunc

func VisualiseDBHandleFunc(db *MapmakerDBConn) http.HandlerFunc

Types

type BlockData

type BlockData interface {
	Reset()
	Append(data *bytes.Buffer) errorsx.Error
	ToProtoMessage() proto.Message
}

type BlockMetadata

type BlockMetadata struct {
	StartOffsetFromStartOfSectionData int64  `` /* 155-byte string literal not displayed */
	LastItemInBlockValue              []byte `protobuf:"bytes,2,opt,name=last_item_in_block_value,json=lastItemInBlockValue,proto3" json:"lastItemInBlockValue"`
	BlockSize                         int64  `protobuf:"varint,3,opt,name=block_size,json=blockSize,proto3" json:"blockSize"`
}

func (*BlockMetadata) Descriptor

func (*BlockMetadata) Descriptor() ([]byte, []int)

func (*BlockMetadata) Equal

func (this *BlockMetadata) Equal(that interface{}) bool

func (*BlockMetadata) GetBlockSize

func (m *BlockMetadata) GetBlockSize() int64

func (*BlockMetadata) GetLastItemInBlockValue

func (m *BlockMetadata) GetLastItemInBlockValue() []byte

func (*BlockMetadata) GetStartOffsetFromStartOfSectionData

func (m *BlockMetadata) GetStartOffsetFromStartOfSectionData() int64

func (*BlockMetadata) GoString

func (this *BlockMetadata) GoString() string

func (*BlockMetadata) Marshal

func (m *BlockMetadata) Marshal() (dAtA []byte, err error)

func (*BlockMetadata) MarshalTo

func (m *BlockMetadata) MarshalTo(dAtA []byte) (int, error)

func (*BlockMetadata) MarshalToSizedBuffer

func (m *BlockMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockMetadata) ProtoMessage

func (*BlockMetadata) ProtoMessage()

func (*BlockMetadata) Reset

func (m *BlockMetadata) Reset()

func (*BlockMetadata) Size

func (m *BlockMetadata) Size() (n int)

func (*BlockMetadata) String

func (this *BlockMetadata) String() string

func (*BlockMetadata) Unmarshal

func (m *BlockMetadata) Unmarshal(dAtA []byte) error

func (*BlockMetadata) XXX_DiscardUnknown

func (m *BlockMetadata) XXX_DiscardUnknown()

func (*BlockMetadata) XXX_Marshal

func (m *BlockMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockMetadata) XXX_Merge

func (m *BlockMetadata) XXX_Merge(src proto.Message)

func (*BlockMetadata) XXX_Size

func (m *BlockMetadata) XXX_Size() int

func (*BlockMetadata) XXX_Unmarshal

func (m *BlockMetadata) XXX_Unmarshal(b []byte) error

type Collections

type Collections struct {
	NodeCollection, WayCollection, RelationCollection, TagCollection diskfilemap.OnDiskCollection
}

type ComparisonResult

type ComparisonResult int
const (
	ComparisonResultEqual         ComparisonResult = 0
	ComparisonResultAGreaterThanB ComparisonResult = 1
	ComparisonResultALessThanB    ComparisonResult = -1
)

type FileHandlerPool

type FileHandlerPool struct {
	// contains filtered or unexported fields
}

func NewFileHandlerPool

func NewFileHandlerPool(openFileFunc OpenFileFunc, limit uint) (*FileHandlerPool, errorsx.Error)

func (*FileHandlerPool) Get

func (p *FileHandlerPool) Get() gofs.File

func (*FileHandlerPool) Release

func (p *FileHandlerPool) Release(handler gofs.File)
type Header struct {
	Version                  uint64              `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	DatasetInfo              *ownmap.DatasetInfo `protobuf:"bytes,2,opt,name=dataset_info,json=datasetInfo,proto3" json:"datasetInfo"`
	NodesSectionMetadata     *SectionMetadata    `protobuf:"bytes,3,opt,name=nodes_section_metadata,json=nodesSectionMetadata,proto3" json:"nodesSectionMetadata"`
	WaysSectionMetadata      *SectionMetadata    `protobuf:"bytes,4,opt,name=ways_section_metadata,json=waysSectionMetadata,proto3" json:"waysSectionMetadata"`
	TagIndexSectionMetadata  *SectionMetadata    `protobuf:"bytes,5,opt,name=tag_index_section_metadata,json=tagIndexSectionMetadata,proto3" json:"tagIndexSectionMetadata"`
	RelationsSectionMetadata *SectionMetadata    `protobuf:"bytes,6,opt,name=relations_section_metadata,json=relationsSectionMetadata,proto3" json:"relationsSectionMetadata"`
}

func (*Header) Descriptor

func (*Header) Descriptor() ([]byte, []int)

func (*Header) Equal

func (this *Header) Equal(that interface{}) bool

func (*Header) GetDatasetInfo

func (m *Header) GetDatasetInfo() *ownmap.DatasetInfo

func (*Header) GetNodesSectionMetadata

func (m *Header) GetNodesSectionMetadata() *SectionMetadata

func (*Header) GetRelationsSectionMetadata

func (m *Header) GetRelationsSectionMetadata() *SectionMetadata

func (*Header) GetTagIndexSectionMetadata

func (m *Header) GetTagIndexSectionMetadata() *SectionMetadata

func (*Header) GetVersion

func (m *Header) GetVersion() uint64

func (*Header) GetWaysSectionMetadata

func (m *Header) GetWaysSectionMetadata() *SectionMetadata

func (*Header) GoString

func (this *Header) GoString() string

func (*Header) Marshal

func (m *Header) Marshal() (dAtA []byte, err error)

func (*Header) MarshalTo

func (m *Header) MarshalTo(dAtA []byte) (int, error)

func (*Header) MarshalToSizedBuffer

func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) Size

func (m *Header) Size() (n int)

func (*Header) String

func (this *Header) String() string

func (*Header) Unmarshal

func (m *Header) Unmarshal(dAtA []byte) error

func (*Header) XXX_DiscardUnknown

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge

func (m *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal

func (m *Header) XXX_Unmarshal(b []byte) error

type ImportOptions

type ImportOptions struct {
	KeepWorkDir bool
}

type Importer

type Importer struct {
	// contains filtered or unexported fields
}

func NewImporter

func NewImporter(logger *logpkg.Logger, fs gofs.Fs, workDir, outFilePath string, ownmapDBFileHandlerLimit uint, pbfHeader *osmpbf.Header, options ImportOptions) (*Importer, errorsx.Error)

func (*Importer) Commit

func (importer *Importer) Commit() (ownmapdal.DataSourceConn, errorsx.Error)

func (*Importer) GetNodeByID

func (importer *Importer) GetNodeByID(id int64) (*ownmap.OSMNode, error)

func (*Importer) GetRelationByID

func (importer *Importer) GetRelationByID(id int64) (*ownmap.OSMRelation, error)

func (*Importer) GetWayByID

func (importer *Importer) GetWayByID(id int64) (*ownmap.OSMWay, error)

func (*Importer) ImportNode

func (importer *Importer) ImportNode(node *ownmap.OSMNode) errorsx.Error

func (*Importer) ImportRelation

func (importer *Importer) ImportRelation(relation *ownmap.OSMRelation) errorsx.Error

func (*Importer) ImportWay

func (importer *Importer) ImportWay(ownmapWay *ownmap.OSMWay) errorsx.Error

func (*Importer) Rollback

func (importer *Importer) Rollback() errorsx.Error

type KeyType

type KeyType interface {
	MarshalKey() []byte
	UnmarshalKey(data []byte) errorsx.Error
	Compare(other KeyType) ComparisonResult
	String() string
	LowerThanLowestValidValue() KeyType // Zero value is the starting value to compare against (i.e., it is smaller than everything)
}

type MapmakerDBConn

type MapmakerDBConn struct {
	// contains filtered or unexported fields
}

func NewMapmakerDBConn

func NewMapmakerDBConn(openFileFunc OpenFileFunc, name string, fileHandlerLimit uint) (*MapmakerDBConn, errorsx.Error)

func (*MapmakerDBConn) DatasetInfo

func (db *MapmakerDBConn) DatasetInfo() (*ownmap.DatasetInfo, errorsx.Error)

func (*MapmakerDBConn) Name

func (db *MapmakerDBConn) Name() string

type NodesBlockData

type NodesBlockData struct {
	Nodes []*ownmap.OSMNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
}

func (*NodesBlockData) Descriptor

func (*NodesBlockData) Descriptor() ([]byte, []int)

func (*NodesBlockData) Equal

func (this *NodesBlockData) Equal(that interface{}) bool

func (*NodesBlockData) GetNodes

func (m *NodesBlockData) GetNodes() []*ownmap.OSMNode

func (*NodesBlockData) GoString

func (this *NodesBlockData) GoString() string

func (*NodesBlockData) Marshal

func (m *NodesBlockData) Marshal() (dAtA []byte, err error)

func (*NodesBlockData) MarshalTo

func (m *NodesBlockData) MarshalTo(dAtA []byte) (int, error)

func (*NodesBlockData) MarshalToSizedBuffer

func (m *NodesBlockData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodesBlockData) ProtoMessage

func (*NodesBlockData) ProtoMessage()

func (*NodesBlockData) Reset

func (m *NodesBlockData) Reset()

func (*NodesBlockData) Size

func (m *NodesBlockData) Size() (n int)

func (*NodesBlockData) String

func (this *NodesBlockData) String() string

func (*NodesBlockData) Unmarshal

func (m *NodesBlockData) Unmarshal(dAtA []byte) error

func (*NodesBlockData) XXX_DiscardUnknown

func (m *NodesBlockData) XXX_DiscardUnknown()

func (*NodesBlockData) XXX_Marshal

func (m *NodesBlockData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodesBlockData) XXX_Merge

func (m *NodesBlockData) XXX_Merge(src proto.Message)

func (*NodesBlockData) XXX_Size

func (m *NodesBlockData) XXX_Size() int

func (*NodesBlockData) XXX_Unmarshal

func (m *NodesBlockData) XXX_Unmarshal(b []byte) error

type NodesFromDiskBlockData

type NodesFromDiskBlockData struct {
	// contains filtered or unexported fields
}

func NewNodesFromDiskBlockData

func NewNodesFromDiskBlockData() *NodesFromDiskBlockData

func (*NodesFromDiskBlockData) Append

func (n *NodesFromDiskBlockData) Append(data *bytes.Buffer) errorsx.Error

func (*NodesFromDiskBlockData) Reset

func (n *NodesFromDiskBlockData) Reset()

func (*NodesFromDiskBlockData) ToProtoMessage

func (n *NodesFromDiskBlockData) ToProtoMessage() proto.Message

type OpenFileFunc

type OpenFileFunc func() (gofs.File, errorsx.Error)

type RelationsBlockData

type RelationsBlockData struct {
	Relations []*ownmap.OSMRelation `protobuf:"bytes,1,rep,name=relations,proto3" json:"relations,omitempty"`
}

func (*RelationsBlockData) Descriptor

func (*RelationsBlockData) Descriptor() ([]byte, []int)

func (*RelationsBlockData) Equal

func (this *RelationsBlockData) Equal(that interface{}) bool

func (*RelationsBlockData) GetRelations

func (m *RelationsBlockData) GetRelations() []*ownmap.OSMRelation

func (*RelationsBlockData) GoString

func (this *RelationsBlockData) GoString() string

func (*RelationsBlockData) Marshal

func (m *RelationsBlockData) Marshal() (dAtA []byte, err error)

func (*RelationsBlockData) MarshalTo

func (m *RelationsBlockData) MarshalTo(dAtA []byte) (int, error)

func (*RelationsBlockData) MarshalToSizedBuffer

func (m *RelationsBlockData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RelationsBlockData) ProtoMessage

func (*RelationsBlockData) ProtoMessage()

func (*RelationsBlockData) Reset

func (m *RelationsBlockData) Reset()

func (*RelationsBlockData) Size

func (m *RelationsBlockData) Size() (n int)

func (*RelationsBlockData) String

func (this *RelationsBlockData) String() string

func (*RelationsBlockData) Unmarshal

func (m *RelationsBlockData) Unmarshal(dAtA []byte) error

func (*RelationsBlockData) XXX_DiscardUnknown

func (m *RelationsBlockData) XXX_DiscardUnknown()

func (*RelationsBlockData) XXX_Marshal

func (m *RelationsBlockData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RelationsBlockData) XXX_Merge

func (m *RelationsBlockData) XXX_Merge(src proto.Message)

func (*RelationsBlockData) XXX_Size

func (m *RelationsBlockData) XXX_Size() int

func (*RelationsBlockData) XXX_Unmarshal

func (m *RelationsBlockData) XXX_Unmarshal(b []byte) error

type RelationsFromDiskBlockData

type RelationsFromDiskBlockData struct {
	// contains filtered or unexported fields
}

func NewRelationsFromDiskBlockData

func NewRelationsFromDiskBlockData() *RelationsFromDiskBlockData

func (*RelationsFromDiskBlockData) Append

func (*RelationsFromDiskBlockData) Reset

func (n *RelationsFromDiskBlockData) Reset()

func (*RelationsFromDiskBlockData) ToProtoMessage

func (n *RelationsFromDiskBlockData) ToProtoMessage() proto.Message

type SectionMetadata

type SectionMetadata struct {
	TotalSize      uint64           `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"totalSize"`
	BlockMetadatas []*BlockMetadata `protobuf:"bytes,2,rep,name=block_metadatas,json=blockMetadatas,proto3" json:"blockMetadatas"`
}

func (*SectionMetadata) Descriptor

func (*SectionMetadata) Descriptor() ([]byte, []int)

func (*SectionMetadata) Equal

func (this *SectionMetadata) Equal(that interface{}) bool

func (*SectionMetadata) GetBlockMetadatas

func (m *SectionMetadata) GetBlockMetadatas() []*BlockMetadata

func (*SectionMetadata) GetTotalSize

func (m *SectionMetadata) GetTotalSize() uint64

func (*SectionMetadata) GoString

func (this *SectionMetadata) GoString() string

func (*SectionMetadata) Marshal

func (m *SectionMetadata) Marshal() (dAtA []byte, err error)

func (*SectionMetadata) MarshalTo

func (m *SectionMetadata) MarshalTo(dAtA []byte) (int, error)

func (*SectionMetadata) MarshalToSizedBuffer

func (m *SectionMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SectionMetadata) ProtoMessage

func (*SectionMetadata) ProtoMessage()

func (*SectionMetadata) Reset

func (m *SectionMetadata) Reset()

func (*SectionMetadata) Size

func (m *SectionMetadata) Size() (n int)

func (*SectionMetadata) String

func (this *SectionMetadata) String() string

func (*SectionMetadata) Unmarshal

func (m *SectionMetadata) Unmarshal(dAtA []byte) error

func (*SectionMetadata) XXX_DiscardUnknown

func (m *SectionMetadata) XXX_DiscardUnknown()

func (*SectionMetadata) XXX_Marshal

func (m *SectionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SectionMetadata) XXX_Merge

func (m *SectionMetadata) XXX_Merge(src proto.Message)

func (*SectionMetadata) XXX_Size

func (m *SectionMetadata) XXX_Size() int

func (*SectionMetadata) XXX_Unmarshal

func (m *SectionMetadata) XXX_Unmarshal(b []byte) error

type SectionType

type SectionType interface {
	// contains filtered or unexported methods
}

type TagIndexBlockData

type TagIndexBlockData struct {
	TagIndexRecords []*TagIndexRecord `protobuf:"bytes,1,rep,name=tag_index_records,json=tagIndexRecords,proto3" json:"tagIndexRecords"`
}

func (*TagIndexBlockData) Descriptor

func (*TagIndexBlockData) Descriptor() ([]byte, []int)

func (*TagIndexBlockData) Equal

func (this *TagIndexBlockData) Equal(that interface{}) bool

func (*TagIndexBlockData) GetTagIndexRecords

func (m *TagIndexBlockData) GetTagIndexRecords() []*TagIndexRecord

func (*TagIndexBlockData) GoString

func (this *TagIndexBlockData) GoString() string

func (*TagIndexBlockData) Marshal

func (m *TagIndexBlockData) Marshal() (dAtA []byte, err error)

func (*TagIndexBlockData) MarshalTo

func (m *TagIndexBlockData) MarshalTo(dAtA []byte) (int, error)

func (*TagIndexBlockData) MarshalToSizedBuffer

func (m *TagIndexBlockData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TagIndexBlockData) ProtoMessage

func (*TagIndexBlockData) ProtoMessage()

func (*TagIndexBlockData) Reset

func (m *TagIndexBlockData) Reset()

func (*TagIndexBlockData) Size

func (m *TagIndexBlockData) Size() (n int)

func (*TagIndexBlockData) String

func (this *TagIndexBlockData) String() string

func (*TagIndexBlockData) Unmarshal

func (m *TagIndexBlockData) Unmarshal(dAtA []byte) error

func (*TagIndexBlockData) XXX_DiscardUnknown

func (m *TagIndexBlockData) XXX_DiscardUnknown()

func (*TagIndexBlockData) XXX_Marshal

func (m *TagIndexBlockData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TagIndexBlockData) XXX_Merge

func (m *TagIndexBlockData) XXX_Merge(src proto.Message)

func (*TagIndexBlockData) XXX_Size

func (m *TagIndexBlockData) XXX_Size() int

func (*TagIndexBlockData) XXX_Unmarshal

func (m *TagIndexBlockData) XXX_Unmarshal(b []byte) error

type TagIndexMap

type TagIndexMap map[tagCollectionKeyType][]int64

func (TagIndexMap) ToTagIndexRecords

func (m TagIndexMap) ToTagIndexRecords() []*TagIndexRecord

type TagIndexRecord

type TagIndexRecord struct {
	IndexKey []byte  `protobuf:"bytes,1,opt,name=index_key,json=indexKey,proto3" json:"indexKey"`
	ItemIDs  []int64 `protobuf:"varint,2,rep,packed,name=item_ids,json=itemIds,proto3" json:"itemIds"`
}

func (*TagIndexRecord) Descriptor

func (*TagIndexRecord) Descriptor() ([]byte, []int)

func (*TagIndexRecord) Equal

func (this *TagIndexRecord) Equal(that interface{}) bool

func (*TagIndexRecord) GetIndexKey

func (m *TagIndexRecord) GetIndexKey() []byte

func (*TagIndexRecord) GetItemIDs

func (m *TagIndexRecord) GetItemIDs() []int64

func (*TagIndexRecord) GoString

func (this *TagIndexRecord) GoString() string

func (*TagIndexRecord) Marshal

func (m *TagIndexRecord) Marshal() (dAtA []byte, err error)

func (*TagIndexRecord) MarshalTo

func (m *TagIndexRecord) MarshalTo(dAtA []byte) (int, error)

func (*TagIndexRecord) MarshalToSizedBuffer

func (m *TagIndexRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TagIndexRecord) ProtoMessage

func (*TagIndexRecord) ProtoMessage()

func (*TagIndexRecord) Reset

func (m *TagIndexRecord) Reset()

func (*TagIndexRecord) Size

func (m *TagIndexRecord) Size() (n int)

func (*TagIndexRecord) String

func (this *TagIndexRecord) String() string

func (*TagIndexRecord) Unmarshal

func (m *TagIndexRecord) Unmarshal(dAtA []byte) error

func (*TagIndexRecord) XXX_DiscardUnknown

func (m *TagIndexRecord) XXX_DiscardUnknown()

func (*TagIndexRecord) XXX_Marshal

func (m *TagIndexRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TagIndexRecord) XXX_Merge

func (m *TagIndexRecord) XXX_Merge(src proto.Message)

func (*TagIndexRecord) XXX_Size

func (m *TagIndexRecord) XXX_Size() int

func (*TagIndexRecord) XXX_Unmarshal

func (m *TagIndexRecord) XXX_Unmarshal(b []byte) error

type TagsFromDiskBlockData

type TagsFromDiskBlockData struct {
	// contains filtered or unexported fields
}

func NewTagsFromDiskBlockData

func NewTagsFromDiskBlockData() *TagsFromDiskBlockData

func (*TagsFromDiskBlockData) Append

func (n *TagsFromDiskBlockData) Append(data *bytes.Buffer) errorsx.Error

func (*TagsFromDiskBlockData) Reset

func (n *TagsFromDiskBlockData) Reset()

func (*TagsFromDiskBlockData) ToProtoMessage

func (n *TagsFromDiskBlockData) ToProtoMessage() proto.Message

type WaysBlockData

type WaysBlockData struct {
	Ways []*ownmap.OSMWay `protobuf:"bytes,1,rep,name=ways,proto3" json:"ways,omitempty"`
}

func (*WaysBlockData) Descriptor

func (*WaysBlockData) Descriptor() ([]byte, []int)

func (*WaysBlockData) Equal

func (this *WaysBlockData) Equal(that interface{}) bool

func (*WaysBlockData) GetWays

func (m *WaysBlockData) GetWays() []*ownmap.OSMWay

func (*WaysBlockData) GoString

func (this *WaysBlockData) GoString() string

func (*WaysBlockData) Marshal

func (m *WaysBlockData) Marshal() (dAtA []byte, err error)

func (*WaysBlockData) MarshalTo

func (m *WaysBlockData) MarshalTo(dAtA []byte) (int, error)

func (*WaysBlockData) MarshalToSizedBuffer

func (m *WaysBlockData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WaysBlockData) ProtoMessage

func (*WaysBlockData) ProtoMessage()

func (*WaysBlockData) Reset

func (m *WaysBlockData) Reset()

func (*WaysBlockData) Size

func (m *WaysBlockData) Size() (n int)

func (*WaysBlockData) String

func (this *WaysBlockData) String() string

func (*WaysBlockData) Unmarshal

func (m *WaysBlockData) Unmarshal(dAtA []byte) error

func (*WaysBlockData) XXX_DiscardUnknown

func (m *WaysBlockData) XXX_DiscardUnknown()

func (*WaysBlockData) XXX_Marshal

func (m *WaysBlockData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WaysBlockData) XXX_Merge

func (m *WaysBlockData) XXX_Merge(src proto.Message)

func (*WaysBlockData) XXX_Size

func (m *WaysBlockData) XXX_Size() int

func (*WaysBlockData) XXX_Unmarshal

func (m *WaysBlockData) XXX_Unmarshal(b []byte) error

type WaysFromDiskBlockData

type WaysFromDiskBlockData struct {
	// contains filtered or unexported fields
}

func NewWaysFromDiskBlockData

func NewWaysFromDiskBlockData() *WaysFromDiskBlockData

func (*WaysFromDiskBlockData) Append

func (n *WaysFromDiskBlockData) Append(data *bytes.Buffer) errorsx.Error

func (*WaysFromDiskBlockData) Reset

func (n *WaysFromDiskBlockData) Reset()

func (*WaysFromDiskBlockData) ToProtoMessage

func (n *WaysFromDiskBlockData) ToProtoMessage() proto.Message

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL