Package omero.grid
Class _TableDisp
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.grid._TableDisp
-
- All Implemented Interfaces:
Ice.Object,java.io.Serializable,java.lang.Cloneable,_TableOperations,_TableOperationsNC,Table
- Direct Known Subclasses:
_TableTie
public abstract class _TableDisp extends Ice.ObjectImpl implements Table
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]__idsstatic longserialVersionUID-
Fields inherited from interface omero.grid.Table
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _TableDisp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ice.DispatchStatus___addColumn(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___addData(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___close(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___delete(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getAllMetadata(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getHeaders(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getMetadata(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getNumberOfRows(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getOriginalFile(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getWhereList(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___initialize(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___read(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___readCoordinates(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___setAllMetadata(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___setMetadata(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___slice(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___update(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)Ice.DispatchStatus__dispatch(IceInternal.Incoming in, Ice.Current __current)protected void__readImpl(IceInternal.BasicStream __is)protected void__writeImpl(IceInternal.BasicStream __os)intaddColumn(Column col)Adds a column and returns the position index of the new column.voidaddData(Column[] cols)voidclose()voiddelete()java.util.Map<java.lang.String,RType>getAllMetadata()Column[]getHeaders()Returns empty columns.RTypegetMetadata(java.lang.String key)longgetNumberOfRows()Return the number of rows of a table.OriginalFilegetOriginalFile()long[]getWhereList(java.lang.String condition, java.util.Map<java.lang.String,RType> variables, long start, long stop, long step)Run a query on a table.protected voidice_copyStateFrom(Ice.Object __obj)java.lang.Stringice_id()java.lang.Stringice_id(Ice.Current __current)java.lang.String[]ice_ids()java.lang.String[]ice_ids(Ice.Current __current)booleanice_isA(java.lang.String s)booleanice_isA(java.lang.String s, Ice.Current __current)static java.lang.Stringice_staticId()voidinitialize(Column[] cols)Initializes the structure based onDataread(long[] colNumbers, long start, long stop)Read a subset of columns and consecutive rows from a table.DatareadCoordinates(long[] rowNumbers)Read a set of entire rows in the table.voidsetAllMetadata(java.util.Map<java.lang.String,RType> dict)voidsetMetadata(java.lang.String key, RType value)Dataslice(long[] colNumbers, long[] rowNumbers)Read a subset of columns and consecutive rows from a table.voidupdate(Data modifiedData)Allows the user to modify a Data instance passed back from a query method and have the values modified.-
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
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface omero.grid._TableOperations
addColumn, addData, close, delete, getAllMetadata, getHeaders, getMetadata, getNumberOfRows, getOriginalFile, getWhereList, initialize, read, readCoordinates, setAllMetadata, setMetadata, slice, update
-
-
-
-
Field Detail
-
__ids
public static final java.lang.String[] __ids
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
ice_copyStateFrom
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException- Throws:
java.lang.CloneNotSupportedException
-
ice_isA
public boolean ice_isA(java.lang.String s)
- Specified by:
ice_isAin interfaceIce.Object- Overrides:
ice_isAin classIce.ObjectImpl
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)- Specified by:
ice_isAin interfaceIce.Object- Overrides:
ice_isAin classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids()
- Specified by:
ice_idsin interfaceIce.Object- Overrides:
ice_idsin classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
- Specified by:
ice_idsin interfaceIce.Object- Overrides:
ice_idsin classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id()
- Specified by:
ice_idin interfaceIce.Object- Overrides:
ice_idin classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
- Specified by:
ice_idin interfaceIce.Object- Overrides:
ice_idin classIce.ObjectImpl
-
ice_staticId
public static java.lang.String ice_staticId()
-
addColumn
public final int addColumn(Column col) throws ServerError
Adds a column and returns the position index of the new column.- Specified by:
addColumnin interface_TableOperationsNC- Throws:
ServerError
-
addData
public final void addData(Column[] cols) throws ServerError
- Specified by:
addDatain interface_TableOperationsNC- Throws:
ServerError
-
close
public final void close() throws ServerError- Specified by:
closein interface_TableOperationsNC- Throws:
ServerError
-
delete
public final void delete() throws ServerError- Specified by:
deletein interface_TableOperationsNC- Throws:
ServerError
-
getAllMetadata
public final java.util.Map<java.lang.String,RType> getAllMetadata() throws ServerError
- Specified by:
getAllMetadatain interface_TableOperationsNC- Throws:
ServerError
-
getHeaders
public final Column[] getHeaders() throws ServerError
Returns empty columns.- Specified by:
getHeadersin interface_TableOperationsNC- Throws:
ServerError
-
getMetadata
public final RType getMetadata(java.lang.String key) throws ServerError
- Specified by:
getMetadatain interface_TableOperationsNC- Throws:
ServerError
-
getNumberOfRows
public final long getNumberOfRows() throws ServerErrorReturn the number of rows of a table.- Specified by:
getNumberOfRowsin interface_TableOperationsNC- Throws:
ServerError
-
getOriginalFile
public final OriginalFile getOriginalFile() throws ServerError
- Specified by:
getOriginalFilein interface_TableOperationsNC- Throws:
ServerError
-
getWhereList
public final long[] getWhereList(java.lang.String condition, java.util.Map<java.lang.String,RType> variables, long start, long stop, long step) throws ServerErrorRun 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_TableOperationsNC- 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.- Returns:
- A list of row indices matching the condition which can be passed as a
parameter of
readCoordinates(long[])orslice(long[], long[]). - Throws:
ServerError
-
initialize
public final void initialize(Column[] cols) throws ServerError
Initializes the structure based on- Specified by:
initializein interface_TableOperationsNC- Throws:
ServerError
-
read
public final Data read(long[] colNumbers, long start, long stop) throws ServerError
Read 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_TableOperationsNC- 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.- Returns:
- The requested columns and rows as a
Dataobject. - Throws:
ServerError
-
readCoordinates
public final Data readCoordinates(long[] rowNumbers) throws ServerError
Read a set of entire rows in the table.- Specified by:
readCoordinatesin interface_TableOperationsNC- 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.- Returns:
- The requested rows as a
Dataobject. The results will be returned in the same order as the row indices. - Throws:
ServerError
-
setAllMetadata
public final void setAllMetadata(java.util.Map<java.lang.String,RType> dict) throws ServerError
- Specified by:
setAllMetadatain interface_TableOperationsNC- Throws:
ServerError
-
setMetadata
public final void setMetadata(java.lang.String key, RType value) throws ServerError- Specified by:
setMetadatain interface_TableOperationsNC- Throws:
ServerError
-
slice
public final Data slice(long[] colNumbers, long[] rowNumbers) throws ServerError
Read a subset of columns and consecutive rows from a table.- Specified by:
slicein interface_TableOperationsNC- 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.- 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 final 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 theData.lastModificationand theData.rowNumbersfields are properly set. An exception will be thrown if the data has since been modified.- Specified by:
updatein interface_TableOperationsNC- Throws:
ServerError
-
___getOriginalFile
public static Ice.DispatchStatus ___getOriginalFile(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getHeaders
public static Ice.DispatchStatus ___getHeaders(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getNumberOfRows
public static Ice.DispatchStatus ___getNumberOfRows(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getWhereList
public static Ice.DispatchStatus ___getWhereList(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___readCoordinates
public static Ice.DispatchStatus ___readCoordinates(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___read
public static Ice.DispatchStatus ___read(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___slice
public static Ice.DispatchStatus ___slice(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___addData
public static Ice.DispatchStatus ___addData(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___update
public static Ice.DispatchStatus ___update(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getAllMetadata
public static Ice.DispatchStatus ___getAllMetadata(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getMetadata
public static Ice.DispatchStatus ___getMetadata(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setAllMetadata
public static Ice.DispatchStatus ___setAllMetadata(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setMetadata
public static Ice.DispatchStatus ___setMetadata(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___initialize
public static Ice.DispatchStatus ___initialize(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___addColumn
public static Ice.DispatchStatus ___addColumn(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___delete
public static Ice.DispatchStatus ___delete(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___close
public static Ice.DispatchStatus ___close(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
__dispatch
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)- Specified by:
__dispatchin interfaceIce.Object- Overrides:
__dispatchin classIce.ObjectImpl
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImplin classIce.ObjectImpl
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImplin classIce.ObjectImpl
-
-