StatementDMQL compileTriggerSetStatement ( Table table , RangeVariable [ ] rangeVars ) { read ( ) ; Expression [ ] updateExpressions ; int [ ] columnMap ; OrderedHashSet colNames = new OrderedHashSet ( ) ; HsqlArrayList exprList = new HsqlArrayList ( ) ; RangeVariable [ ] targetRangeVars = new RangeVariable [ ] { rangeVars [ TriggerDef . NEW_ROW ] } ; readSetClauseList ( targetRangeVars , colNames , exprList ) ; columnMap = table . getColumnIndexes ( colNames ) ; updateExpressions = new Expression [ exprList . size ( ) ] ; exprList . toArray ( updateExpressions ) ; resolveUpdateExpressions ( table , rangeVars , columnMap , updateExpressions , RangeVariable . emptyArray ) ; StatementDMQL cs = new StatementDML ( session , table , rangeVars , columnMap , updateExpressions , compileContext ) ; return cs ; }
Creates SET Statement for a trigger row from this parse context .