You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by andreevym <gi...@git.apache.org> on 2016/10/28 21:48:13 UTC
[GitHub] ignite pull request #1194: Ignite sql builder
GitHub user andreevym opened a pull request:
https://github.com/apache/ignite/pull/1194
Ignite sql builder
I want to make useful methods when I have object with unnecessary parameters (if age == null). I want to make fast and easy ignite sql query.
Add test for SqlBuilderSelfTest. refactoring - in test need to have Only test, not one of something unknown. assert need to have in testMethod, not in other class method. move SqlSelfTest in sql package for easy to find and use
example
SqlBuilder.create().more("age",10).build(PersonTest.class)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andreevym/ignite ignite-sql-builder
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1194.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1194
----
commit 9757448586c6acd73c3d009aea406d0c3a549a86
Author: Yury Andreev <yu...@ru.ibm.com>
Date: 2016-10-28T21:43:32Z
want to make useful methods when I have object with unnecessary parameters (if age == null). I want to make fast and easy ignite sql query.
commit 7c8eeb48d63d65b792ff88be7a96ed01c84b6615
Author: Yury Andreev <yu...@ru.ibm.com>
Date: 2016-10-28T21:46:01Z
add test for SqlBuilderSelfTest. refactoring - in test need to have Only test, not one of something unknown.
assert need to have in testMethod, not in other class method. move SqlSelfTest in sql package for easy to find and use
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---