C# Class Terradue.OpenSearch.Filters.OpenSearchCorrelationFilter

OpenSearch correlation filter.
Afficher le fichier Open project: Terradue/DotNetOpenSearch

Protected Properties

Свойство Type Description
factory IOpenSearchableFactory
ose Terradue.OpenSearch.Engine.OpenSearchEngine

Méthodes publiques

Méthode Description
AddSearchLink ( IOpenSearchResultCollection &osr, NameValueCollection originalParameters, IOpenSearchable entity, string with, string finalContentType ) : void
ApplyResultFilters ( IOpenSearchResultCollection &osr, NameValueCollection originalParameters, IOpenSearchable entity ) : void

Applies the result filters.

GetCorrelatedUrl ( NameValueCollection searchParameters ) : OpenSearchUrl

Gets the correlated URL.

GetCorrelationFreeParameters ( NameValueCollection parameters ) : NameValueCollection

Gets the correlation free parameters.

GetCorrelationOpenSearchParameters ( ) : string>.UniqueValueDictionary

Gets the correlation open search parameters.

GetFunction ( NameValueCollection searchParameters ) : string

Gets the correlation function.

GetMinimum ( NameValueCollection searchParameters ) : int

Gets the minimum correlation parameter.

GetSpatialCover ( NameValueCollection searchParameters ) : int

Gets the minimum correlation parameter.

GetTimeCoverage ( NameValueCollection searchParameters, IOpenSearchResultItem item ) : System.DateTime[]
IsCorrelationSearch ( NameValueCollection parameters ) : bool

Determines if is correlation search the specified parameters.

OpenSearchCorrelationFilter ( OpenSearchEngine ose, IOpenSearchableFactory factory = null ) : System

Initializes a new instance of the Terradue.OpenSearch.Filters.OpenSearchCorrelationFilter class.

Méthodes protégées

Méthode Description
GetStartAndStopTime ( IOpenSearchResultItem item ) : System.DateTime[]

Method Details

AddSearchLink() public abstract méthode

public abstract AddSearchLink ( IOpenSearchResultCollection &osr, NameValueCollection originalParameters, IOpenSearchable entity, string with, string finalContentType ) : void
osr IOpenSearchResultCollection
originalParameters System.Collections.Specialized.NameValueCollection
entity IOpenSearchable
with string
finalContentType string
Résultat void

ApplyResultFilters() public abstract méthode

Applies the result filters.
public abstract ApplyResultFilters ( IOpenSearchResultCollection &osr, NameValueCollection originalParameters, IOpenSearchable entity ) : void
osr IOpenSearchResultCollection Osr.
originalParameters System.Collections.Specialized.NameValueCollection Original parameters.
entity IOpenSearchable
Résultat void

GetCorrelatedUrl() public static méthode

Gets the correlated URL.
public static GetCorrelatedUrl ( NameValueCollection searchParameters ) : OpenSearchUrl
searchParameters System.Collections.Specialized.NameValueCollection Search parameters.
Résultat OpenSearchUrl

GetCorrelationFreeParameters() public static méthode

Gets the correlation free parameters.
public static GetCorrelationFreeParameters ( NameValueCollection parameters ) : NameValueCollection
parameters System.Collections.Specialized.NameValueCollection Parameters.
Résultat System.Collections.Specialized.NameValueCollection

GetCorrelationOpenSearchParameters() public static méthode

Gets the correlation open search parameters.
public static GetCorrelationOpenSearchParameters ( ) : string>.UniqueValueDictionary
Résultat string>.UniqueValueDictionary

GetFunction() public static méthode

Gets the correlation function.
public static GetFunction ( NameValueCollection searchParameters ) : string
searchParameters System.Collections.Specialized.NameValueCollection Search parameters.
Résultat string

GetMinimum() public static méthode

Gets the minimum correlation parameter.
public static GetMinimum ( NameValueCollection searchParameters ) : int
searchParameters System.Collections.Specialized.NameValueCollection Search parameters.
Résultat int

GetSpatialCover() public static méthode

Gets the minimum correlation parameter.
public static GetSpatialCover ( NameValueCollection searchParameters ) : int
searchParameters System.Collections.Specialized.NameValueCollection Search parameters.
Résultat int

GetStartAndStopTime() protected abstract méthode

protected abstract GetStartAndStopTime ( IOpenSearchResultItem item ) : System.DateTime[]
item IOpenSearchResultItem
Résultat System.DateTime[]

GetTimeCoverage() public méthode

public GetTimeCoverage ( NameValueCollection searchParameters, IOpenSearchResultItem item ) : System.DateTime[]
searchParameters System.Collections.Specialized.NameValueCollection
item IOpenSearchResultItem
Résultat System.DateTime[]

IsCorrelationSearch() public static méthode

Determines if is correlation search the specified parameters.
public static IsCorrelationSearch ( NameValueCollection parameters ) : bool
parameters System.Collections.Specialized.NameValueCollection Parameters.
Résultat bool

OpenSearchCorrelationFilter() public méthode

Initializes a new instance of the Terradue.OpenSearch.Filters.OpenSearchCorrelationFilter class.
public OpenSearchCorrelationFilter ( OpenSearchEngine ose, IOpenSearchableFactory factory = null ) : System
ose Terradue.OpenSearch.Engine.OpenSearchEngine Ose.
factory IOpenSearchableFactory Factory.
Résultat System

Property Details

factory protected_oe property

protected IOpenSearchableFactory factory
Résultat IOpenSearchableFactory

ose protected_oe property

protected OpenSearchEngine,Terradue.OpenSearch.Engine ose
Résultat Terradue.OpenSearch.Engine.OpenSearchEngine