omero::grid::Table
Overview
[ "ami" ]
interface Table
Operation Index
- getOriginalFile
-
- getHeaders
-
Returns empty columns.
- getNumberOfRows
-
- getWhereList
-
http://www.pytables.org/docs/manual/apb.html
Leave all three of start, stop, step to 0 to disable.
- readCoordinates
-
Read the given rows of data.
- read
-
http://www.pytables.org/docs/manual/ch04.html#Table.read
- slice
-
Simple slice method which will return only the given columns
and rows in the order supplied.
- addData
-
- update
-
Allows the user to modify a Data instance passed back
from a query method and have the values modified.
- getAllMetadata
-
- getMetadata
-
- setAllMetadata
-
- setMetadata
-
- initialize
-
Initializes the structure based on
- addColumn
-
Adds a column and returns the position index of the new column.
- delete
-
- close
-
Operations
Returns empty columns.
long getNumberOfRows() throws ServerError
api::LongArray getWhereList(string condition, RTypeDict variables, long start, long stop, long step) throws ServerError
http://www.pytables.org/docs/manual/apb.html
Leave all three of start, stop, step to 0 to disable.
TODO:Test effect of returning a billion rows matching getWhereList()
Read the given rows of data.
Parameters
- rowNumbers
-
must contain at least one element or an
ApiUsageException will be thrown.
http://www.pytables.org/docs/manual/ch04.html#Table.read
Simple slice method which will return only the given columns
and rows in the order supplied.
If colNumbers or rowNumbers is empty (or None), then all values
will be returned.
Python examples:
data = table.slice(None, None)
assert len(data.rowNumbers) == table.getNumberOfRows()
data = table.slice(None, [3,2,1])
assert data.rowNumbers == [3,2,1]
void update(Data modifiedData) throws ServerError
Allows the user to modify a Data instance passed back
from a query method and have the values modified. It
is critical that the {@code Data.lastModification} and the
{@code Data.rowNumbers} fields are properly set. An exception
will be thrown if the data has since been modified.
void setMetadata(string key, RType value) throws ServerError
Initializes the structure based on
Adds a column and returns the position index of the new column.