memory

package
v0.0.0-...-9251d09 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryCatalog

type MemoryCatalog struct {
	TableMap map[string]Table
	// contains filtered or unexported fields
}

MemoryCatalog is an in-memory implementation of the data catalog

func (*MemoryCatalog) GetCollection

func (mc *MemoryCatalog) GetCollection(ctx context.Context, id string) (*model.Collection, error)

func (*MemoryCatalog) GetCollections

func (mc *MemoryCatalog) GetCollections(ctx context.Context) (*model.Collections, error)

func (*MemoryCatalog) Load

func (mc *MemoryCatalog) Load() error

type Table

type Table struct {
	Name               string
	Schema             string
	GeometryColumnName string
	SRID               int64
	GeometryType       string
	Dimension          int64
	Extent             orb.Polygon
}

Jump to

Keyboard shortcuts

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