PageRenderTime 54ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/EasySpinRdf/Expression/Aggregation/Max.php

https://github.com/conjecto/easyspinrdf
PHP | 49 lines | 5 code | 2 blank | 42 comment | 0 complexity | 2452d340a86726465d6f3bb43a32deea MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?php
  2. /**
  3. * EasySpinRdf
  4. *
  5. * LICENSE
  6. *
  7. * Copyright (c) 2009-2013 Nicholas J Humfrey. All rights reserved.
  8. *
  9. * Redistribution and use in source and binary forms, with or without
  10. * modification, are permitted provided that the following conditions are met:
  11. * 1. Redistributions of source code must retain the above copyright
  12. * notice, this list of conditions and the following disclaimer.
  13. * 2. Redistributions in binary form must reproduce the above copyright notice,
  14. * this list of conditions and the following disclaimer in the documentation
  15. * and/or other materials provided with the distribution.
  16. * 3. The name of the author 'Nicholas J Humfrey" may be used to endorse or
  17. * promote products derived from this software without specific prior
  18. * written permission.
  19. *
  20. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  21. * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23. * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  24. * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  25. * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  26. * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  27. * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  28. * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  29. * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  30. * POSSIBILITY OF SUCH DAMAGE.
  31. *
  32. * @package EasySpinRdf
  33. * @copyright Conjecto - Blaise de Carné
  34. * @license http://www.opensource.org/licenses/bsd-license.php
  35. */
  36. /**
  37. * Class that represents an SPIN count expression
  38. *
  39. * @package EasySpinRdf
  40. * @copyright Conjecto - Blaise de Carné
  41. * @license http://www.opensource.org/licenses/bsd-license.php
  42. */
  43. class EasySpinRdf_Expression_Aggregation_Max extends EasySpinRdf_Expression_Aggregation
  44. {
  45. /** aggregation keyword */
  46. const SPARQL_AGGREGATION_KEYWORD = "MAX";
  47. }