Skip to content

Geowave 615#663

Merged
rwgdrummer merged 4 commits into0.9.1from
GEOWAVE-615
Mar 14, 2016
Merged

Geowave 615#663
rwgdrummer merged 4 commits into0.9.1from
GEOWAVE-615

Conversation

@dcy2003
Copy link
Copy Markdown
Contributor

@dcy2003 dcy2003 commented Mar 11, 2016

Fix for #615

SharedVisibilitySplittingIterator decomposes composite fieldIds on the tablet server, which replaces the old approach of doing this twice (once client side in AccumuloUtils and also in QueryFilterIterator)

FieldFilter filters only those fieldIds that were specified in QueryOptions

AttributesSubsetQueryIT tests both server side and client side filtering functionality

We also support subsetting through GeoTools Query via propertyNames. GeoToolsAttributesSubsetTest verifies this functionality

}

final ByteBuffer buf = ByteBuffer.allocate(20 + authBytes.length + aSize + iSize + fieldIdsBytesNeeded);
buf.putInt((fieldIdsBytesNeeded > 0) ? 1 : 0);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need the extra int, or can we just place a 0 if the field id list is emty?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Don't need the extra int. I will clean this up.

@rwgdrummer
Copy link
Copy Markdown
Contributor

Agreed. Once we address these comments We can move forward.

Steve and I were discussing potentially make a variant to the whole feature data adapter further reduce the volume from the server to the client.

At some point, all of us did discuss a better method to compress the field/value bytes, using a bitmask--bits coincide with feature attribute names as they are in ordered within the simplefeaturetype).

I think the next is benchmark this approach and then make the incremental changes to determine they value they provide.

rwgdrummer added a commit that referenced this pull request Mar 14, 2016
@rwgdrummer rwgdrummer merged commit ce9e52b into 0.9.1 Mar 14, 2016
@rwgdrummer rwgdrummer deleted the GEOWAVE-615 branch March 14, 2016 19:26
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.

3 participants