So indeed, this functionality is implemented. However, unfortunately it is
only exposed api wise through ContentFeatureSource, as FeatureSource
doesn't have an accepts method. Which is ok for my use case, i will just
check for CFS for the optimization and fall back to the current behaviour
if not.
On Wed, Apr 24, 2013 at 8:57 AM, Justin Deoliveira <[email protected]>wrote:
> Ahhh... i figured there might something out there... thanks Andrea. I
> am definitely not tied to hints. I'll explore the UniqueVisitor approach
> and report back. Thanks folks!
>
>
> On Wed, Apr 24, 2013 at 8:34 AM, Andrea Aime <[email protected]
> > wrote:
>
>> On Tue, Apr 23, 2013 at 10:40 PM, Justin Deoliveira <[email protected]
>> > wrote:
>>
>>> Hi all,
>>>
>>> Recently a client of ours forwarded along an initial patch that added
>>> support for a query hint to do "distinct" queries. In this context
>>> "distinct" implies the same semantics as the "distinct" keyword as
>>> supported by most relational databases. The end use case of which is to
>>> make GeoServer WMS capabilities generation more efficient with regard to
>>> dimensions, and calculating the distinct values of a time / elevation /
>>> custom dimension.
>>>
>>
>> Wondering, what about the UniqueVisitor, isn't that already running
>> distinct?
>> I'd like to understand how what you're proposing is different,
>> and whether maybe it could be served by another visitor that gets
>> recognized by the JDBC.
>> Not that hints is wrong, but I'm wondering if we can get the result with
>> something that we already have, or with something very similar to what we
>> already have.
>>
>> Cheers
>> Andrea
>>
>>
>> --
>> ==
>> GeoServer training in Milan, 6th & 7th June 2013! Visit
>> http://geoserver.geo-solutions.it for more information.
>> ==
>>
>> Ing. Andrea Aime
>> @geowolf
>> Technical Lead
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054 Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax: +39 0584 1660272
>> mob: +39 339 8844549
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> -------------------------------------------------------
>>
>
>
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel