dke.smwp.serialize.dbtypes
Class TColumnTable
java.lang.Object
|
+--dke.smwp.serialize.dbtypes.TColumnTable
- All Implemented Interfaces:
- oracle.jdbc.internal.ObjectData, oracle.jdbc.internal.ObjectDataFactory, oracle.sql.ORAData, oracle.sql.ORADataFactory
- public class TColumnTable
- extends java.lang.Object
- implements oracle.sql.ORAData, oracle.sql.ORADataFactory
- Version:
- 1.0
- Author:
- Martin Bernauer
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
_SQL_NAME
public static final java.lang.String _SQL_NAME
_SQL_TYPECODE
public static final int _SQL_TYPECODE
_array
oracle.jpub.runtime.MutableArray _array
_TColumnTableFactory
private static final TColumnTable _TColumnTableFactory
TColumnTable
public TColumnTable()
- default constructor
TColumnTable
public TColumnTable(Tcolumn[] a)
- Parameters:
a
- array of colums (= tuple)
getORADataFactory
public static oracle.sql.ORADataFactory getORADataFactory()
- Returns:
- factory
toDatum
public oracle.sql.Datum toDatum(java.sql.Connection c)
throws java.sql.SQLException
- ORAData interface
- Specified by:
toDatum
in interface oracle.sql.ORAData
- Parameters:
c
- - Returns:
- datum
- Throws:
java.sql.SQLException
-
create
public oracle.sql.ORAData create(oracle.sql.Datum d,
int sqlType)
throws java.sql.SQLException
- ORADataFactory interface
- Specified by:
create
in interface oracle.sql.ORADataFactory
- Parameters:
d
- sqlType
- - Returns:
- data
- Throws:
java.sql.SQLException
-
length
public int length()
throws java.sql.SQLException
- Returns:
- length
- Throws:
java.sql.SQLException
-
getBaseType
public int getBaseType()
throws java.sql.SQLException
- Returns:
- base type
- Throws:
java.sql.SQLException
-
getBaseTypeName
public java.lang.String getBaseTypeName()
throws java.sql.SQLException
- Returns:
- base type name
- Throws:
java.sql.SQLException
-
getDescriptor
public oracle.sql.ArrayDescriptor getDescriptor()
throws java.sql.SQLException
- Returns:
- descriptor
- Throws:
java.sql.SQLException
-
getArray
public Tcolumn[] getArray()
throws java.sql.SQLException
- array accessor methods
- Returns:
- tuple
- Throws:
java.sql.SQLException
-
setArray
public void setArray(Tcolumn[] a)
throws java.sql.SQLException
- Parameters:
a
- tuple- Throws:
java.sql.SQLException
-
getArray
public Tcolumn[] getArray(long index,
int count)
throws java.sql.SQLException
- Parameters:
index
- count
- - Returns:
- tuple
- Throws:
java.sql.SQLException
-
setArray
public void setArray(Tcolumn[] a,
long index)
throws java.sql.SQLException
- Parameters:
a
- tupleindex
- - Throws:
java.sql.SQLException
-
getElement
public Tcolumn getElement(long index)
throws java.sql.SQLException
- Parameters:
index
- - Returns:
- column
- Throws:
java.sql.SQLException
-
setElement
public void setElement(Tcolumn a,
long index)
throws java.sql.SQLException
- Parameters:
a
- columnindex
- - Throws:
java.sql.SQLException
-
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
- string representation