-
Notifications
You must be signed in to change notification settings - Fork 5
Bind multi range query API #126
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
Bind multi range query API #126
Conversation
| * @throws TileDBError A TileDB exception | ||
| */ | ||
| public Query addRange(int dimIdx, Object start, Object end) throws TileDBError { | ||
| Datatype dimType = array.getSchema().getDomain().getType(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to wrap these in a try block as well
try (Schema schema = array.getSchema(); Domain = schema.getDomain()) {}`
| * @throws TileDBError A TileDB exception | ||
| */ | ||
| public Pair<Object, Object> getRange(int dimIdx, long rangeIdx) throws TileDBError { | ||
| Datatype dimType = array.getSchema().getDomain().getType(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
e9a8883 to
b7b1b3f
Compare
|
Thanks @jakebolewski ! Fixed those two issues |
|
LGTM |
b7b1b3f to
b7958c8
Compare
Shelnutt2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
No description provided.