FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |
Action summary | |
---|---|
void |
commit()
Try to commit changes from this Row back to the table, which could result in an exception being thrown if the Row is not up to date. |
void |
copy(com.apama.memorystore.Row other)
Copy the contents of the specified other Row into this one. |
void |
forceCommit()
Commit this Row back to the table even if the Row is not up to date. |
any |
get(string name)
Get the value of the specified field in this row (can be used on all types). This will return a string for types that cannot be stored. Use getParsed() to parse to a type. |
any |
getAll(any prototype)
Fill in value of all keys in the supplied 'any' with values from the row. |
boolean |
getBoolean(string name)
Get the value of the specified field in this row (must only be used on boolean fields). |
decimal |
getDecimal(string name)
Get the value of the specified field in this row (must only be used on decimal fields). |
float |
getFloat(string name)
Get the value of the specified field in this row (must only be used on float fields). |
integer |
getInteger(string name)
Get the value of the specified field in this row (must only be used on integer fields). |
string |
getKey()
Get the key for this Row. |
sequence<string> |
getKeys()
Get all of the field names held in this Row. These are all of the valid values that can be passed to get(). Will include all Schema field names followed by any extra fields if the driver supports them. |
any |
getParsed(string name, string typeName)
Get the value of the specified field in this row parsed to the specified typeName. |
string |
getStoreName()
Get the name of the Store that contains this Row's Table. |
string |
getString(string name)
Get the value of the specified field in this row (must only be used on string fields). |
string |
getTableName()
Get the name of the Table that contains this Row. |
boolean |
inTable()
Indicate whether this row was in the table when the Row was created or updated. |
void |
remove()
Mark the row for deletion when the table is committed. |
void |
removeNonSchema(string name)
Remove a non-schema field from the row. |
void |
set(string name, any value)
Set the value of the specified field in this row (can be used with all types). Will use the string form if needed. |
void |
setAll(any value)
Set all values in this row from all available fields in the supplied any type. |
void |
setBoolean(string name, boolean b)
Set the value of the specified field in this row (must only be used on boolean fields). |
void |
setDecimal(string name, decimal d)
Set the value of the specified field in this row (must only be used on decimal fields). |
void |
setFloat(string name, float f)
Set the value of the specified field in this row (must only be used on float fields). |
void |
setInteger(string name, integer i)
Set the value of the specified field in this row (must only be used on integer fields). |
void |
setString(string name, string s)
Set the value of the specified field in this row (must only be used on string fields). |
any |
toAny()
Get the row as an any using the type the Store was created with (using prepareFromAny() or prepareFromTypeName()). |
dictionary<string, any> |
toDictionary()
Get a dictionary copy of the Row. |
boolean |
tryCommit()
Try to commit changes from this Row back to the table, returning false if the Row is not up to date. |
boolean |
tryCommitOrUpdate()
Try to commit, or update (losing local modifications) if not. |
void |
update()
Update the local Row event to reflect the current state of the shared MemoryStore table, losing any local modifications. |
Action detail |
---|
void commit()Try to commit changes from this Row back to the table, which could result in an exception being thrown if the Row is not up to date.
void copy(com.apama.memorystore.Row other)Copy the contents of the specified other Row into this one.
void forceCommit()Commit this Row back to the table even if the Row is not up to date.
any get(string name)Get the value of the specified field in this row (can be used on all types). This will return a string for types that cannot be stored. Use getParsed() to parse to a type.
any getAll(any prototype)Fill in value of all keys in the supplied 'any' with values from the row.
boolean getBoolean(string name)Get the value of the specified field in this row (must only be used on boolean fields).
decimal getDecimal(string name)Get the value of the specified field in this row (must only be used on decimal fields).
float getFloat(string name)Get the value of the specified field in this row (must only be used on float fields).
integer getInteger(string name)Get the value of the specified field in this row (must only be used on integer fields).
string getKey()Get the key for this Row.
sequence<string> getKeys()Get all of the field names held in this Row. These are all of the valid values that can be passed to get(). Will include all Schema field names followed by any extra fields if the driver supports them.
any getParsed(string name, string typeName)Get the value of the specified field in this row parsed to the specified typeName.
string getStoreName()Get the name of the Store that contains this Row's Table.
string getString(string name)Get the value of the specified field in this row (must only be used on string fields).
string getTableName()Get the name of the Table that contains this Row.
boolean inTable()Indicate whether this row was in the table when the Row was created or updated.
void remove()Mark the row for deletion when the table is committed.
void removeNonSchema(string name)Remove a non-schema field from the row.
void set(string name, any value)Set the value of the specified field in this row (can be used with all types). Will use the string form if needed.
void setAll(any value)Set all values in this row from all available fields in the supplied any type.
void setBoolean(string name, boolean b)Set the value of the specified field in this row (must only be used on boolean fields).
void setDecimal(string name, decimal d)Set the value of the specified field in this row (must only be used on decimal fields).
void setFloat(string name, float f)Set the value of the specified field in this row (must only be used on float fields).
void setInteger(string name, integer i)Set the value of the specified field in this row (must only be used on integer fields).
void setString(string name, string s)Set the value of the specified field in this row (must only be used on string fields).
any toAny()Get the row as an any using the type the Store was created with (using prepareFromAny() or prepareFromTypeName()).
dictionary<string, any> toDictionary()Get a dictionary copy of the Row.
boolean tryCommit()Try to commit changes from this Row back to the table, returning false if the Row is not up to date.
boolean tryCommitOrUpdate()Try to commit, or update (losing local modifications) if not.
void update()Update the local Row event to reflect the current state of the shared MemoryStore table, losing any local modifications.
FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |