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[]
__ids
static long
serialVersionUID
-
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)
int
addColumn(Column col)
Adds a column and returns the position index of the new column.void
addData(Column[] cols)
void
close()
void
delete()
java.util.Map<java.lang.String,RType>
getAllMetadata()
Column[]
getHeaders()
Returns empty columns.RType
getMetadata(java.lang.String key)
long
getNumberOfRows()
Return the number of rows of a table.OriginalFile
getOriginalFile()
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 void
ice_copyStateFrom(Ice.Object __obj)
java.lang.String
ice_id()
java.lang.String
ice_id(Ice.Current __current)
java.lang.String[]
ice_ids()
java.lang.String[]
ice_ids(Ice.Current __current)
boolean
ice_isA(java.lang.String s)
boolean
ice_isA(java.lang.String s, Ice.Current __current)
static java.lang.String
ice_staticId()
void
initialize(Column[] cols)
Initializes the structure based onData
read(long[] colNumbers, long start, long stop)
Read a subset of columns and consecutive rows from a table.Data
readCoordinates(long[] rowNumbers)
Read a set of entire rows in the table.void
setAllMetadata(java.util.Map<java.lang.String,RType> dict)
void
setMetadata(java.lang.String key, RType value)
Data
slice(long[] colNumbers, long[] rowNumbers)
Read a subset of columns and consecutive rows from a table.void
update(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_isA
in interfaceIce.Object
- Overrides:
ice_isA
in classIce.ObjectImpl
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)
- Specified by:
ice_isA
in interfaceIce.Object
- Overrides:
ice_isA
in classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids()
- Specified by:
ice_ids
in interfaceIce.Object
- Overrides:
ice_ids
in classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
- Specified by:
ice_ids
in interfaceIce.Object
- Overrides:
ice_ids
in classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id()
- Specified by:
ice_id
in interfaceIce.Object
- Overrides:
ice_id
in classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
- Specified by:
ice_id
in interfaceIce.Object
- Overrides:
ice_id
in 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:
addColumn
in interface_TableOperationsNC
- Throws:
ServerError
-
addData
public final void addData(Column[] cols) throws ServerError
- Specified by:
addData
in interface_TableOperationsNC
- Throws:
ServerError
-
close
public final void close() throws ServerError
- Specified by:
close
in interface_TableOperationsNC
- Throws:
ServerError
-
delete
public final void delete() throws ServerError
- Specified by:
delete
in interface_TableOperationsNC
- Throws:
ServerError
-
getAllMetadata
public final java.util.Map<java.lang.String,RType> getAllMetadata() throws ServerError
- Specified by:
getAllMetadata
in interface_TableOperationsNC
- Throws:
ServerError
-
getHeaders
public final Column[] getHeaders() throws ServerError
Returns empty columns.- Specified by:
getHeaders
in interface_TableOperationsNC
- Throws:
ServerError
-
getMetadata
public final RType getMetadata(java.lang.String key) throws ServerError
- Specified by:
getMetadata
in interface_TableOperationsNC
- Throws:
ServerError
-
getNumberOfRows
public final long getNumberOfRows() throws ServerError
Return the number of rows of a table.- Specified by:
getNumberOfRows
in interface_TableOperationsNC
- Throws:
ServerError
-
getOriginalFile
public final OriginalFile getOriginalFile() throws ServerError
- Specified by:
getOriginalFile
in 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 ServerError
Run 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:
getWhereList
in 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:
initialize
in 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:
read
in 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 anApiUsageException
will 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
Data
object. - Throws:
ServerError
-
readCoordinates
public final Data readCoordinates(long[] rowNumbers) throws ServerError
Read a set of entire rows in the table.- Specified by:
readCoordinates
in 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 anApiUsageException
will be thrown.- Returns:
- The requested rows as a
Data
object. 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:
setAllMetadata
in interface_TableOperationsNC
- Throws:
ServerError
-
setMetadata
public final void setMetadata(java.lang.String key, RType value) throws ServerError
- Specified by:
setMetadata
in 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:
slice
in 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
Data
object. 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.lastModification
and theData.rowNumbers
fields are properly set. An exception will be thrown if the data has since been modified.- Specified by:
update
in 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:
__dispatch
in interfaceIce.Object
- Overrides:
__dispatch
in classIce.ObjectImpl
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImpl
in classIce.ObjectImpl
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImpl
in classIce.ObjectImpl
-
-