Class InternalResultSetMetaData

  • All Implemented Interfaces:
    ToolResultSetMetaData

    public class InternalResultSetMetaData
    extends Object
    implements ToolResultSetMetaData
    REDWOOD INTERNAL USE ONLY, NOT FOR CUSTOMER USE. Internal tool result set metadata for client JDBC driver.
    • Constructor Detail

      • InternalResultSetMetaData

        public InternalResultSetMetaData​(ResultSetMetaData newMetaData)
    • Method Detail

      • getColumnClassName

        public String getColumnClassName​(int newColumnIndex)
        Description copied from interface: ToolResultSetMetaData
        Get the class name for the specified column, columns start at 1. This corresponds to the <classname> tag in the XML format, the value is of the format:
        <ObjectType>.<FieldName>
        Specified by:
        getColumnClassName in interface ToolResultSetMetaData
        Parameters:
        newColumnIndex - the column index, 1 based.
        Returns:
        the class name.
      • getColumnLabel

        public String getColumnLabel​(int newColumnIndex)
        Description copied from interface: ToolResultSetMetaData
        Get the label for the specified column, columns start at 1. This corresponds to the <label%gt; tag in the XML format, the value is either the same as the class name, or the alias specified in the SQL query.
        Specified by:
        getColumnLabel in interface ToolResultSetMetaData
        Parameters:
        newColumnIndex - the column index, 1 based.
        Returns:
        the label.
      • getColumnTypeName

        public String getColumnTypeName​(int newColumnIndex)
        Description copied from interface: ToolResultSetMetaData
        Get the type for the specified column, columns start at 1. This corresponds to the <datatype%gt; tag in the XML format, the value is one of:
        • obj.<ObjectType> - Another object
        • Integer - A 64 bit integer (Java Long).
        • Number - A general number (Java BigDecimal).
        • DateTimeZone - A date with time zone. (Java String/Calendar or Redwood DateTimeZone object)
        • String - a String.
        Specified by:
        getColumnTypeName in interface ToolResultSetMetaData
        Parameters:
        newColumnIndex - the column index, 1 based.
        Returns:
        the type name.
      • getColumnTypeInternal

        public String getColumnTypeInternal​(int columnIndex)