|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.catalog.types.BaseTypeIdImpl
org.apache.derby.catalog.types.RowMultiSetImpl
public class RowMultiSetImpl
Row data type as described in the 2003 SQL spec in part 2, section 4.8.
Field Summary | |
---|---|
private java.lang.String[] |
_columnNames
This class implements Formatable. |
private TypeDescriptor[] |
_types
|
Fields inherited from class org.apache.derby.catalog.types.BaseTypeIdImpl |
---|
JDBCTypeId, schemaName, unqualifiedName |
Constructor Summary | |
---|---|
RowMultiSetImpl()
0-arg constructor for Formatable machinery. |
|
RowMultiSetImpl(java.lang.String[] columnNames,
TypeDescriptor[] types)
Construct from column names and their types. |
Method Summary | |
---|---|
java.lang.String[] |
getColumnNames()
Get the names of the columns in this row set |
int |
getJDBCTypeId()
Get the corresponding JDBC type. |
java.lang.String |
getSQLTypeName()
Get the SQL name of this multi set. |
int |
getTypeFormatId()
Get the id which indicates which class deserializes us. |
TypeDescriptor[] |
getTypes()
Get the types of the columns in this row set |
void |
readExternal(java.io.ObjectInput in)
Read ourself from a formatable stream. |
void |
writeExternal(java.io.ObjectOutput out)
Write ourself to a formatable stream. |
Methods inherited from class org.apache.derby.catalog.types.BaseTypeIdImpl |
---|
equals, getSchemaName, getUnqualifiedName, hashCode, isAnsiUDT, toParsableString, toString, userType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String[] _columnNames
private TypeDescriptor[] _types
Constructor Detail |
---|
public RowMultiSetImpl()
0-arg constructor for Formatable machinery.
public RowMultiSetImpl(java.lang.String[] columnNames, TypeDescriptor[] types)
Construct from column names and their types.
Method Detail |
---|
public java.lang.String[] getColumnNames()
public TypeDescriptor[] getTypes()
public java.lang.String getSQLTypeName()
Get the SQL name of this multi set. This is the name suitable for replaying the DDL to create a Table Function.
getSQLTypeName
in class BaseTypeIdImpl
public int getJDBCTypeId()
Get the corresponding JDBC type.
getJDBCTypeId
in class BaseTypeIdImpl
Types
public int getTypeFormatId()
Get the id which indicates which class deserializes us.
getTypeFormatId
in interface TypedFormat
getTypeFormatId
in class BaseTypeIdImpl
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
Read ourself from a formatable stream.
readExternal
in interface java.io.Externalizable
readExternal
in class BaseTypeIdImpl
in
- read this.
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on errorpublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
Write ourself to a formatable stream.
writeExternal
in interface java.io.Externalizable
writeExternal
in class BaseTypeIdImpl
out
- write bytes here.
java.io.IOException
- thrown on error
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |