com.hardcode.gdbms.engine.data.db
Class JDBCSupport.Spatial2AlphaMetadata

java.lang.Object
  extended by com.hardcode.gdbms.engine.data.db.JDBCSupport.Spatial2AlphaMetadata
All Implemented Interfaces:
DriverMetadata
Enclosing class:
JDBCSupport

public static class JDBCSupport.Spatial2AlphaMetadata
extends java.lang.Object
implements DriverMetadata


Constructor Summary
JDBCSupport.Spatial2AlphaMetadata(SpatialDriverMetadata metadata)
           
 
Method Summary
 int getFieldCount()
          Gets the number of fields
 java.lang.String getFieldName(int fieldId)
          Gets the name of the field.
 java.lang.String getFieldParam(int fieldId, java.lang.String paramName)
           
 java.util.HashMap<java.lang.String,java.lang.String> getFieldParams(int fieldId)
          Gets the parameters for the specified field
 java.lang.String getFieldType(int fieldId)
          Gets the name of the field type.
 java.lang.String[] getParamNames(int fieldId)
          Gets the param names for the specified field
 java.lang.String[] getParamValues(int fieldId)
          Gets the param values for the specified field
 java.lang.String[] getPrimaryKeys()
          Gets the names of the fields which are primary key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCSupport.Spatial2AlphaMetadata

public JDBCSupport.Spatial2AlphaMetadata(SpatialDriverMetadata metadata)
                                  throws DriverException
Throws:
DriverException
Method Detail

getFieldCount

public int getFieldCount()
                  throws DriverException
Description copied from interface: DriverMetadata
Gets the number of fields

Specified by:
getFieldCount in interface DriverMetadata
Returns:
Throws:
DriverException

getFieldName

public java.lang.String getFieldName(int fieldId)
                              throws DriverException
Description copied from interface: DriverMetadata
Gets the name of the field.

Specified by:
getFieldName in interface DriverMetadata
Returns:
Throws:
DriverException

getFieldType

public java.lang.String getFieldType(int fieldId)
                              throws DriverException
Description copied from interface: DriverMetadata
Gets the name of the field type. It should be one of the values returned by the getAvailableTypes method in the driver

Specified by:
getFieldType in interface DriverMetadata
Returns:
Throws:
DriverException

getFieldParam

public java.lang.String getFieldParam(int fieldId,
                                      java.lang.String paramName)
                               throws DriverException
Specified by:
getFieldParam in interface DriverMetadata
Returns:
Throws:
DriverException

getParamNames

public java.lang.String[] getParamNames(int fieldId)
                                 throws DriverException
Description copied from interface: DriverMetadata
Gets the param names for the specified field

Specified by:
getParamNames in interface DriverMetadata
Returns:
Throws:
DriverException

getParamValues

public java.lang.String[] getParamValues(int fieldId)
                                  throws DriverException
Description copied from interface: DriverMetadata
Gets the param values for the specified field

Specified by:
getParamValues in interface DriverMetadata
Returns:
Throws:
DriverException

getFieldParams

public java.util.HashMap<java.lang.String,java.lang.String> getFieldParams(int fieldId)
                                                                    throws DriverException
Description copied from interface: DriverMetadata
Gets the parameters for the specified field

Specified by:
getFieldParams in interface DriverMetadata
Returns:
Throws:
DriverException

getPrimaryKeys

public java.lang.String[] getPrimaryKeys()
                                  throws DriverException
Description copied from interface: DriverMetadata
Gets the names of the fields which are primary key. An array of zero elements if there isn't any primary key

Specified by:
getPrimaryKeys in interface DriverMetadata
Returns:
Throws:
DriverException


Copyright © 2005-2006 . All Rights Reserved.