incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Fixed some imports and added some javadocs to a few classes.
Date Tue, 28 May 2013 11:38:34 GMT
Updated Branches:
  refs/heads/0.1.5 776589536 -> d61fd212b


Fixed some imports and added some javadocs to a few classes.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/d61fd212
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/d61fd212
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/d61fd212

Branch: refs/heads/0.1.5
Commit: d61fd212b4c0e2c76ad5fd88f3376dd9da77c45d
Parents: 7765895
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue May 28 07:37:40 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue May 28 07:37:40 2013 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/blur/jdbc/BlurJdbc.java   |    2 -
 .../jdbc/abstractimpl/AbstractBlurConnection.java  |   45 ++++++++-------
 .../abstractimpl/AbstractBlurDatabaseMetaData.java |    5 ++
 .../AbstractBlurPreparedStatement.java             |    6 ++
 .../jdbc/abstractimpl/AbstractBlurResultSet.java   |    5 ++
 .../AbstractBlurResultSetMetaData.java             |    5 ++
 .../jdbc/abstractimpl/AbstractBlurStatement.java   |    5 ++
 7 files changed, 51 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d61fd212/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/BlurJdbc.java
----------------------------------------------------------------------
diff --git a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/BlurJdbc.java b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/BlurJdbc.java
index e4dde7c..861fe45 100644
--- a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/BlurJdbc.java
+++ b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/BlurJdbc.java
@@ -20,9 +20,7 @@ import java.sql.Connection;
 import java.sql.Driver;
 import java.sql.DriverPropertyInfo;
 import java.sql.SQLException;
-import java.sql.SQLFeatureNotSupportedException;
 import java.util.Properties;
