Row
Represents a row in a table.
| Methods |
| void |
commit()
This record has been committed.
|
| void |
commit()
This record has been committed. The session id is reset.
|
| int |
getByteCount(Data dummy)
Get the number of bytes required for the data.
|
| int |
getByteCount(Data dummy)
Get the number of bytes required for the data.
Parameters:
dummy - the template buffer
Returns:
the number of bytes
|
| Row |
getCopy()
Get a copy of the row that is distinct from (not equal to) this row.
|
| Row |
getCopy()
Get a copy of the row that is distinct from (not equal to) this row.
This is used for FOR UPDATE to allow pseudo-updating a row.
Returns:
a new row with the same data
|
| int |
getSessionId()
Get session id.
|
| int |
getSessionId()
Get session id.
Returns:
the session id
|
| Value[] |
getValueList()
Get values.
|
| Value[] |
getValueList()
Get values.
Returns:
values
|
| boolean |
isDeleted()
Check if the row is deleted.
|
| boolean |
isDeleted()
Check if the row is deleted.
Returns:
{@code true} if the row is deleted
|
| boolean |
isEmpty()
Check if this is an empty row.
|
| boolean |
isEmpty()
Check if this is an empty row.
Returns:
{@code true} if the row is empty
|
| void |
setDeleted(boolean deleted)
Mark the row as deleted.
|
| void |
setDeleted(boolean deleted)
Mark the row as deleted.
Parameters:
deleted - deleted flag
|
| void |
setSessionId(int sessionId)
Set session id.
|
| void |
setSessionId(int sessionId)
Set session id.
Parameters:
sessionId - the session id
|
| void |
setVersion(int version)
Set version.
|
| void |
setVersion(int version)
Set version.
Parameters:
version - row version
|