Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#857] logical predicate chaining hbase #920

Merged

Conversation

ChrizZz110
Copy link
Contributor

fixes #857

* added logical operator support to hbase store
* outsourced hbase filter creation to utils class
…hbase

# Conflicts:
#	gradoop-store/gradoop-hbase/src/main/java/org/gradoop/storage/impl/hbase/filter/impl/HBasePropEquals.java
#	gradoop-store/gradoop-hbase/src/main/java/org/gradoop/storage/impl/hbase/filter/impl/HBasePropLargerThan.java
#	gradoop-store/gradoop-hbase/src/main/java/org/gradoop/storage/impl/hbase/filter/impl/HBasePropReg.java
#	gradoop-store/gradoop-hbase/src/main/java/org/gradoop/storage/utils/HBaseFilters.java
#	gradoop-store/gradoop-hbase/src/test/java/org/gradoop/storage/impl/hbase/HBaseGraphStoreTest.java
#	gradoop-store/gradoop-hbase/src/test/java/org/gradoop/storage/impl/hbase/filter/impl/HBasePropEqualsTest.java
#	gradoop-store/gradoop-hbase/src/test/java/org/gradoop/storage/impl/hbase/filter/impl/HBasePropLargerThanTest.java
#	gradoop-store/gradoop-hbase/src/test/java/org/gradoop/storage/impl/hbase/filter/impl/HBasePropRegTest.java
@ChrizZz110 ChrizZz110 closed this Aug 1, 2018
@ChrizZz110 ChrizZz110 reopened this Aug 1, 2018
@ChrizZz110 ChrizZz110 closed this Aug 1, 2018
@ChrizZz110 ChrizZz110 reopened this Aug 1, 2018
@galpha galpha self-assigned this Aug 2, 2018
@@ -28,7 +28,7 @@
*
* @param <T> element type
*/
public final class AND<T extends EPGMElement> implements AccumuloElementFilter<T> {
public final class And<T extends EPGMElement> implements AccumuloElementFilter<T> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix JDoc "conjunctive predicate filter" to "Conjunctive predicate filter", pls fix rest of class as well

@@ -23,19 +23,19 @@
*
* @param <T> input type
*/
public final class NOT<T extends EPGMElement> implements AccumuloElementFilter<T> {
public final class Not<T extends EPGMElement> implements AccumuloElementFilter<T> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

@@ -28,7 +28,7 @@
*
* @param <T> element type
*/
public final class OR<T extends EPGMElement> implements AccumuloElementFilter<T> {
public final class Or<T extends EPGMElement> implements AccumuloElementFilter<T> {

/**
* predicate list
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

@@ -23,7 +23,7 @@
import org.gradoop.common.model.impl.pojo.Vertex;
import org.gradoop.storage.common.predicate.query.ElementQuery;
import org.gradoop.storage.impl.accumulo.predicate.filter.api.AccumuloElementFilter;
import org.gradoop.storage.impl.accumulo.predicate.filter.calculate.OR;
import org.gradoop.storage.impl.accumulo.predicate.filter.calculate.Or;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

@Nonnull String key,
@Nonnull PropertyValue value,
boolean negate
) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be inline with boolean negate, same below

* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.gradoop.storage.impl.hbase.filter.calculate;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep it consistent with accumulo implementation
org.gradoop.storage.impl.hbase.predicate.filter.calculate

* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.gradoop.storage.impl.hbase.filter.calculate;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.gradoop.storage.impl.hbase.filter.calculate;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

@@ -49,7 +49,7 @@ void attachFilter(
}

if (query.getFilterPredicate() != null) {
conjunctFilters.addFilter(query.getFilterPredicate().toHBaseFilter());
conjunctFilters.addFilter(query.getFilterPredicate().toHBaseFilter(false));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Class JavaDoc.

…form with accumulo package structure + PR tasks implemented
…hbase' into #857_logical_predicate_chaining_hbase
…hbase

# Conflicts:
#	gradoop-store/gradoop-hbase/src/main/java/org/gradoop/storage/impl/hbase/io/HBaseDataSource.java
@galpha
Copy link
Contributor

galpha commented Aug 2, 2018

LGTM

@galpha galpha merged commit 4e75ce4 into dbs-leipzig:develop Aug 3, 2018
Rascat pushed a commit to Rascat/gradoop that referenced this pull request Aug 7, 2018
ChrizZz110 pushed a commit that referenced this pull request Aug 24, 2018
### Release 0.4.1

* [#877] added support for property value null (#908)

fixes #877

* [#856] property pushdown hbase (#906)

fixes #856

* [#864] Change examples to use csv (#905)

fixes #864

* [#494] Add Set support to PropertyValue (#916)

fixes #494

* [#888] Minor changes to Tuple-related functions. (#912)

fixes #888

* [#779] Add code coverage for Gradoop (#914)

fixes #779

* [#702] Add support for graphs without edges to TLFDataSource (#921)

fixes #702

* [#909] Remove Flink dependency for store instance (#918)

fixes #909

* [#876] added print for logical graph and graph collection (#913)

fixes #876

* [#857] logical predicate chaining hbase (#920)

fixes #857

* [#926] added argLine to maven properties (fix ide testing bug) (#929)

fixes #926

* [#794] include new benchmark classes (#904)

fixes #794

* [#312] example program for aggregation (#925)

fixes #312

* [#901] Add SamplingConstants, AggregationConstants (#934)

fixed #901

* [#935] Add tests for containment functions (#941)

fixes #935

* [#900] Refactor sampling tests. (#907)

fixes #900

* [#936] Generalized RollUp and DrillDown (#939)

fixes #936

* [#947] Fix PageRank wrapper and add a test. (#949)

fixes #947

* [#942] graph density computation for sampling evaluation (#946)

fixes #942

* [#954] prepare minor release (#955)

fixes #954
galpha pushed a commit to galpha/gradoop that referenced this pull request Oct 9, 2018
@ChrizZz110 ChrizZz110 deleted the #857_logical_predicate_chaining_hbase branch December 13, 2018 08:54
0x002A pushed a commit to ChrizZz110/gradoop that referenced this pull request Feb 19, 2019
0x002A pushed a commit to ChrizZz110/gradoop that referenced this pull request Feb 19, 2019
### Release 0.4.1

* [dbs-leipzig#877] added support for property value null (dbs-leipzig#908)

fixes dbs-leipzig#877

* [dbs-leipzig#856] property pushdown hbase (dbs-leipzig#906)

fixes dbs-leipzig#856

* [dbs-leipzig#864] Change examples to use csv (dbs-leipzig#905)

fixes dbs-leipzig#864

* [dbs-leipzig#494] Add Set support to PropertyValue (dbs-leipzig#916)

fixes dbs-leipzig#494

* [dbs-leipzig#888] Minor changes to Tuple-related functions. (dbs-leipzig#912)

fixes dbs-leipzig#888

* [dbs-leipzig#779] Add code coverage for Gradoop (dbs-leipzig#914)

fixes dbs-leipzig#779

* [dbs-leipzig#702] Add support for graphs without edges to TLFDataSource (dbs-leipzig#921)

fixes dbs-leipzig#702

* [dbs-leipzig#909] Remove Flink dependency for store instance (dbs-leipzig#918)

fixes dbs-leipzig#909

* [dbs-leipzig#876] added print for logical graph and graph collection (dbs-leipzig#913)

fixes dbs-leipzig#876

* [dbs-leipzig#857] logical predicate chaining hbase (dbs-leipzig#920)

fixes dbs-leipzig#857

* [dbs-leipzig#926] added argLine to maven properties (fix ide testing bug) (dbs-leipzig#929)

fixes dbs-leipzig#926

* [dbs-leipzig#794] include new benchmark classes (dbs-leipzig#904)

fixes dbs-leipzig#794

* [dbs-leipzig#312] example program for aggregation (dbs-leipzig#925)

fixes dbs-leipzig#312

* [dbs-leipzig#901] Add SamplingConstants, AggregationConstants (dbs-leipzig#934)

fixed dbs-leipzig#901

* [dbs-leipzig#935] Add tests for containment functions (dbs-leipzig#941)

fixes dbs-leipzig#935

* [dbs-leipzig#900] Refactor sampling tests. (dbs-leipzig#907)

fixes dbs-leipzig#900

* [dbs-leipzig#936] Generalized RollUp and DrillDown (dbs-leipzig#939)

fixes dbs-leipzig#936

* [dbs-leipzig#947] Fix PageRank wrapper and add a test. (dbs-leipzig#949)

fixes dbs-leipzig#947

* [dbs-leipzig#942] graph density computation for sampling evaluation (dbs-leipzig#946)

fixes dbs-leipzig#942

* [dbs-leipzig#954] prepare minor release (dbs-leipzig#955)

fixes dbs-leipzig#954
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add logical operators to HBase predicates at Gradoop-Store
2 participants