Documentation ¶
Index ¶
- Variables
- func NewOpenSearchSpelunker(ctx context.Context, uri string) (spelunker.Spelunker, error)
- func NewSpelunkerRecordSPR(props []byte) (wof_spr.StandardPlacesResult, error)
- func NewSpelunkerStandardPlacesResults(results []wof_spr.StandardPlacesResult) wof_spr.StandardPlacesResults
- type OpenSearchSpelunker
- func (s *OpenSearchSpelunker) CountDescendants(ctx context.Context, id int64) (int64, error)
- func (s *OpenSearchSpelunker) GetConcordances(ctx context.Context) (*spelunker.Faceting, error)
- func (s *OpenSearchSpelunker) GetDescendants(ctx context.Context, pg_opts pagination.Options, id int64, ...) (wof_spr.StandardPlacesResults, pagination.Results, error)
- func (s *OpenSearchSpelunker) GetDescendantsFaceted(ctx context.Context, id int64, filters []spelunker.Filter, ...) ([]*spelunker.Faceting, error)
- func (s *OpenSearchSpelunker) GetFeatureForId(ctx context.Context, id int64, uri_args *uri.URIArgs) ([]byte, error)
- func (s *OpenSearchSpelunker) GetPlacetypes(ctx context.Context) (*spelunker.Faceting, error)
- func (s *OpenSearchSpelunker) GetRecent(ctx context.Context, pg_opts pagination.Options, d time.Duration, ...) (wof_spr.StandardPlacesResults, pagination.Results, error)
- func (s *OpenSearchSpelunker) GetRecentFaceted(ctx context.Context, d time.Duration, filters []spelunker.Filter, ...) ([]*spelunker.Faceting, error)
- func (s *OpenSearchSpelunker) GetRecordForId(ctx context.Context, id int64) ([]byte, error)
- func (s *OpenSearchSpelunker) GetTags(ctx context.Context) (*spelunker.Faceting, error)
- func (s *OpenSearchSpelunker) HasConcordance(ctx context.Context, pg_opts pagination.Options, namespace string, ...) (wof_spr.StandardPlacesResults, pagination.Results, error)
- func (s *OpenSearchSpelunker) HasConcordanceFaceted(ctx context.Context, namespace string, predicate string, value any, ...) ([]*spelunker.Faceting, error)
- func (s *OpenSearchSpelunker) HasPlacetype(ctx context.Context, pg_opts pagination.Options, pt *placetypes.WOFPlacetype, ...) (wof_spr.StandardPlacesResults, pagination.Results, error)
- func (s *OpenSearchSpelunker) HasPlacetypeFaceted(ctx context.Context, pt *placetypes.WOFPlacetype, filters []spelunker.Filter, ...) ([]*spelunker.Faceting, error)
- func (s *OpenSearchSpelunker) HasTag(ctx context.Context, pg_opts pagination.Options, tag string, ...) (wof_spr.StandardPlacesResults, pagination.Results, error)
- func (s *OpenSearchSpelunker) HasTagFaceted(ctx context.Context, tag string, filters []spelunker.Filter, ...) ([]*spelunker.Faceting, error)
- func (s *OpenSearchSpelunker) Search(ctx context.Context, pg_opts pagination.Options, ...) (wof_spr.StandardPlacesResults, pagination.Results, error)
- func (s *OpenSearchSpelunker) SearchFaceted(ctx context.Context, search_opts *spelunker.SearchOptions, ...) ([]*spelunker.Faceting, error)
- func (s *OpenSearchSpelunker) VisitingNullIsland(ctx context.Context, pg_opts pagination.Options, filters []spelunker.Filter) (wof_spr.StandardPlacesResults, pagination.Results, error)
- func (s *OpenSearchSpelunker) VisitingNullIslandFaceted(ctx context.Context, filters []spelunker.Filter, facets []*spelunker.Facet) ([]*spelunker.Faceting, error)
- type SpelunkerRecordSPR
- func (s *SpelunkerRecordSPR) BelongsTo() []int64
- func (s *SpelunkerRecordSPR) Cessation() *edtf.EDTFDate
- func (s *SpelunkerRecordSPR) Country() string
- func (s *SpelunkerRecordSPR) Id() string
- func (s *SpelunkerRecordSPR) Inception() *edtf.EDTFDate
- func (s *SpelunkerRecordSPR) IsCeased() flags.ExistentialFlag
- func (s *SpelunkerRecordSPR) IsCurrent() flags.ExistentialFlag
- func (s *SpelunkerRecordSPR) IsDeprecated() flags.ExistentialFlag
- func (s *SpelunkerRecordSPR) IsSuperseded() flags.ExistentialFlag
- func (s *SpelunkerRecordSPR) IsSuperseding() flags.ExistentialFlag
- func (s *SpelunkerRecordSPR) LastModified() int64
- func (s *SpelunkerRecordSPR) Latitude() float64
- func (s *SpelunkerRecordSPR) Longitude() float64
- func (s *SpelunkerRecordSPR) MaxLatitude() float64
- func (s *SpelunkerRecordSPR) MaxLongitude() float64
- func (s *SpelunkerRecordSPR) MinLatitude() float64
- func (s *SpelunkerRecordSPR) MinLongitude() float64
- func (s *SpelunkerRecordSPR) Name() string
- func (s *SpelunkerRecordSPR) ParentId() string
- func (s *SpelunkerRecordSPR) Path() string
- func (s *SpelunkerRecordSPR) Placetype() string
- func (s *SpelunkerRecordSPR) Repo() string
- func (s *SpelunkerRecordSPR) SupersededBy() []int64
- func (s *SpelunkerRecordSPR) Supersedes() []int64
- func (s *SpelunkerRecordSPR) URI() string
- type SpelunkerStandardPlacesResults
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCursorIsExpired = errors.New("Query cursor has expired")
Functions ¶
func NewOpenSearchSpelunker ¶
func NewSpelunkerRecordSPR ¶
func NewSpelunkerRecordSPR(props []byte) (wof_spr.StandardPlacesResult, error)
func NewSpelunkerStandardPlacesResults ¶
func NewSpelunkerStandardPlacesResults(results []wof_spr.StandardPlacesResult) wof_spr.StandardPlacesResults
Types ¶
type OpenSearchSpelunker ¶
type OpenSearchSpelunker struct { spelunker.Spelunker // contains filtered or unexported fields }
func (*OpenSearchSpelunker) CountDescendants ¶
func (*OpenSearchSpelunker) GetConcordances ¶
func (s *OpenSearchSpelunker) GetConcordances(ctx context.Context) (*spelunker.Faceting, error)
func (*OpenSearchSpelunker) GetDescendants ¶
func (s *OpenSearchSpelunker) GetDescendants(ctx context.Context, pg_opts pagination.Options, id int64, filters []spelunker.Filter) (wof_spr.StandardPlacesResults, pagination.Results, error)
func (*OpenSearchSpelunker) GetDescendantsFaceted ¶
func (s *OpenSearchSpelunker) GetDescendantsFaceted(ctx context.Context, id int64, filters []spelunker.Filter, facets []*spelunker.Facet) ([]*spelunker.Faceting, error)
func (*OpenSearchSpelunker) GetFeatureForId ¶
func (*OpenSearchSpelunker) GetPlacetypes ¶
func (s *OpenSearchSpelunker) GetPlacetypes(ctx context.Context) (*spelunker.Faceting, error)
func (*OpenSearchSpelunker) GetRecent ¶
func (s *OpenSearchSpelunker) GetRecent(ctx context.Context, pg_opts pagination.Options, d time.Duration, filters []spelunker.Filter) (wof_spr.StandardPlacesResults, pagination.Results, error)
func (*OpenSearchSpelunker) GetRecentFaceted ¶
func (*OpenSearchSpelunker) GetRecordForId ¶
func (*OpenSearchSpelunker) GetTags ¶
func (s *OpenSearchSpelunker) GetTags(ctx context.Context) (*spelunker.Faceting, error)
func (*OpenSearchSpelunker) HasConcordance ¶
func (s *OpenSearchSpelunker) HasConcordance(ctx context.Context, pg_opts pagination.Options, namespace string, predicate string, value any, filters []spelunker.Filter) (wof_spr.StandardPlacesResults, pagination.Results, error)
func (*OpenSearchSpelunker) HasConcordanceFaceted ¶
func (*OpenSearchSpelunker) HasPlacetype ¶
func (s *OpenSearchSpelunker) HasPlacetype(ctx context.Context, pg_opts pagination.Options, pt *placetypes.WOFPlacetype, filters []spelunker.Filter) (wof_spr.StandardPlacesResults, pagination.Results, error)
func (*OpenSearchSpelunker) HasPlacetypeFaceted ¶
func (s *OpenSearchSpelunker) HasPlacetypeFaceted(ctx context.Context, pt *placetypes.WOFPlacetype, filters []spelunker.Filter, facets []*spelunker.Facet) ([]*spelunker.Faceting, error)
func (*OpenSearchSpelunker) HasTag ¶
func (s *OpenSearchSpelunker) HasTag(ctx context.Context, pg_opts pagination.Options, tag string, filters []spelunker.Filter) (wof_spr.StandardPlacesResults, pagination.Results, error)
func (*OpenSearchSpelunker) HasTagFaceted ¶
func (s *OpenSearchSpelunker) HasTagFaceted(ctx context.Context, tag string, filters []spelunker.Filter, facets []*spelunker.Facet) ([]*spelunker.Faceting, error)
func (*OpenSearchSpelunker) Search ¶
func (s *OpenSearchSpelunker) Search(ctx context.Context, pg_opts pagination.Options, search_opts *spelunker.SearchOptions, filters []spelunker.Filter) (wof_spr.StandardPlacesResults, pagination.Results, error)
func (*OpenSearchSpelunker) SearchFaceted ¶
func (s *OpenSearchSpelunker) SearchFaceted(ctx context.Context, search_opts *spelunker.SearchOptions, filters []spelunker.Filter, facets []*spelunker.Facet) ([]*spelunker.Faceting, error)
func (*OpenSearchSpelunker) VisitingNullIsland ¶
func (s *OpenSearchSpelunker) VisitingNullIsland(ctx context.Context, pg_opts pagination.Options, filters []spelunker.Filter) (wof_spr.StandardPlacesResults, pagination.Results, error)
func (*OpenSearchSpelunker) VisitingNullIslandFaceted ¶
func (s *OpenSearchSpelunker) VisitingNullIslandFaceted(ctx context.Context, filters []spelunker.Filter, facets []*spelunker.Facet) ([]*spelunker.Faceting, error)
type SpelunkerRecordSPR ¶
type SpelunkerRecordSPR struct { wof_spr.StandardPlacesResult // contains filtered or unexported fields }
func (*SpelunkerRecordSPR) BelongsTo ¶
func (s *SpelunkerRecordSPR) BelongsTo() []int64
func (*SpelunkerRecordSPR) Cessation ¶
func (s *SpelunkerRecordSPR) Cessation() *edtf.EDTFDate
func (*SpelunkerRecordSPR) Country ¶
func (s *SpelunkerRecordSPR) Country() string
func (*SpelunkerRecordSPR) Id ¶
func (s *SpelunkerRecordSPR) Id() string
func (*SpelunkerRecordSPR) Inception ¶
func (s *SpelunkerRecordSPR) Inception() *edtf.EDTFDate
func (*SpelunkerRecordSPR) IsCeased ¶
func (s *SpelunkerRecordSPR) IsCeased() flags.ExistentialFlag
func (*SpelunkerRecordSPR) IsCurrent ¶
func (s *SpelunkerRecordSPR) IsCurrent() flags.ExistentialFlag
func (*SpelunkerRecordSPR) IsDeprecated ¶
func (s *SpelunkerRecordSPR) IsDeprecated() flags.ExistentialFlag
func (*SpelunkerRecordSPR) IsSuperseded ¶
func (s *SpelunkerRecordSPR) IsSuperseded() flags.ExistentialFlag
func (*SpelunkerRecordSPR) IsSuperseding ¶
func (s *SpelunkerRecordSPR) IsSuperseding() flags.ExistentialFlag
func (*SpelunkerRecordSPR) LastModified ¶
func (s *SpelunkerRecordSPR) LastModified() int64
func (*SpelunkerRecordSPR) Latitude ¶
func (s *SpelunkerRecordSPR) Latitude() float64
func (*SpelunkerRecordSPR) Longitude ¶
func (s *SpelunkerRecordSPR) Longitude() float64
func (*SpelunkerRecordSPR) MaxLatitude ¶
func (s *SpelunkerRecordSPR) MaxLatitude() float64
func (*SpelunkerRecordSPR) MaxLongitude ¶
func (s *SpelunkerRecordSPR) MaxLongitude() float64
func (*SpelunkerRecordSPR) MinLatitude ¶
func (s *SpelunkerRecordSPR) MinLatitude() float64
func (*SpelunkerRecordSPR) MinLongitude ¶
func (s *SpelunkerRecordSPR) MinLongitude() float64
func (*SpelunkerRecordSPR) Name ¶
func (s *SpelunkerRecordSPR) Name() string
func (*SpelunkerRecordSPR) ParentId ¶
func (s *SpelunkerRecordSPR) ParentId() string
func (*SpelunkerRecordSPR) Path ¶
func (s *SpelunkerRecordSPR) Path() string
func (*SpelunkerRecordSPR) Placetype ¶
func (s *SpelunkerRecordSPR) Placetype() string
func (*SpelunkerRecordSPR) Repo ¶
func (s *SpelunkerRecordSPR) Repo() string
func (*SpelunkerRecordSPR) SupersededBy ¶
func (s *SpelunkerRecordSPR) SupersededBy() []int64
func (*SpelunkerRecordSPR) Supersedes ¶
func (s *SpelunkerRecordSPR) Supersedes() []int64
func (*SpelunkerRecordSPR) URI ¶
func (s *SpelunkerRecordSPR) URI() string
type SpelunkerStandardPlacesResults ¶
type SpelunkerStandardPlacesResults struct { wof_spr.StandardPlacesResults // contains filtered or unexported fields }
func (*SpelunkerStandardPlacesResults) Results ¶
func (r *SpelunkerStandardPlacesResults) Results() []wof_spr.StandardPlacesResult
Source Files ¶
Click to show internal directories.
Click to hide internal directories.