-import java.util.logging.Logger;
 
 public class BlurJdbc implements Driver {
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d61fd212/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurConnection.java
----------------------------------------------------------------------
diff --git a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurConnection.java
b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurConnection.java
index 7269850..d6bf95d 100644
--- a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurConnection.java
+++ b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurConnection.java
@@ -36,10 +36,14 @@ import java.sql.Statement;
 import java.sql.Struct;
 import java.util.Map;
 import java.util.Properties;
-import java.util.concurrent.Executor;
 
 import org.apache.blur.jdbc.util.NotImplemented;
 
+/**
+ * This Connection implementation is simply to provide the major of the method
+ * implementations that only throw not implemented exceptions. That way it's
+ * easier to see what has been implemented in the real class.
+ */
 public abstract class AbstractBlurConnection implements Connection {
 
   private Connection throwExceptionDelegate;
@@ -252,24 +256,25 @@ public abstract class AbstractBlurConnection implements Connection {
 
   // java 7
 
-//  public void setSchema(String schema) throws SQLException {
-//    throwExceptionDelegate.setSchema(schema);
-//  }
-//
-//  public String getSchema() throws SQLException {
-//    return throwExceptionDelegate.getSchema();
-//  }
-//
-//  public void abort(Executor executor) throws SQLException {
-//    throwExceptionDelegate.abort(executor);
-//  }
-//
-//  public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
{
-//    throwExceptionDelegate.setNetworkTimeout(executor, milliseconds);
-//  }
-//
-//  public int getNetworkTimeout() throws SQLException {
-//    return throwExceptionDelegate.getNetworkTimeout();
-//  }
+  // public void setSchema(String schema) throws SQLException {
+  // throwExceptionDelegate.setSchema(schema);
+  // }
+  //
+  // public String getSchema() throws SQLException {
+  // return throwExceptionDelegate.getSchema();
+  // }
+  //
+  // public void abort(Executor executor) throws SQLException {
+  // throwExceptionDelegate.abort(executor);
+  // }
+  //
+  // public void setNetworkTimeout(Executor executor, int milliseconds) throws
+  // SQLException {
+  // throwExceptionDelegate.setNetworkTimeout(executor, milliseconds);
+  // }
+  //
+  // public int getNetworkTimeout() throws SQLException {
+  // return throwExceptionDelegate.getNetworkTimeout();
+  // }
 
 }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d61fd212/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurDatabaseMetaData.java
----------------------------------------------------------------------
diff --git a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurDatabaseMetaData.java
b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurDatabaseMetaData.java
index bc51a4a..a4354b2 100644
--- a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurDatabaseMetaData.java
+++ b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurDatabaseMetaData.java
@@ -27,6 +27,11 @@ import java.sql.SQLException;
 
 import org.apache.blur.jdbc.util.NotImplemented;
 
+/**
+ * This DatabaseMetaData implementation is simply to provide the major of the method
+ * implementations that only throw not implemented exceptions. That way it's
+ * easier to see what has been implemented in the real class.
+ */
 public abstract class AbstractBlurDatabaseMetaData implements DatabaseMetaData {
 
   private DatabaseMetaData throwExceptionDelegate;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d61fd212/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurPreparedStatement.java
----------------------------------------------------------------------
diff --git a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurPreparedStatement.java
b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurPreparedStatement.java
index eef2bec..1c6c6df 100644
--- a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurPreparedStatement.java
+++ b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurPreparedStatement.java
@@ -44,6 +44,11 @@ import java.util.Calendar;
 
 import org.apache.blur.jdbc.util.NotImplemented;
 
+/**
+ * This PreparedStatement implementation is simply to provide the major of the
+ * method implementations that only throw not implemented exceptions. That way
+ * it's easier to see what has been implemented in the real class.
+ */
 public class AbstractBlurPreparedStatement implements PreparedStatement {
 
   private PreparedStatement throwExceptionDelegate;
@@ -428,6 +433,7 @@ public class AbstractBlurPreparedStatement implements PreparedStatement
{
     throwExceptionDelegate.setURL(parameterIndex, x);
   }
 
+  @SuppressWarnings("deprecation")
   public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException
{
     throwExceptionDelegate.setUnicodeStream(parameterIndex, x, length);
   }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d61fd212/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurResultSet.java
----------------------------------------------------------------------
diff --git a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurResultSet.java
b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurResultSet.java
index ab33e70..15b979a 100644
--- a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurResultSet.java
+++ b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurResultSet.java
@@ -43,6 +43,11 @@ import java.util.Map;
 
 import org.apache.blur.jdbc.util.NotImplemented;
 
+/**
+ * This ResultSet implementation is simply to provide the major of the
+ * method implementations that only throw not implemented exceptions. That way
+ * it's easier to see what has been implemented in the real class.
+ */
 public abstract class AbstractBlurResultSet implements ResultSet {
 
   private ResultSet throwExceptionDelegate;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d61fd212/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurResultSetMetaData.java
----------------------------------------------------------------------
diff --git a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurResultSetMetaData.java
b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurResultSetMetaData.java
index d9669ca..7b39828 100644
--- a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurResultSetMetaData.java
+++ b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurResultSetMetaData.java
@@ -24,6 +24,11 @@ import java.sql.SQLException;
 
 import org.apache.blur.jdbc.util.NotImplemented;
 
+/**
+ * This ResultSetMetaData implementation is simply to provide the major of the
+ * method implementations that only throw not implemented exceptions. That way
+ * it's easier to see what has been implemented in the real class.
+ */
 public abstract class AbstractBlurResultSetMetaData implements ResultSetMetaData {
 
   private ResultSetMetaData throwExceptionDelegate;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d61fd212/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurStatement.java
----------------------------------------------------------------------
diff --git a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurStatement.java
b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurStatement.java
index ff0f203..c986b72 100644
--- a/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurStatement.java
+++ b/src/blur-jdbc/src/main/java/org/apache/blur/jdbc/abstractimpl/AbstractBlurStatement.java
@@ -27,6 +27,11 @@ import java.sql.Statement;
 
 import org.apache.blur.jdbc.util.NotImplemented;
 
+/**
+ * This Statement implementation is simply to provide the major of the
+ * method implementations that only throw not implemented exceptions. That way
+ * it's easier to see what has been implemented in the real class.
+ */
 public class AbstractBlurStatement implements Statement {
 
   private Statement throwExceptionDelegate;


Mime
View raw message