Documentation ¶
Index ¶
- type GeoPackage
- func (g *GeoPackage) Close()
- func (g *GeoPackage) GetFeature(ctx context.Context, collection string, featureID any, profile domain.Profile) (*domain.Feature, error)
- func (g *GeoPackage) GetFeatureIDs(ctx context.Context, collection string, criteria datasources.FeaturesCriteria) ([]int64, domain.Cursors, error)
- func (g *GeoPackage) GetFeatureTableMetadata(collection string) (datasources.FeatureTableMetadata, error)
- func (g *GeoPackage) GetFeatures(ctx context.Context, collection string, criteria datasources.FeaturesCriteria, ...) (*domain.FeatureCollection, domain.Cursors, error)
- func (g *GeoPackage) GetFeaturesByID(ctx context.Context, collection string, featureIDs []int64, ...) (*domain.FeatureCollection, error)
- func (g *GeoPackage) GetPropertyFiltersWithAllowedValues(collection string) datasources.PropertyFiltersWithAllowedValues
- type PreparedStatementCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeoPackage ¶
type GeoPackage struct {
// contains filtered or unexported fields
}
func NewGeoPackage ¶
func NewGeoPackage(collections config.GeoSpatialCollections, gpkgConfig config.GeoPackage) *GeoPackage
func (*GeoPackage) Close ¶
func (g *GeoPackage) Close()
func (*GeoPackage) GetFeature ¶
func (*GeoPackage) GetFeatureIDs ¶
func (g *GeoPackage) GetFeatureIDs(ctx context.Context, collection string, criteria datasources.FeaturesCriteria) ([]int64, domain.Cursors, error)
func (*GeoPackage) GetFeatureTableMetadata ¶
func (g *GeoPackage) GetFeatureTableMetadata(collection string) (datasources.FeatureTableMetadata, error)
func (*GeoPackage) GetFeatures ¶
func (g *GeoPackage) GetFeatures(ctx context.Context, collection string, criteria datasources.FeaturesCriteria, profile domain.Profile) (*domain.FeatureCollection, domain.Cursors, error)
func (*GeoPackage) GetFeaturesByID ¶
func (g *GeoPackage) GetFeaturesByID(ctx context.Context, collection string, featureIDs []int64, profile domain.Profile) (*domain.FeatureCollection, error)
func (*GeoPackage) GetPropertyFiltersWithAllowedValues ¶ added in v0.51.0
func (g *GeoPackage) GetPropertyFiltersWithAllowedValues(collection string) datasources.PropertyFiltersWithAllowedValues
type PreparedStatementCache ¶
type PreparedStatementCache struct {
// contains filtered or unexported fields
}
PreparedStatementCache is thread safe
func NewCache ¶
func NewCache() *PreparedStatementCache
NewCache creates a new PreparedStatementCache that will evict least-recently used (LRU) statements.
func (*PreparedStatementCache) Close ¶
func (c *PreparedStatementCache) Close()
Close purges the cache, and closes remaining prepared statements
Click to show internal directories.
Click to hide internal directories.