VoltXMLElement voltAnnotateColumnXML ( VoltXMLElement exp ) { if ( tableName != null ) { if ( rangeVariable != null && rangeVariable . rangeTable != null && rangeVariable . tableAlias != null && rangeVariable . rangeTable . tableType == TableBase . SYSTEM_SUBQUERY ) { exp . attributes . put ( "table" , rangeVariable . tableAlias . name . toUpperCase ( ) ) ; } else { exp . attributes . put ( "table" , tableName . toUpperCase ( ) ) ; } } exp . attributes . put ( "column" , columnName . toUpperCase ( ) ) ; if ( ( alias == null ) || ( getAlias ( ) . length ( ) == 0 ) ) { exp . attributes . put ( "alias" , columnName . toUpperCase ( ) ) ; } if ( rangeVariable != null && rangeVariable . tableAlias != null ) { exp . attributes . put ( "tablealias" , rangeVariable . tableAlias . name . toUpperCase ( ) ) ; } exp . attributes . put ( "index" , Integer . toString ( columnIndex ) ) ; return exp ; }
VoltDB added method to provide detail for a non - catalog - dependent representation of this HSQLDB object .