Class OnDuplicateUpdateContext


  • public final class OnDuplicateUpdateContext
    extends Object
    • Constructor Detail

      • OnDuplicateUpdateContext

        public OnDuplicateUpdateContext​(Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.assignment.AssignmentSegment> assignments,
                                        List<Object> params,
                                        int parametersOffset)
    • Method Detail

      • getValue

        public Object getValue​(int index)
        Get value.
        Parameters:
        index - index
        Returns:
        value
      • getColumn

        public org.apache.shardingsphere.sql.parser.sql.common.segment.dml.column.ColumnSegment getColumn​(int index)
        Get on duplicate key update column by index of this clause.
        Parameters:
        index - index
        Returns:
        columnSegment