|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IResults
Provides methods for storing, quering, and retrieving analysis results. See http://cvs.openmicroscopy.org.uk/tiki/tiki-index.php?page=BostonApiSuggestions for more information. Note: Primitive operations will most likely be moved out to a separate PrimitiveResults interface.
Nested Class Summary | |
---|---|
static class |
IResults.PixelSet
|
static interface |
IResults.Result
|
Method Summary | |
---|---|
Set |
findPixelSets(int moduleId,
Class type,
int id,
Map options)
finding PixelSets. |
int[] |
findPixelSetsPrimitive(int moduleId,
String type,
int id,
Map options)
|
IResults.Result[] |
parseData(Map data)
server-side parsing of data maps |
IResults.Result[] |
queryResults(Class resultType,
Set pixelSetIds,
String[] orderBy,
boolean[] ascending,
int limit,
int offset)
querying for IResults |
Map[] |
queryResultsPrimitive(String resultType,
int[] pixelSetIds,
String[] orderBy,
boolean[] ascending,
int limit,
int offset)
|
Set |
retrieveResult(int pixelSetId,
List keys)
retrieving data for PixelSet |
Map |
retrieveResultPrimitive(int pixelSetId,
String[] keys)
|
Set[] |
retrieveResultsBulk(int[] pixelSetIds,
List[] keys)
|
Map[] |
retrieveResultsBulkPrimitive(int[] pixelSetIds,
String[][] keys)
|
IResults.PixelSet |
store(int moduleId,
Class type,
int typeId,
IResults.Result data)
storing results. |
IResults.PixelSet[] |
storeMultiBulk(int moduleId,
Class[] types,
int[] typeIds,
IResults.Result[] data)
|
int[] |
storeMultiBulkPrimitive(int moduleId,
String[] types,
int[] typeIds,
Map[] data)
|
int |
storePrimitive(int moduleId,
String type,
int typeId,
Map data)
|
IResults.PixelSet |
storeSingleBulk(int moduleId,
Class type,
int typeId,
IResults.Result[] data)
|
int |
storeSingleBulkPrimitive(int moduleId,
Class type,
int typeId,
Map[] data)
|
Method Detail |
---|
IResults.Result[] parseData(Map data)
Map
- of data. Keys are of the form: "ClassName:fieldName" ClassName
must be unique within the map.
IResults.PixelSet store(int moduleId, Class type, int typeId, IResults.Result data)
int storePrimitive(int moduleId, String type, int typeId, Map data)
IResults.PixelSet storeSingleBulk(int moduleId, Class type, int typeId, IResults.Result[] data)
int storeSingleBulkPrimitive(int moduleId, Class type, int typeId, Map[] data)
IResults.PixelSet[] storeMultiBulk(int moduleId, Class[] types, int[] typeIds, IResults.Result[] data)
int[] storeMultiBulkPrimitive(int moduleId, String[] types, int[] typeIds, Map[] data)
Set findPixelSets(int moduleId, Class type, int id, Map options)
id
- of the module which created the PixelSettype
- to use as the source
for this PixelSetid
- of that typeMap
- of options. resultType=String or Class filtering on desired
Result.class experimenter=id filtering on desired original
result creator exactness=double percentage identical that two
PixelSets must be (Whew!)
int[] findPixelSetsPrimitive(int moduleId, String type, int id, Map options)
Set retrieveResult(int pixelSetId, List keys)
id
- of a PixelSetlist
- of keys; in format similar to
store*
methods
Map retrieveResultPrimitive(int pixelSetId, String[] keys)
Set[] retrieveResultsBulk(int[] pixelSetIds, List[] keys)
Map[] retrieveResultsBulkPrimitive(int[] pixelSetIds, String[][] keys)
IResults.Result[] queryResults(Class resultType, Set pixelSetIds, String[] orderBy, boolean[] ascending, int limit, int offset)
resultType
- determines the table to be queried; could be the interface
Result
but then careful with orderBypixelSetIds
- restricts the search to certain PixelSets pixel_set_id in
(1,2,3,....); can be nullorderBy
- field names on the table resultType
; can be
nullascending
- true="asc", false="desc"; must be the same size as orderBy;
can be bylllimit
- as in SQL; negative implies disabledoffset
- as in SQL; negative implies disabledkeys
- fields to be transported; currently unavailablewhere
- THIS FIELD NEEDS SOME MORE THOUGHT; currently unavailableMap[] queryResultsPrimitive(String resultType, int[] pixelSetIds, String[] orderBy, boolean[] ascending, int limit, int offset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.