public final class OnDuplicateUpdateContext extends Object
| Constructor and Description |
|---|
OnDuplicateUpdateContext(Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.assignment.AssignmentSegment> assignments,
List<Object> parameters,
int parametersOffset) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Object |
getValue(int index)
Get value.
|
public OnDuplicateUpdateContext(Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.assignment.AssignmentSegment> assignments, List<Object> parameters, int parametersOffset)
public Object getValue(int index)
index - indexpublic org.apache.shardingsphere.sql.parser.sql.common.segment.dml.column.ColumnSegment getColumn(int index)
index - indexCopyright © 2021 The Apache Software Foundation. All rights reserved.