public class TableCloserI extends AbstractCloseableAmdServant implements _StatefulServiceInterfaceOperations, _TableOperations
| Constructor and Description |
|---|
TableCloserI(ServiceFactoryI sf,
TablePrx tablePrx,
Ice.Identity id) |
| Modifier and Type | Method and Description |
|---|---|
int |
addColumn(Column col,
Ice.Current __current)
Adds a column and returns the position index of the new column.
|
void |
addData(Column[] cols,
Ice.Current __current) |
void |
delete(Ice.Current __current) |
java.util.Map<java.lang.String,RType> |
getAllMetadata(Ice.Current __current) |
Column[] |
getHeaders(Ice.Current __current)
Returns empty columns.
|
RType |
getMetadata(java.lang.String key,
Ice.Current __current) |
long |
getNumberOfRows(Ice.Current __current) |
OriginalFile |
getOriginalFile(Ice.Current __current) |
TablePrx |
getProxy() |
long[] |
getWhereList(java.lang.String condition,
java.util.Map<java.lang.String,RType> variables,
long start,
long stop,
long step,
Ice.Current __current)
http://www.pytables.org/docs/manual/apb.html
Leave all three of start, stop, step to 0 to disable.
|
void |
initialize(Column[] cols,
Ice.Current __current)
Initializes the structure based on
|
protected void |
postClose(Ice.Current current)
Should not throw any exceptions which should be detected by clients
since it is called in a finally block after the client thread has been
released.
|
protected void |
preClose(Ice.Current current) |
Data |
read(long[] colNumbers,
long start,
long stop,
Ice.Current __current)
http://www.pytables.org/docs/manual/ch04.html#Table.read
|
Data |
readCoordinates(long[] rowNumbers,
Ice.Current __current)
Read the given rows of data.
|
void |
setAllMetadata(java.util.Map<java.lang.String,RType> dict,
Ice.Current __current) |
void |
setMetadata(java.lang.String key,
RType value,
Ice.Current __current) |
Data |
slice(long[] colNumbers,
long[] rowNumbers,
Ice.Current __current)
Simple slice method which will return only the given columns
and rows in the order supplied.
|
void |
update(Data modifiedData,
Ice.Current __current)
Allows the user to modify a Data instance passed back
from a query method and have the values modified.
|
close_async, closeactivate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivate_async, close_async, getCurrentEventContext_async, passivate_asyncclosepublic TableCloserI(ServiceFactoryI sf, TablePrx tablePrx, Ice.Identity id) throws ServerError
ServerErrorpublic TablePrx getProxy()
protected void preClose(Ice.Current current)
throws java.lang.Throwable
preClose in class AbstractCloseableAmdServantjava.lang.Throwableprotected void postClose(Ice.Current current)
AbstractCloseableAmdServantpostClose in class AbstractCloseableAmdServantpublic OriginalFile getOriginalFile(Ice.Current __current) throws ServerError
getOriginalFile in interface _TableOperationsServerErrorpublic Column[] getHeaders(Ice.Current __current) throws ServerError
_TableOperationsgetHeaders in interface _TableOperations__current - The Current object for the invocation.ServerErrorpublic long getNumberOfRows(Ice.Current __current)
throws ServerError
getNumberOfRows in interface _TableOperationsServerErrorpublic long[] getWhereList(java.lang.String condition,
java.util.Map<java.lang.String,RType> variables,
long start,
long stop,
long step,
Ice.Current __current)
throws ServerError
_TableOperationsgetWhereList in interface _TableOperations__current - The Current object for the invocation.ServerErrorpublic Data readCoordinates(long[] rowNumbers, Ice.Current __current) throws ServerError
_TableOperationsreadCoordinates in interface _TableOperationsrowNumbers - must contain at least one element or an
ApiUsageException will be thrown.__current - The Current object for the invocation.ServerErrorpublic Data read(long[] colNumbers, long start, long stop, Ice.Current __current) throws ServerError
_TableOperationsread in interface _TableOperations__current - The Current object for the invocation.ServerErrorpublic Data slice(long[] colNumbers, long[] rowNumbers, Ice.Current __current) throws ServerError
_TableOperationsdata = table.slice(None, None) assert len(data.rowNumbers) == table.getNumberOfRows() data = table.slice(None, \[3,2,1]) assert data.rowNumbers == \[3,2,1]
slice in interface _TableOperations__current - The Current object for the invocation.ServerErrorpublic void addData(Column[] cols, Ice.Current __current) throws ServerError
addData in interface _TableOperationsServerErrorpublic void update(Data modifiedData, Ice.Current __current) throws ServerError
_TableOperationsData.lastModification and the
Data.rowNumbers fields are properly set. An exception
will be thrown if the data has since been modified.update in interface _TableOperations__current - The Current object for the invocation.ServerErrorpublic java.util.Map<java.lang.String,RType> getAllMetadata(Ice.Current __current) throws ServerError
getAllMetadata in interface _TableOperationsServerErrorpublic RType getMetadata(java.lang.String key, Ice.Current __current) throws ServerError
getMetadata in interface _TableOperationsServerErrorpublic void setAllMetadata(java.util.Map<java.lang.String,RType> dict, Ice.Current __current) throws ServerError
setAllMetadata in interface _TableOperationsServerErrorpublic void setMetadata(java.lang.String key,
RType value,
Ice.Current __current)
throws ServerError
setMetadata in interface _TableOperationsServerErrorpublic void initialize(Column[] cols, Ice.Current __current) throws ServerError
_TableOperationsinitialize in interface _TableOperations__current - The Current object for the invocation.ServerErrorpublic int addColumn(Column col, Ice.Current __current) throws ServerError
_TableOperationsaddColumn in interface _TableOperations__current - The Current object for the invocation.ServerErrorpublic void delete(Ice.Current __current)
throws ServerError
delete in interface _TableOperationsServerError