Package org.nuxeo.ecm.core.storage.sql
Class RowMapper.RowUpdate
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.sql.RowMapper.RowUpdate
-
- All Implemented Interfaces:
Serializable
,Comparable<RowMapper.RowUpdate>
- Enclosing interface:
- RowMapper
public static final class RowMapper.RowUpdate extends Object implements Serializable, Comparable<RowMapper.RowUpdate>
ARow
and a list of its keys that have to be updated.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,Serializable>
conditions
Collection<String>
keys
int
pos
Row
row
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(RowMapper.RowUpdate other)
boolean
equals(Object other)
int
hashCode()
void
setConditions(Map<String,Serializable> conditions)
String
toString()
-
-
-
Field Detail
-
row
public final Row row
-
keys
public final Collection<String> keys
-
pos
public final int pos
-
conditions
public Map<String,Serializable> conditions
-
-
Constructor Detail
-
RowUpdate
public RowUpdate(Row row, Collection<String> keys)
Constructor for simple fragment update.
-
RowUpdate
public RowUpdate(Row row)
Constructor for collection fragment full update.
-
RowUpdate
public RowUpdate(Row row, int pos)
Constructor for collection fragment right push update.
-
-
Method Detail
-
setConditions
public void setConditions(Map<String,Serializable> conditions)
-
compareTo
public int compareTo(RowMapper.RowUpdate other)
- Specified by:
compareTo
in interfaceComparable<RowMapper.RowUpdate>
-
-