Skip to content

New results api #96

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

Merged
merged 25 commits into from
Dec 11, 2015
Merged

New results api #96

merged 25 commits into from
Dec 11, 2015

Conversation

boggle
Copy link
Contributor

@boggle boggle commented Dec 6, 2015

No description provided.

@boggle boggle force-pushed the new-results-api branch 6 times, most recently from 7b57b25 to be5a91b Compare December 9, 2015 10:35
boggle and others added 24 commits December 10, 2015 10:46
Includes: Incorporate feedback from PR discussion around API refactoring

o Also adds a bunch of new asFooArray extraction methods
o Drop support for value( byte[] )
o Removed lenient extraction (asBoolean(), asString() in favour of being explicit)
o char[] arrays are now treated as Strings
o Add containsKey() and entries() to MapLike
o New *Accessor naming
o ListAccessor, MapAccessor no longer imply CollectionAccessor
o RecordAccessor no longer inherits CollectionAccessor (use keys().size() if you need that)
o Result.position and skip now return longs
o Add Record.asMapValue
o Rename Map.Entry to Field
o Add Map.field* methods for better naming on records
o Introduce PropertyAccessor and Field
o Better distinction between maps of unordered properties and records of ordered fields
o Also fixes some places where we still failed to return Values.NULL
o Removes CollectionAccessor
o Added bounds checking for `asInt`, `asByte`, ...
o We should fan out to versions inside internal; not outside of it
o Rename {Standard|Simple} -> Internal
o Also break inheritance between Field and Property in favour of adding asProperty
  (this inheritance failed to work property with equals)
@jakewins
Copy link
Contributor

Merging this, with a plan to review some aspects of it further in follow up PRs

jakewins added a commit that referenced this pull request Dec 11, 2015
@jakewins jakewins merged commit cc2fc61 into neo4j:1.0 Dec 11, 2015
@jakewins jakewins deleted the new-results-api branch December 11, 2015 10:08
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