java.io.Externalizable
, java.io.Serializable
, Formatable
, TypedFormat
public class RowMultiSetImpl extends BaseTypeIdImpl
Row data type as described in the 2003 SQL spec in part 2, section 4.8.
Modifier and Type | Field | Description |
---|---|---|
private java.lang.String[] |
_columnNames |
This class implements Formatable.
|
private TypeDescriptor[] |
_types |
JDBCTypeId, schemaName, unqualifiedName
Constructor | Description |
---|---|
RowMultiSetImpl() |
0-arg constructor for Formatable machinery.
|
RowMultiSetImpl(java.lang.String[] columnNames,
TypeDescriptor[] types) |
Construct from column names and their types.
|
Modifier and Type | Method | Description |
---|---|---|
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 |
setTypes(TypeDescriptor[] types) |
Set the types of the columns in this row set
|
void |
writeExternal(java.io.ObjectOutput out) |
Write ourself to a formatable stream.
|
equals, getSchemaName, getUnqualifiedName, hashCode, isAnsiUDT, toParsableString, toString, userType
private java.lang.String[] _columnNames
private TypeDescriptor[] _types
public RowMultiSetImpl()
0-arg constructor for Formatable machinery.
public RowMultiSetImpl(java.lang.String[] columnNames, TypeDescriptor[] types)
Construct from column names and their types.
public java.lang.String[] getColumnNames()
public TypeDescriptor[] getTypes()
public void setTypes(TypeDescriptor[] types)
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 errorjava.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 errorApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.