Class RowMultiSetImpl
java.lang.Object
org.apache.derby.catalog.types.BaseTypeIdImpl
org.apache.derby.catalog.types.RowMultiSetImpl
- All Implemented Interfaces:
Externalizable, Serializable, Formatable, TypedFormat
Row data type as described in the 2003 SQL spec in part 2, section 4.8.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String[]////////////////////////////////////////////////////////////////////////////////private TypeDescriptor[]Fields inherited from class BaseTypeIdImpl
JDBCTypeId, schemaName, unqualifiedName -
Constructor Summary
ConstructorsConstructorDescription0-arg constructor for Formatable machinery.RowMultiSetImpl(String[] columnNames, TypeDescriptor[] types) Construct from column names and their types. -
Method Summary
Modifier and TypeMethodDescriptionString[]Get the names of the columns in this row setintGet the corresponding JDBC type.Get the SQL name of this multi set.intGet the id which indicates which class deserializes us.getTypes()Get the types of the columns in this row setvoidRead ourself from a formatable stream.voidsetTypes(TypeDescriptor[] types) Set the types of the columns in this row setvoidWrite ourself to a formatable stream.Methods inherited from class BaseTypeIdImpl
equals, getSchemaName, getUnqualifiedName, hashCode, isAnsiUDT, toParsableString, toString, userType
-
Field Details
-
_columnNames
//////////////////////////////////////////////////////////////////////////////// -
_types
-
-
Constructor Details
-
RowMultiSetImpl
public RowMultiSetImpl()0-arg constructor for Formatable machinery.
-
RowMultiSetImpl
Construct from column names and their types.
-
-
Method Details
-
getColumnNames
Get the names of the columns in this row set -
getTypes
Get the types of the columns in this row set -
setTypes
Set the types of the columns in this row set -
getSQLTypeName
Get the SQL name of this multi set. This is the name suitable for replaying the DDL to create a Table Function.
- Overrides:
getSQLTypeNamein classBaseTypeIdImpl- Returns:
- A String containing the SQL name of this type.
-
getJDBCTypeId
public int getJDBCTypeId()Get the corresponding JDBC type.
- Overrides:
getJDBCTypeIdin classBaseTypeIdImpl- Returns:
- a jdbc type, e.g. java.sql.Types.DECIMAL
- See Also:
-
getTypeFormatId
public int getTypeFormatId()Get the id which indicates which class deserializes us.
- Specified by:
getTypeFormatIdin interfaceTypedFormat- Overrides:
getTypeFormatIdin classBaseTypeIdImpl- Returns:
- the formatID of this class
-
readExternal
Read ourself from a formatable stream.
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classBaseTypeIdImpl- Parameters:
in- read this.- Throws:
IOException- thrown on errorClassNotFoundException- thrown on error
-
writeExternal
Write ourself to a formatable stream.
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classBaseTypeIdImpl- Parameters:
out- write bytes here.- Throws:
IOException- thrown on error
-