Skip to content
/ yz Public

YZ[ˈiːzi] is simple (easy), laconic, string-based, object query language.

Notifications You must be signed in to change notification settings

vdim/yz

Repository files navigation

About

"... it seems likely that the verbosity of a query language might obscure important information or its syntax may emphasize unimportant query features rather than important ones." -- from thesis ["Database Queries in Java"] (http://infoscience.epfl.ch/record/153803) by Christopher Ming-Yee Iu, page 61.

YZ[ˈiːzi] is simple (easy), laconic, string-based, object query language. At the moment there is implementation for Clojure/Java in Clojure.

What does YZ include?

  • Selection:
entity
  • Projection:
entity[prop1 prop2]
  • Filtering:
entity#(prop="sv")
  • Joining:
entity1 (entity2)
  • Union:
entity1, entity2
  • Sorting:
↓entity
  • Calling an user function:
entity[prop1 @(f &)]
  • Recursive queries:
entity[*parent]
  • Removing duplicates:
¹entity
  • Limits:
1-10:entity
  • Default property:
entity#(.="sv")

What not?

  • Definition.
  • Creating.
  • Updating.

Language Bindings

Restriction

Project is in alpha stage and it is just prototype, not for production use.

Copyright

Copyright 2011-2013 Vyacheslav Dimitrov, [Petrozavodsk State University] (http://petrsu.ru/Structure/structure_e.html).

YZ is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 only, as published by the Free Software Foundation.

YZ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with YZ. If not, see [http://www.gnu.org/licenses/] (http://www.gnu.org/licenses/).

Documentation

About

YZ[ˈiːzi] is simple (easy), laconic, string-based, object query language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published