Package omero.grid
Class _TableTie
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.grid._TableDisp
-
- omero.grid._TableTie
-
- All Implemented Interfaces:
Ice.Object,Ice.TieBase,java.io.Serializable,java.lang.Cloneable,_TableOperations,_TableOperationsNC,Table
public class _TableTie extends _TableDisp implements Ice.TieBase
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUID-
Fields inherited from class omero.grid._TableDisp
__ids
-
Fields inherited from interface omero.grid.Table
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _TableTie()_TableTie(_TableOperations delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaddColumn(Column col, Ice.Current __current)Adds a column and returns the position index of the new column.voidaddData(Column[] cols, Ice.Current __current)voidclose(Ice.Current __current)voiddelete(Ice.Current __current)booleanequals(java.lang.Object rhs)java.util.Map<java.lang.String,RType>getAllMetadata(Ice.Current __current)Column[]getHeaders(Ice.Current __current)Returns empty columns.RTypegetMetadata(java.lang.String key, Ice.Current __current)longgetNumberOfRows(Ice.Current __current)Return the number of rows of a table.OriginalFilegetOriginalFile(Ice.Current __current)long[]getWhereList(java.lang.String condition, java.util.Map<java.lang.String,RType> variables, long start, long stop, long step, Ice.Current __current)Run a query on a table.inthashCode()java.lang.Objectice_delegate()voidice_delegate(java.lang.Object delegate)voidinitialize(Column[] cols, Ice.Current __current)Initializes the structure based onDataread(long[] colNumbers, long start, long stop, Ice.Current __current)Read a subset of columns and consecutive rows from a table.DatareadCoordinates(long[] rowNumbers, Ice.Current __current)Read a set of entire rows in the table.voidsetAllMetadata(java.util.Map<java.lang.String,RType> dict, Ice.Current __current)voidsetMetadata(java.lang.String key, RType value, Ice.Current __current)Dataslice(long[] colNumbers, long[] rowNumbers, Ice.Current __current)Read a subset of columns and consecutive rows from a table.voidupdate(Data modifiedData, Ice.Current __current)Allows the user to modify a Data instance passed back from a query method and have the values modified.-
Methods inherited from class omero.grid._TableDisp
___addColumn, ___addData, ___close, ___delete, ___getAllMetadata, ___getHeaders, ___getMetadata, ___getNumberOfRows, ___getOriginalFile, ___getWhereList, ___initialize, ___read, ___readCoordinates, ___setAllMetadata, ___setMetadata, ___slice, ___update, __dispatch, __readImpl, __writeImpl, addColumn, addData, close, delete, getAllMetadata, getHeaders, getMetadata, getNumberOfRows, getOriginalFile, getWhereList, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, initialize, read, readCoordinates, setAllMetadata, setMetadata, slice, update
-
Methods inherited from class Ice.ObjectImpl
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
_TableTie
public _TableTie()
-
_TableTie
public _TableTie(_TableOperations delegate)
-
-
Method Detail
-
ice_delegate
public java.lang.Object ice_delegate()
- Specified by:
ice_delegatein interfaceIce.TieBase
-
ice_delegate
public void ice_delegate(java.lang.Object delegate)
- Specified by:
ice_delegatein interfaceIce.TieBase
-
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
addColumn
public int addColumn(Column col, Ice.Current __current) throws ServerError
Description copied from interface:_TableOperationsAdds a column and returns the position index of the new column.- Specified by:
addColumnin interface_TableOperations__current- The Current object for the invocation.- Throws:
ServerError
-
addData
public void addData(Column[] cols, Ice.Current __current) throws ServerError
- Specified by:
addDatain interface_TableOperations- Throws:
ServerError
-
close
public void close(Ice.Current __current) throws ServerError- Specified by:
closein interface_TableOperations- Throws:
ServerError
-
delete
public void delete(Ice.Current __current) throws ServerError- Specified by:
deletein interface_TableOperations- Throws:
ServerError
-
getAllMetadata
public java.util.Map<java.lang.String,RType> getAllMetadata(Ice.Current __current) throws ServerError
- Specified by:
getAllMetadatain interface_TableOperations- Throws:
ServerError
-
getHeaders
public Column[] getHeaders(Ice.Current __current) throws ServerError
Description copied from interface:_TableOperationsReturns empty columns.- Specified by:
getHeadersin interface_TableOperations- Parameters:
__current- The Current object for the invocation.- Throws:
ServerError
-
getMetadata
public RType getMetadata(java.lang.String key, Ice.Current __current) throws ServerError
- Specified by:
getMetadatain interface_TableOperations- Throws:
ServerError
-
getNumberOfRows
public long getNumberOfRows(Ice.Current __current) throws ServerErrorDescription copied from interface:_TableOperationsReturn the number of rows of a table.- Specified by:
getNumberOfRowsin interface_TableOperations- Parameters:
__current- The Current object for the invocation.- Throws:
ServerError
-
getOriginalFile
public OriginalFile getOriginalFile(Ice.Current __current) throws ServerError
- Specified by:
getOriginalFilein interface_TableOperations- Throws:
ServerError
-
getWhereList
public long[] getWhereList(java.lang.String condition, java.util.Map<java.lang.String,RType> variables, long start, long stop, long step, Ice.Current __current) throws ServerErrorDescription copied from interface:_TableOperationsRun a query on a table. The meaning of the start and stop parameters are the same as in the built-in Python slices. Setting start, step and stop to 0 is interpreted as running the query against all rows.- Specified by:
getWhereListin interface_TableOperations- Parameters:
condition- A query string - see the tables query language for more details.variables- A mapping of strings and variable values to be substituted into condition. This can often be left empty.start- The start of the range of rows to consider.stop- The end of the range of rows to consider.step- The stepping interval of the range of rows to consider. Set to 0 to disable stepping.__current- The Current object for the invocation.- Returns:
- A list of row indices matching the condition which can be passed as a
parameter of
_TableOperations.readCoordinates(long[], Ice.Current)or_TableOperations.slice(long[], long[], Ice.Current). - Throws:
ServerError
-
initialize
public void initialize(Column[] cols, Ice.Current __current) throws ServerError
Description copied from interface:_TableOperationsInitializes the structure based on- Specified by:
initializein interface_TableOperations__current- The Current object for the invocation.- Throws:
ServerError
-
read
public Data read(long[] colNumbers, long start, long stop, Ice.Current __current) throws ServerError
Description copied from interface:_TableOperationsRead a subset of columns and consecutive rows from a table. The meaning of the start and stop parameters are the same as in the built-in Python slices. Setting both start and stop to 0 is interpreted as returning all rows.- Specified by:
readin interface_TableOperations- Parameters:
colNumbers- A list of column indices to be retrieved from the table. The indices may be non-consecutive and must contain at least one element or anApiUsageExceptionwill be thrown.start- The first element of the range of rows to retrieve. Must be non null.stop- The stop of the range of rows to retrieve. Must be non null.__current- The Current object for the invocation.- Returns:
- The requested columns and rows as a
Dataobject. - Throws:
ServerError
-
readCoordinates
public Data readCoordinates(long[] rowNumbers, Ice.Current __current) throws ServerError
Description copied from interface:_TableOperationsRead a set of entire rows in the table.- Specified by:
readCoordinatesin interface_TableOperations- Parameters:
rowNumbers- A list of row indices to be retrieved from the table. The indices may be non-consecutive and must contain at least one element or anApiUsageExceptionwill be thrown.__current- The Current object for the invocation.- Returns:
- The requested rows as a
Dataobject. The results will be returned in the same order as the row indices. - Throws:
ServerError
-
setAllMetadata
public void setAllMetadata(java.util.Map<java.lang.String,RType> dict, Ice.Current __current) throws ServerError
- Specified by:
setAllMetadatain interface_TableOperations- Throws:
ServerError
-
setMetadata
public void setMetadata(java.lang.String key, RType value, Ice.Current __current) throws ServerError- Specified by:
setMetadatain interface_TableOperations- Throws:
ServerError
-
slice
public Data slice(long[] colNumbers, long[] rowNumbers, Ice.Current __current) throws ServerError
Description copied from interface:_TableOperationsRead a subset of columns and consecutive rows from a table.- Specified by:
slicein interface_TableOperations- Parameters:
colNumbers- A list of column indices to be retrieved from the table. The indices may be non-consecutive. If set to empty or null, all columns will be returned.rowNumbers- A list of row indices to be retrieved from the table. The indices may be non-consecutive. If set empty or null, all rows will be returned.__current- The Current object for the invocation.- Returns:
- The requested columns and rows as a
Dataobject. The results will be returned in the same order as the column and row indices. - Throws:
ServerError
-
update
public void update(Data modifiedData, Ice.Current __current) throws ServerError
Description copied from interface:_TableOperationsAllows the user to modify a Data instance passed back from a query method and have the values modified. It is critical that theData.lastModificationand theData.rowNumbersfields are properly set. An exception will be thrown if the data has since been modified.- Specified by:
updatein interface_TableOperations__current- The Current object for the invocation.- Throws:
ServerError
-
-