C# Class Terradue.OpenSearch.Filters.OpenSearchCorrelationFilter

OpenSearch correlation filter.
Exibir arquivo Open project: Terradue/DotNetOpenSearch

Protected Properties

Property Type Description
factory IOpenSearchableFactory
ose Terradue.OpenSearch.Engine.OpenSearchEngine

Public Methods

Method 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.

Protected Methods

Method Description
GetStartAndStopTime ( IOpenSearchResultItem item ) : System.DateTime[]

Method Details

AddSearchLink() public abstract method

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
return void

ApplyResultFilters() public abstract method

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
return void

GetCorrelatedUrl() public static method

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

GetCorrelationFreeParameters() public static method

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

GetCorrelationOpenSearchParameters() public static method

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

GetFunction() public static method

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

GetMinimum() public static method

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

GetSpatialCover() public static method

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

GetStartAndStopTime() protected abstract method

protected abstract GetStartAndStopTime ( IOpenSearchResultItem item ) : System.DateTime[]
item IOpenSearchResultItem
return System.DateTime[]

GetTimeCoverage() public method

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

IsCorrelationSearch() public static method

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

OpenSearchCorrelationFilter() public method

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.
return System

Property Details

factory protected_oe property

protected IOpenSearchableFactory factory
return IOpenSearchableFactory

ose protected_oe property

protected OpenSearchEngine,Terradue.OpenSearch.Engine ose
return Terradue.OpenSearch.Engine.OpenSearchEngine