org.drizzle.jdbc
Class DrizzleParameterMetaData

java.lang.Object
  extended by org.drizzle.jdbc.DrizzleParameterMetaData
All Implemented Interfaces:
java.sql.ParameterMetaData, java.sql.Wrapper

public class DrizzleParameterMetaData
extends java.lang.Object
implements java.sql.ParameterMetaData

Very basic info about the parameterized query, only reliable method is getParameterCount();


Field Summary
 
Fields inherited from interface java.sql.ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
 
Constructor Summary
DrizzleParameterMetaData(ParameterizedQuery dQuery)
           
 
Method Summary
 java.lang.String getParameterClassName(int i)
           
 int getParameterCount()
           
 int getParameterMode(int i)
           
 int getParameterType(int i)
           
 java.lang.String getParameterTypeName(int i)
           
 int getPrecision(int i)
           
 int getScale(int i)
           
 int isNullable(int i)
           
 boolean isSigned(int i)
           
 boolean isWrapperFor(java.lang.Class<?> aClass)
           
<T> T
unwrap(java.lang.Class<T> tClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrizzleParameterMetaData

public DrizzleParameterMetaData(ParameterizedQuery dQuery)
Method Detail

getParameterCount

public int getParameterCount()
                      throws java.sql.SQLException
Specified by:
getParameterCount in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

isNullable

public int isNullable(int i)
               throws java.sql.SQLException
Specified by:
isNullable in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

isSigned

public boolean isSigned(int i)
                 throws java.sql.SQLException
Specified by:
isSigned in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getPrecision

public int getPrecision(int i)
                 throws java.sql.SQLException
Specified by:
getPrecision in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getScale

public int getScale(int i)
             throws java.sql.SQLException
Specified by:
getScale in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getParameterType

public int getParameterType(int i)
                     throws java.sql.SQLException
Specified by:
getParameterType in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getParameterTypeName

public java.lang.String getParameterTypeName(int i)
                                      throws java.sql.SQLException
Specified by:
getParameterTypeName in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getParameterClassName

public java.lang.String getParameterClassName(int i)
                                       throws java.sql.SQLException
Specified by:
getParameterClassName in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getParameterMode

public int getParameterMode(int i)
                     throws java.sql.SQLException
Specified by:
getParameterMode in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

unwrap

public <T> T unwrap(java.lang.Class<T> tClass)
         throws java.sql.SQLException
Specified by:
unwrap in interface java.sql.Wrapper
Throws:
java.sql.SQLException

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> aClass)
                     throws java.sql.SQLException
Specified by:
isWrapperFor in interface java.sql.Wrapper
Throws:
java.sql.SQLException


Copyright © 2012. All Rights Reserved.