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

RYA-284: updated to support bloom filter #169

Closed
wants to merge 1 commit into from
Closed

Conversation

thn-w
Copy link
Contributor

@thn-w thn-w commented Jun 8, 2017

Description

Updated dao/accumulo.rya to support the use of bloom filter

Tests

no new tests

Links

JIRA -> RYA-284

People To Review

@amihalik

@asfgit
Copy link

asfgit commented Jun 8, 2017

Can one of the admins verify this patch?

@amihalik
Copy link
Contributor

amihalik commented Jun 8, 2017

Can you submit another PR with only the required changes? There are a lot of whitespace and final changes.

Normally I would power through this, but the github "ignore whitespace" hack doesn't seem to be working.

protected void fillScanner(ScannerBase scanner, RyaURI context, String qualifier, Long ttl, Long currentTime,
TripleRowRegex tripleRowRegex, RdfCloudTripleStoreConfiguration conf) throws IOException {
if (context != null && qualifier != null) {
private static Text createText(final byte[] data, final RyaType ryaType) throws RyaTypeResolverException {
Copy link
Contributor

Choose a reason for hiding this comment

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

"appendType" would be a better name for this method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay. Will put up a new PR with the new method name.

Range range = new Range(new Text(byteRange.getStart()), new Text(byteRange.getEnd()));
if ((stmt.getSubject() != null) && (stmt.getPredicate() != null) && (stmt.getObject() != null)) {
range = Range.exact(createText(byteRange.getStart(), stmt.getObject()));
Copy link
Contributor

Choose a reason for hiding this comment

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

does byteRange.getStart() ever have the type appended to it at this point? (if so, then this won't work)

Copy link
Contributor Author

@thn-w thn-w Jun 9, 2017

Choose a reason for hiding this comment

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

that's what createText (current method name) is supposed to do.

@thn-w
Copy link
Contributor Author

thn-w commented Jun 9, 2017

Closed and will submit a new PR as requested.

@thn-w thn-w closed this Jun 9, 2017
@thn-w thn-w deleted the RYA-284 branch June 9, 2017 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants