org.apache.cassandra.cql.jdbc
Interface CassandraResultSetMetaData


public interface CassandraResultSetMetaData

ResultSetMetaData give lots of nice detailed type inforamtion about column values. This interface aims to do the same thing but distinguishes column names and values.


Method Summary
 byte[] getKey()
          exposes row key
 java.lang.String getNameClassName(int column)
           
 int getNameDisplaySize(int column)
           
 int getNamePrecision(int column)
           
 int getNameScale(int column)
           
 int getNameType(int column)
           
 java.lang.String getNameTypeName(int column)
           
 java.lang.String getValueClassName(int column)
           
 int getValueDisplaySize(int column)
           
 int getValuePrecision(int column)
           
 int getValueScale(int column)
           
 int getValueType(int column)
           
 java.lang.String getValueTypeName(int column)
           
 boolean isNameCaseSensitive(int column)
           
 boolean isNameCurrency(int column)
           
 boolean isNameSigned(int column)
           
 boolean isValueCaseSensitive(int column)
           
 boolean isValueCurrency(int column)
           
 boolean isValueSigned(int column)
           
 

Method Detail

getKey

byte[] getKey()
exposes row key


isNameCaseSensitive

boolean isNameCaseSensitive(int column)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

isNameCurrency

boolean isNameCurrency(int column)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

isNameSigned

boolean isNameSigned(int column)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getNameDisplaySize

int getNameDisplaySize(int column)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getNamePrecision

int getNamePrecision(int column)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getNameScale

int getNameScale(int column)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getNameType

int getNameType(int column)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

getNameTypeName

java.lang.String getNameTypeName(int column)
                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getNameClassName

java.lang.String getNameClassName(int column)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

isValueCaseSensitive

boolean isValueCaseSensitive(int column)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

isValueCurrency

boolean isValueCurrency(int column)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

isValueSigned

boolean isValueSigned(int column)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getValueDisplaySize

int getValueDisplaySize(int column)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

getValuePrecision

int getValuePrecision(int column)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getValueScale

int getValueScale(int column)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getValueType

int getValueType(int column)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getValueTypeName

java.lang.String getValueTypeName(int column)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getValueClassName

java.lang.String getValueClassName(int column)
                                   throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2011 The Apache Software Foundation