Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dependencies on Jena and HttpClient (#19)
- Loading branch information
1 parent
3ecb29c
commit 9f48cc6
Showing
148 changed files
with
12,779 additions
and
8,841 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
dw-jdbc | ||
Copyright 2016 data.world, Inc. | ||
Copyright 2017 data.world, Inc. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the | ||
License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations under the License. This product includes software developed at | ||
data.world, Inc.(http://www.data.world/). | ||
data.world, Inc.(http://www.data.world/). |
This file contains 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 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 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
28 changes: 28 additions & 0 deletions
28
src/main/java/world/data/jdbc/DataWorldCallableStatement.java
This file contains 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,28 @@ | ||
/* | ||
* dw-jdbc | ||
* Copyright 2017 data.world, Inc. | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the | ||
* License. | ||
* | ||
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
* implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
* | ||
* This product includes software developed at data.world, Inc.(http://www.data.world/). | ||
*/ | ||
package world.data.jdbc; | ||
|
||
import java.sql.CallableStatement; | ||
|
||
/** | ||
* Extends {@link CallableStatement} with data.world-specific extensions. | ||
*/ | ||
public interface DataWorldCallableStatement extends CallableStatement, DataWorldPreparedStatement { | ||
} |
This file contains 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,70 @@ | ||
/* | ||
* dw-jdbc | ||
* Copyright 2017 data.world, Inc. | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the | ||
* License. | ||
* | ||
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
* implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
* | ||
* This product includes software developed at data.world, Inc.(http://www.data.world/). | ||
*/ | ||
package world.data.jdbc; | ||
|
||
import java.sql.Connection; | ||
import java.sql.SQLException; | ||
|
||
/** | ||
* Extends {@link Connection} with data.world-specific extensions. | ||
*/ | ||
public interface DataWorldConnection extends Connection { | ||
|
||
/** | ||
* Gets the JDBC compatibility level that is in use, see | ||
* {@link JdbcCompatibility} for explanations | ||
* <p> | ||
* By default this is set at the connection level and inherited, however you | ||
* may call {@link #setJdbcCompatibilityLevel(JdbcCompatibility)} to set the compatibility | ||
* level for this statement. This allows you to change the compatibility | ||
* level on a per-query basis if so desired. | ||
* </p> | ||
* | ||
* @return Compatibility level | ||
*/ | ||
JdbcCompatibility getJdbcCompatibilityLevel() throws SQLException; | ||
|
||
/** | ||
* Sets the JDBC compatibility level that is in use, see | ||
* {@link JdbcCompatibility} for explanations. | ||
* <p> | ||
* By default this is set at the connection level and inherited, however you | ||
* may call the {@code setJdbcCompatibilityLevel} method to set the compatibility | ||
* level for this statement. This allows you to change the compatibility | ||
* level on a per-query basis if so desired. | ||
* </p> | ||
* <p> | ||
* Changing the level may not effect existing open objects, behaviour in | ||
* this case will be implementation specific. | ||
* </p> | ||
* | ||
* @param compatibilityLevel Compatibility level | ||
*/ | ||
void setJdbcCompatibilityLevel(JdbcCompatibility compatibilityLevel) throws SQLException; | ||
|
||
@Override | ||
DataWorldCallableStatement prepareCall(String query) throws SQLException; | ||
|
||
@Override | ||
DataWorldPreparedStatement prepareStatement(String query) throws SQLException; | ||
|
||
@Override | ||
DataWorldStatement createStatement() throws SQLException; | ||
} |
Oops, something went wrong.