com.endeca.edf.adapter.plugins
Class DefaultJdbcColumnHandler

java.lang.Object
  extended by com.endeca.edf.adapter.plugins.DefaultJdbcColumnHandler
All Implemented Interfaces:
JdbcColumnHandler, JdbcColumnTypeHandler

public class DefaultJdbcColumnHandler
extends java.lang.Object
implements JdbcColumnTypeHandler


Constructor Summary
DefaultJdbcColumnHandler()
           
 
Method Summary
 PVal handle_ARRAY(java.sql.Array array, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_BIGINT(long l, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_BINARY(byte[] bytes, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_BIT(boolean b, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_BLOB(java.sql.Blob blob, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_BOOLEAN(boolean b, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_CHAR(java.lang.String s, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_CLOB(java.sql.Clob clob, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_DATALINK(java.net.URL url, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_DATE(java.sql.Date date, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_DECIMAL(java.math.BigDecimal bigDecimal, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_DISTINCT(java.lang.Object object, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_DOUBLE(double d, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_FLOAT(double d, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_INTEGER(int i, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_JAVA_OBJECT(java.lang.Object object, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_LONGVARBINARY(java.io.InputStream inputStream, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_LONGVARCHAR(java.io.Reader reader, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_NUMERIC(java.math.BigDecimal bigDecimal, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_OTHER(java.lang.Object other, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_REAL(float f, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_REF(java.sql.Ref ref, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_SMALLINT(short s, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_STRUCT(java.lang.Object struct, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_TIME(java.sql.Time time, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_TIMESTAMP(java.sql.Timestamp timestamp, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_TINYINT(byte b, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_VARBINARY(byte[] bytes, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handle_VARCHAR(java.lang.String s, java.sql.ResultSetMetaData metaData, int columnNumber)
           
 PVal handleColumn(java.sql.ResultSet resultSet, int columnNumber)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJdbcColumnHandler

public DefaultJdbcColumnHandler()
Method Detail

handleColumn

public PVal handleColumn(java.sql.ResultSet resultSet,
                         int columnNumber)
                  throws java.sql.SQLException
Specified by:
handleColumn in interface JdbcColumnHandler
Throws:
java.sql.SQLException

handle_ARRAY

public PVal handle_ARRAY(java.sql.Array array,
                         java.sql.ResultSetMetaData metaData,
                         int columnNumber)
                  throws java.sql.SQLException
Specified by:
handle_ARRAY in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_BINARY

public PVal handle_BINARY(byte[] bytes,
                          java.sql.ResultSetMetaData metaData,
                          int columnNumber)
                   throws java.sql.SQLException
Specified by:
handle_BINARY in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_BLOB

public PVal handle_BLOB(java.sql.Blob blob,
                        java.sql.ResultSetMetaData metaData,
                        int columnNumber)
                 throws java.sql.SQLException
Specified by:
handle_BLOB in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_CLOB

public PVal handle_CLOB(java.sql.Clob clob,
                        java.sql.ResultSetMetaData metaData,
                        int columnNumber)
                 throws java.sql.SQLException
Specified by:
handle_CLOB in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_DISTINCT

public PVal handle_DISTINCT(java.lang.Object object,
                            java.sql.ResultSetMetaData metaData,
                            int columnNumber)
                     throws java.sql.SQLException
Specified by:
handle_DISTINCT in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_JAVA_OBJECT

public PVal handle_JAVA_OBJECT(java.lang.Object object,
                               java.sql.ResultSetMetaData metaData,
                               int columnNumber)
                        throws java.sql.SQLException
Specified by:
handle_JAVA_OBJECT in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_LONGVARBINARY

public PVal handle_LONGVARBINARY(java.io.InputStream inputStream,
                                 java.sql.ResultSetMetaData metaData,
                                 int columnNumber)
                          throws java.sql.SQLException
Specified by:
handle_LONGVARBINARY in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_LONGVARCHAR

public PVal handle_LONGVARCHAR(java.io.Reader reader,
                               java.sql.ResultSetMetaData metaData,
                               int columnNumber)
                        throws java.sql.SQLException
Specified by:
handle_LONGVARCHAR in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_OTHER

public PVal handle_OTHER(java.lang.Object other,
                         java.sql.ResultSetMetaData metaData,
                         int columnNumber)
                  throws java.sql.SQLException
Specified by:
handle_OTHER in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_REF

public PVal handle_REF(java.sql.Ref ref,
                       java.sql.ResultSetMetaData metaData,
                       int columnNumber)
                throws java.sql.SQLException
Specified by:
handle_REF in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_STRUCT

public PVal handle_STRUCT(java.lang.Object struct,
                          java.sql.ResultSetMetaData metaData,
                          int columnNumber)
                   throws java.sql.SQLException
Specified by:
handle_STRUCT in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_VARBINARY

public PVal handle_VARBINARY(byte[] bytes,
                             java.sql.ResultSetMetaData metaData,
                             int columnNumber)
                      throws java.sql.SQLException
Specified by:
handle_VARBINARY in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_BIGINT

public PVal handle_BIGINT(long l,
                          java.sql.ResultSetMetaData metaData,
                          int columnNumber)
                   throws java.sql.SQLException
Specified by:
handle_BIGINT in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_BIT

public PVal handle_BIT(boolean b,
                       java.sql.ResultSetMetaData metaData,
                       int columnNumber)
                throws java.sql.SQLException
Specified by:
handle_BIT in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_BOOLEAN

public PVal handle_BOOLEAN(boolean b,
                           java.sql.ResultSetMetaData metaData,
                           int columnNumber)
                    throws java.sql.SQLException
Specified by:
handle_BOOLEAN in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_CHAR

public PVal handle_CHAR(java.lang.String s,
                        java.sql.ResultSetMetaData metaData,
                        int columnNumber)
                 throws java.sql.SQLException
Specified by:
handle_CHAR in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_DATE

public PVal handle_DATE(java.sql.Date date,
                        java.sql.ResultSetMetaData metaData,
                        int columnNumber)
                 throws java.sql.SQLException
Specified by:
handle_DATE in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_DATALINK

public PVal handle_DATALINK(java.net.URL url,
                            java.sql.ResultSetMetaData metaData,
                            int columnNumber)
                     throws java.sql.SQLException
Specified by:
handle_DATALINK in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_DECIMAL

public PVal handle_DECIMAL(java.math.BigDecimal bigDecimal,
                           java.sql.ResultSetMetaData metaData,
                           int columnNumber)
                    throws java.sql.SQLException
Specified by:
handle_DECIMAL in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_DOUBLE

public PVal handle_DOUBLE(double d,
                          java.sql.ResultSetMetaData metaData,
                          int columnNumber)
                   throws java.sql.SQLException
Specified by:
handle_DOUBLE in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_FLOAT

public PVal handle_FLOAT(double d,
                         java.sql.ResultSetMetaData metaData,
                         int columnNumber)
                  throws java.sql.SQLException
Specified by:
handle_FLOAT in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_INTEGER

public PVal handle_INTEGER(int i,
                           java.sql.ResultSetMetaData metaData,
                           int columnNumber)
                    throws java.sql.SQLException
Specified by:
handle_INTEGER in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_NUMERIC

public PVal handle_NUMERIC(java.math.BigDecimal bigDecimal,
                           java.sql.ResultSetMetaData metaData,
                           int columnNumber)
                    throws java.sql.SQLException
Specified by:
handle_NUMERIC in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_REAL

public PVal handle_REAL(float f,
                        java.sql.ResultSetMetaData metaData,
                        int columnNumber)
                 throws java.sql.SQLException
Specified by:
handle_REAL in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_SMALLINT

public PVal handle_SMALLINT(short s,
                            java.sql.ResultSetMetaData metaData,
                            int columnNumber)
                     throws java.sql.SQLException
Specified by:
handle_SMALLINT in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_TIME

public PVal handle_TIME(java.sql.Time time,
                        java.sql.ResultSetMetaData metaData,
                        int columnNumber)
                 throws java.sql.SQLException
Specified by:
handle_TIME in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_TIMESTAMP

public PVal handle_TIMESTAMP(java.sql.Timestamp timestamp,
                             java.sql.ResultSetMetaData metaData,
                             int columnNumber)
                      throws java.sql.SQLException
Specified by:
handle_TIMESTAMP in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_TINYINT

public PVal handle_TINYINT(byte b,
                           java.sql.ResultSetMetaData metaData,
                           int columnNumber)
                    throws java.sql.SQLException
Specified by:
handle_TINYINT in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException

handle_VARCHAR

public PVal handle_VARCHAR(java.lang.String s,
                           java.sql.ResultSetMetaData metaData,
                           int columnNumber)
                    throws java.sql.SQLException
Specified by:
handle_VARCHAR in interface JdbcColumnTypeHandler
Throws:
java.sql.SQLException


2003, 2012 Oracle and/or its affiliates. All rights reserved.
Oracle and/or its affiliates Confidential