-
Notifications
You must be signed in to change notification settings - Fork 24
Feature/joins #133
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
Feature/joins #133
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3433aad
simplified VirtualScan
markoszah 416844b
Merge branch 'main' of https://github.com/oracle/nosql-java-sdk into …
markoszah fd7f48b
added PrepareQueryException
markoszah 1896fed
reverted simplifications to VirtualScan in order to handle case of ne…
markoszah a4e8219
updated decrementQueryVersion() method
markoszah cb72f15
added changelog entry for PrepareQueryException
markoszah 96a86de
merge with main
markoszah File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
driver/src/main/java/oracle/nosql/driver/PrepareQueryException.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /*- | ||
| * Copyright (c) 2011, 2024 Oracle and/or its affiliates. All rights reserved. | ||
| * | ||
| * Licensed under the Universal Permissive License v 1.0 as shown at | ||
| * https://oss.oracle.com/licenses/upl/ | ||
| */ | ||
|
|
||
| package oracle.nosql.driver; | ||
|
|
||
| /** | ||
| * The query must be recompiled after DDL changes on the tables and/or | ||
| * indexes that are accessed by the query. | ||
| */ | ||
| public class PrepareQueryException extends NoSQLException { | ||
|
|
||
| private static final long serialVersionUID = 1L; | ||
|
|
||
| /** | ||
| * @hidden | ||
| * @param msg the exception message | ||
| */ | ||
| public PrepareQueryException(String msg) { | ||
| super(msg); | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -187,6 +187,8 @@ public static boolean isTenantOperation(OpCode op) { | |
| /* added in V4 */ | ||
| public static final int TABLE_NOT_READY = 26; | ||
| public static final int UNSUPPORTED_QUERY_VERSION = 27; | ||
| /* added in V5 */ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems we don't have serial version V5, the current version is V4 that is for NSON protocol I think. So maybe no need this comment? |
||
| public static final int RECOMPILE_QUERY = 28; | ||
|
|
||
| /* | ||
| * Error codes for user throttling, range from 50 to 100(exclusive). | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The new PrepareQueryException is public, maybe add a change log entry for it?