public class _TableTie extends _TableDisp implements Ice.TieBase
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
__ids
ice_staticId
Constructor and Description |
---|
_TableTie(_TableOperations delegate) |
_TableTie() |
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) |
boolean |
equals(java.lang.Object rhs) |
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.
|
int |
hashCode() |
java.lang.Object |
ice_delegate() |
void |
ice_delegate(java.lang.Object delegate) |
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.
|
___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
___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
public static final long serialVersionUID
public _TableTie()
public _TableTie(_TableOperations delegate)
public java.lang.Object ice_delegate()
ice_delegate
in interface Ice.TieBase
public void ice_delegate(java.lang.Object delegate)
ice_delegate
in interface Ice.TieBase
public boolean equals(java.lang.Object rhs)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int addColumn(Column col, Ice.Current __current) throws ServerError
_TableOperations
addColumn
in interface _TableOperations
__current
- The Current object for the invocation.ServerError
public void addData(Column[] cols, Ice.Current __current) throws ServerError
addData
in interface _TableOperations
ServerError
public void close(Ice.Current __current) throws ServerError
close
in interface _TableOperations
ServerError
public void delete(Ice.Current __current) throws ServerError
delete
in interface _TableOperations
ServerError
public java.util.Map<java.lang.String,RType> getAllMetadata(Ice.Current __current) throws ServerError
getAllMetadata
in interface _TableOperations
ServerError
public Column[] getHeaders(Ice.Current __current) throws ServerError
_TableOperations
getHeaders
in interface _TableOperations
__current
- The Current object for the invocation.ServerError
public RType getMetadata(java.lang.String key, Ice.Current __current) throws ServerError
getMetadata
in interface _TableOperations
ServerError
public long getNumberOfRows(Ice.Current __current) throws ServerError
getNumberOfRows
in interface _TableOperations
ServerError
public OriginalFile getOriginalFile(Ice.Current __current) throws ServerError
getOriginalFile
in interface _TableOperations
ServerError
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 ServerError
_TableOperations
getWhereList
in interface _TableOperations
__current
- The Current object for the invocation.ServerError
public void initialize(Column[] cols, Ice.Current __current) throws ServerError
_TableOperations
initialize
in interface _TableOperations
__current
- The Current object for the invocation.ServerError
public Data read(long[] colNumbers, long start, long stop, Ice.Current __current) throws ServerError
_TableOperations
read
in interface _TableOperations
__current
- The Current object for the invocation.ServerError
public Data readCoordinates(long[] rowNumbers, Ice.Current __current) throws ServerError
_TableOperations
readCoordinates
in interface _TableOperations
rowNumbers
- must contain at least one element or an
ApiUsageException
will be thrown.__current
- The Current object for the invocation.ServerError
public void setAllMetadata(java.util.Map<java.lang.String,RType> dict, Ice.Current __current) throws ServerError
setAllMetadata
in interface _TableOperations
ServerError
public void setMetadata(java.lang.String key, RType value, Ice.Current __current) throws ServerError
setMetadata
in interface _TableOperations
ServerError
public Data slice(long[] colNumbers, long[] rowNumbers, Ice.Current __current) throws ServerError
_TableOperations
data = 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.ServerError
public void update(Data modifiedData, Ice.Current __current) throws ServerError
_TableOperations
Data.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.ServerError