Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vollt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sonia Zorba
vollt
Commits
b648da34
Commit
b648da34
authored
7 years ago
by
gmantele
Browse files
Options
Downloads
Patches
Plain Diff
[ADQL] Fix Javadoc links
parent
1d3b311c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/adql/translator/JDBCTranslator.java
+1
-1
1 addition, 1 deletion
src/adql/translator/JDBCTranslator.java
src/adql/translator/MySQLTranslator.java
+15
-15
15 additions, 15 deletions
src/adql/translator/MySQLTranslator.java
with
16 additions
and
16 deletions
src/adql/translator/JDBCTranslator.java
+
1
−
1
View file @
b648da34
...
@@ -896,7 +896,7 @@ public abstract class JDBCTranslator implements ADQLTranslator {
...
@@ -896,7 +896,7 @@ public abstract class JDBCTranslator implements ADQLTranslator {
* {@link #convertTypeFromDB(int, String, String, String[])}. So the value should always
* {@link #convertTypeFromDB(int, String, String, String[])}. So the value should always
* be of the expected type and format. However, if it turns out that the type is wrong
* be of the expected type and format. However, if it turns out that the type is wrong
* and that the conversion is finally impossible, this function SHOULD throw a
* and that the conversion is finally impossible, this function SHOULD throw a
* {@link
tap.data.DataRead
Exception}.
* {@link
Parse
Exception}.
* </i></p>
* </i></p>
*
*
* @param jdbcColValue A JDBC column value (returned by ResultSet.getObject(int)).
* @param jdbcColValue A JDBC column value (returned by ResultSet.getObject(int)).
...
...
This diff is collapsed.
Click to expand it.
src/adql/translator/MySQLTranslator.java
+
15
−
15
View file @
b648da34
...
@@ -76,6 +76,21 @@ public class MySQLTranslator extends JDBCTranslator {
...
@@ -76,6 +76,21 @@ public class MySQLTranslator extends JDBCTranslator {
caseSensitivity
=
0x0F
;
caseSensitivity
=
0x0F
;
}
}
/**
* Build a MySQLTranslator which always translates in SQL all identifiers
* (schema, table and column) in the specified case sensitivity ; in other
* words, schema, table and column names will all be surrounded or not by
* back-quotes in the SQL translation.
*
* @param allCaseSensitive <i>true</i> to translate all identifiers in a
* case sensitive manner
* (surrounded by back-quotes),
* <i>false</i> for case insensitivity.
*/
public
MySQLTranslator
(
final
boolean
allCaseSensitive
){
caseSensitivity
=
allCaseSensitive
?
(
byte
)
0x0F
:
(
byte
)
0x00
;
}
/**
/**
* Build a MySQLTranslator which will always translate in SQL identifiers
* Build a MySQLTranslator which will always translate in SQL identifiers
* with the defined case sensitivity.
* with the defined case sensitivity.
...
@@ -89,21 +104,6 @@ public class MySQLTranslator extends JDBCTranslator {
...
@@ -89,21 +104,6 @@ public class MySQLTranslator extends JDBCTranslator {
* @param column <i>true</i> to translate column names with back-quotes
* @param column <i>true</i> to translate column names with back-quotes
* (case sensitive in the DBMS), <i>false</i> otherwise.
* (case sensitive in the DBMS), <i>false</i> otherwise.
*/
*/
public
MySQLTranslator
(
final
boolean
allCaseSensitive
){
caseSensitivity
=
allCaseSensitive
?
(
byte
)
0x0F
:
(
byte
)
0x00
;
}
/**
* Build a MySQLTranslator which always translates in SQL all identifiers
* (schema, table and column) in the specified case sensitivity ; in other
* words, schema, table and column names will all be surrounded or not by
* back-quotes in the SQL translation.
*
* @param allCaseSensitive <i>true</i> to translate all identifiers in a
* case sensitive manner
* (surrounded by back-quotes),
* <i>false</i> for case insensitivity.
*/
public
MySQLTranslator
(
final
boolean
catalog
,
final
boolean
schema
,
final
boolean
table
,
final
boolean
column
){
public
MySQLTranslator
(
final
boolean
catalog
,
final
boolean
schema
,
final
boolean
table
,
final
boolean
column
){
caseSensitivity
=
IdentifierField
.
CATALOG
.
setCaseSensitive
(
caseSensitivity
,
catalog
);
caseSensitivity
=
IdentifierField
.
CATALOG
.
setCaseSensitive
(
caseSensitivity
,
catalog
);
caseSensitivity
=
IdentifierField
.
SCHEMA
.
setCaseSensitive
(
caseSensitivity
,
schema
);
caseSensitivity
=
IdentifierField
.
SCHEMA
.
setCaseSensitive
(
caseSensitivity
,
schema
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment