| |
|
| java.lang.Object org.apache.derby.impl.sql.GenericResultDescription
GenericResultDescription | final public class GenericResultDescription implements ResultDescription,Formatable(Code) | | GenericResultDescription: basic implementation of result
description, used in conjunction with the other
implementations in this package. This implementation
of ResultDescription may be used by anyone.
author: ames |
GenericResultDescription | public GenericResultDescription()(Code) | | Niladic constructor for Formatable
|
GenericResultDescription | public GenericResultDescription(ResultColumnDescriptor[] columns, String statementType)(Code) | | Build a GenericResultDescription from columns and type
Parameters: columns - an array of col descriptors Parameters: statementType - the type |
GenericResultDescription | public GenericResultDescription(ResultDescription rd, int[] theCols)(Code) | | Build a GenericResultDescription
Parameters: rd - the result description Parameters: theCols - the columns to take from the input rd |
getTypeFormatId | public int getTypeFormatId()(Code) | | Get the formatID which corresponds to this class.
the formatID of this class |
truncateColumns | public ResultDescription truncateColumns(int truncateFrom)(Code) | | Get a new result description that has been truncated
from input column number. If the input column is
5, then columns 5 to getColumnCount() are removed.
The new ResultDescription points to the same
ColumnDescriptors (this method performs a shallow
copy.
Parameters: truncateFrom - the starting column to remove a new ResultDescription |
|
|
|