public interface IResults extends ServiceInterface
Modifier and Type | Interface and Description |
---|---|
static class |
IResults.PixelSet |
static interface |
IResults.Result |
Modifier and Type | Method and Description |
---|---|
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) |
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)
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!)Set retrieveResult(int pixelSetId, List keys)
id
- of a PixelSetlist
- of keys; in format similar to
store*
methodsIResults.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 unavailable
Version: 4.4.12-ice34-b116
Copyright © 2014 The University of Dundee & Open Microscopy Environment. All Rights Reserved.