public interface _TableOperations
| 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 |
close(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) |
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
|
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.
|
OriginalFile getOriginalFile(Ice.Current __current) throws ServerError
ServerErrorColumn[] getHeaders(Ice.Current __current) throws ServerError
__current - The Current object for the invocation.ServerErrorlong getNumberOfRows(Ice.Current __current)
throws ServerError
ServerErrorlong[] getWhereList(java.lang.String condition,
java.util.Map<java.lang.String,RType> variables,
long start,
long stop,
long step,
Ice.Current __current)
throws ServerError
__current - The Current object for the invocation.ServerErrorData readCoordinates(long[] rowNumbers, Ice.Current __current) throws ServerError
rowNumbers - must contain at least one element or an
ApiUsageException will be thrown.__current - The Current object for the invocation.ServerErrorData read(long[] colNumbers, long start, long stop, Ice.Current __current) throws ServerError
__current - The Current object for the invocation.ServerErrorData slice(long[] colNumbers, long[] rowNumbers, Ice.Current __current) throws ServerError
data = table.slice(None, None) assert len(data.rowNumbers) == table.getNumberOfRows() data = table.slice(None, \[3,2,1]) assert data.rowNumbers == \[3,2,1]
__current - The Current object for the invocation.ServerErrorvoid addData(Column[] cols, Ice.Current __current) throws ServerError
ServerErrorvoid update(Data modifiedData, Ice.Current __current) throws ServerError
Data.lastModification and the
Data.rowNumbers fields are properly set. An exception
will be thrown if the data has since been modified.__current - The Current object for the invocation.ServerErrorjava.util.Map<java.lang.String,RType> getAllMetadata(Ice.Current __current) throws ServerError
ServerErrorRType getMetadata(java.lang.String key, Ice.Current __current) throws ServerError
ServerErrorvoid setAllMetadata(java.util.Map<java.lang.String,RType> dict, Ice.Current __current) throws ServerError
ServerErrorvoid setMetadata(java.lang.String key,
RType value,
Ice.Current __current)
throws ServerError
ServerErrorvoid initialize(Column[] cols, Ice.Current __current) throws ServerError
__current - The Current object for the invocation.ServerErrorint addColumn(Column col, Ice.Current __current) throws ServerError
__current - The Current object for the invocation.ServerErrorvoid delete(Ice.Current __current)
throws ServerError
ServerErrorvoid close(Ice.Current __current)
throws ServerError
ServerError