query

package
v0.0.0-...-518b87e Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2015 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assertion

type Assertion func(string) bool

type Filter

type Filter string

func (Filter) Applies

func (f Filter) Applies(shape geom.Shape) bool

type Query

type Query struct {
	Bounds  geom.Bbox
	Filters []Filter
	Sel     *Select
}

TODO: I need to find a way to query ahead of time

func NewQuery

func NewQuery(bb geom.Bbox) *Query

func (*Query) Bounded

func (q *Query) Bounded(bb geom.Bbox) *Query

func (*Query) Select

func (q *Query) Select(selstmt string) *Query

This is possibly the worst sql parser ever.

type Select

type Select struct {
	Fields []string `xml:"fields,attr"`
}

Jump to

Keyboard shortcuts

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