public class _SearchTie extends _SearchDisp implements Ice.TieBase
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
__idsice_staticId| Constructor and Description |
|---|
_SearchTie(_SearchOperations delegate) |
_SearchTie() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate_async(AMD_StatefulServiceInterface_activate __cb,
Ice.Current __current)
Load a service implementation from disk if it was previously
passivated.
|
void |
activeQueries_async(AMD_Search_activeQueries __cb,
Ice.Current __current)
Returns the number of active queries.
|
void |
addOrderByAsc_async(AMD_Search_addOrderByAsc __cb,
java.lang.String path,
Ice.Current __current)
A path from the target entity which will be added to the
current stack of order statements applied to the query.
|
void |
addOrderByDesc_async(AMD_Search_addOrderByDesc __cb,
java.lang.String path,
Ice.Current __current)
A path from the target entity which will be added to the
current stack of order statements applied to the query.
|
void |
allTypes_async(AMD_Search_allTypes __cb,
Ice.Current __current)
Permits all types to be returned.
|
void |
and_async(AMD_Search_and __cb,
Ice.Current __current)
Applies the next by* method to the previous by* method, so
that a call
hasNext, next, or
results sees only the intersection of the two
calls. |
void |
byAnnotatedWith_async(AMD_Search_byAnnotatedWith __cb,
java.util.List<Annotation> examples,
Ice.Current __current)
Finds entities annotated with an
Annotation similar to the example. |
void |
byFullText_async(AMD_Search_byFullText __cb,
java.lang.String query,
Ice.Current __current)
Passes the query as is to the Lucene backend.
|
void |
byGroupForTags_async(AMD_Search_byGroupForTags __cb,
java.lang.String group,
Ice.Current __current)
Returns transient (without ID)
TagAnnotation instances which
represent all the
TagAnnotation tags in the given group. |
void |
byHqlQuery_async(AMD_Search_byHqlQuery __cb,
java.lang.String query,
Parameters params,
Ice.Current __current)
Delegates to
omero.api.IQuery.findAllByQuery method
to take advantage of the and, or, and
not methods, or queue-semantics. |
void |
byLuceneQueryBuilder_async(AMD_Search_byLuceneQueryBuilder __cb,
java.lang.String fields,
java.lang.String from,
java.lang.String to,
java.lang.String dateType,
java.lang.String query,
Ice.Current __current)
Builds a Lucene query and passes it to the Lucene backend.
|
void |
bySimilarTerms_async(AMD_Search_bySimilarTerms __cb,
java.util.List<java.lang.String> terms,
Ice.Current __current)
Returns transient (without ID)
TextAnnotation instances which represent
terms which are similar to the given terms. |
void |
bySomeMustNone_async(AMD_Search_bySomeMustNone __cb,
java.util.List<java.lang.String> some,
java.util.List<java.lang.String> must,
java.util.List<java.lang.String> none,
Ice.Current __current)
Builds a Lucene query and passes it to
byFullText. |
void |
byTagForGroups_async(AMD_Search_byTagForGroups __cb,
java.lang.String tag,
Ice.Current __current)
Creates a query which will return transient (without ID)
TagAnnotation instances which represent
all the TagAnnotation tag groups which
the given tag belongs to. |
void |
clearQueries_async(AMD_Search_clearQueries __cb,
Ice.Current __current)
Removes all active queries (leaving
resetDefaults
settings alone), such that activeQueries will
return 0. |
void |
close_async(AMD_StatefulServiceInterface_close __cb,
Ice.Current __current)
Frees all resources -- passivated or active -- for the given
stateful service and removes its name from the object adapter.
|
void |
currentMetadata_async(AMD_Search_currentMetadata __cb,
Ice.Current __current)
Provides access to the extra query information (for example
Lucene score and boost values) for a single call to
next. |
void |
currentMetadataList_async(AMD_Search_currentMetadataList __cb,
Ice.Current __current)
Provides access to the extra query information (for example
Lucene score and boost values) for a single call to
results. |
boolean |
equals(java.lang.Object rhs) |
void |
fetchAlso_async(AMD_Search_fetchAlso __cb,
java.util.List<java.lang.String> fetches,
Ice.Current __current)
Adds a fetch clause for loading non-annotation fields of
returned entities.
|
void |
fetchAnnotations_async(AMD_Search_fetchAnnotations __cb,
java.util.List<java.lang.String> classes,
Ice.Current __current)
Queries the database for all
Annotation
annotations of the given types for all returned instances. |
void |
getBatchSize_async(AMD_Search_getBatchSize __cb,
Ice.Current __current)
Returns the current batch size.
|
void |
getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb,
Ice.Current __current)
To free clients from tracking the mapping from session to stateful
service, each stateful service can returns its own context information.
|
int |
hashCode() |
void |
hasNext_async(AMD_Search_hasNext __cb,
Ice.Current __current)
Returns
true if another call to
next is valid. |
java.lang.Object |
ice_delegate() |
void |
ice_delegate(java.lang.Object delegate) |
void |
isAllowLeadingWildcard_async(AMD_Search_isAllowLeadingWildcard __cb,
Ice.Current __current)
Returns the current leading-wildcard setting.
|
void |
isCaseSensitive_async(AMD_Search_isCaseSensitive __cb,
Ice.Current __current)
Returns the current case sensitivity setting.
|
void |
isMergedBatches_async(AMD_Search_isMergedBatches __cb,
Ice.Current __current)
Returns the current merged-batches setting.
|
void |
isReturnUnloaded_async(AMD_Search_isReturnUnloaded __cb,
Ice.Current __current)
Returns the current return-unloaded setting.
|
void |
isUseProjections_async(AMD_Search_isUseProjections __cb,
Ice.Current __current)
Returns the current use-projection setting.
|
void |
next_async(AMD_Search_next __cb,
Ice.Current __current)
Returns the next entity from the current query.
|
void |
not_async(AMD_Search_not __cb,
Ice.Current __current)
Applies the next by* method to the previous by* method, so
that a call
hasNext, next, or
results sees only the intersection of the two
calls. |
void |
notAnnotatedBy_async(AMD_Search_notAnnotatedBy __cb,
Details d,
Ice.Current __current)
Restricts entities by who has not annotated them with an
Annotation matching the other filters. |
void |
notOwnedBy_async(AMD_Search_notOwnedBy __cb,
Details d,
Ice.Current __current)
Uses the
Details.getOwner() and
Details.getGroup() information to
restrict the entities which will be returned. |
void |
onlyAnnotatedBetween_async(AMD_Search_onlyAnnotatedBetween __cb,
RTime start,
RTime stop,
Ice.Current __current)
Restricts entities by the time in which any annotation
(which matches the other filters) was added them.
|
void |
onlyAnnotatedBy_async(AMD_Search_onlyAnnotatedBy __cb,
Details d,
Ice.Current __current)
Restricts entities by who has annotated them with an
Annotation matching the other filters. |
void |
onlyAnnotatedWith_async(AMD_Search_onlyAnnotatedWith __cb,
java.util.List<java.lang.String> classes,
Ice.Current __current)
Restricts entities to having an
Annotation of all the given types. |
void |
onlyCreatedBetween_async(AMD_Search_onlyCreatedBetween __cb,
RTime start,
RTime stop,
Ice.Current __current)
Restricts the time between which an entity may have been
created.
|
void |
onlyIds_async(AMD_Search_onlyIds __cb,
java.util.List<java.lang.Long> ids,
Ice.Current __current)
Restricts the set of ids which will be checked.
|
void |
onlyModifiedBetween_async(AMD_Search_onlyModifiedBetween __cb,
RTime start,
RTime stop,
Ice.Current __current)
Restricts the time between which an entity may have last
been modified.
|
void |
onlyOwnedBy_async(AMD_Search_onlyOwnedBy __cb,
Details d,
Ice.Current __current)
Uses the
Details.getOwner() and
Details.getGroup() information to
restrict the entities which will be returned. |
void |
onlyType_async(AMD_Search_onlyType __cb,
java.lang.String klass,
Ice.Current __current)
Restricts the search to a single type.
|
void |
onlyTypes_async(AMD_Search_onlyTypes __cb,
java.util.List<java.lang.String> classes,
Ice.Current __current)
Restricts searches to a set of types.
|
void |
or_async(AMD_Search_or __cb,
Ice.Current __current)
Applies the next by* method to the previous by* method, so
that a call
hasNext, next or
results sees only the union of the two calls. |
void |
passivate_async(AMD_StatefulServiceInterface_passivate __cb,
Ice.Current __current)
Causes the blitz server to store the service implementation to disk
to free memory.
|
void |
remove_async(AMD_Search_remove __cb,
Ice.Current __current)
Unsupported operation.
|
void |
resetDefaults_async(AMD_Search_resetDefaults __cb,
Ice.Current __current)
Resets all settings (non-query state) to the original
default values, as if the instance had just be created.
|
void |
results_async(AMD_Search_results __cb,
Ice.Current __current)
Returns up to
getBatchSize batch size number of
results along with the related query metadata. |
void |
setAllowLeadingWildcard_async(AMD_Search_setAllowLeadingWildcard __cb,
boolean allowLeadingWildcard,
Ice.Current __current)
Permits full-text queries with a leading query if true.
|
void |
setBatchSize_async(AMD_Search_setBatchSize __cb,
int size,
Ice.Current __current)
Sets the maximum number of results that will be returned by
one call to
results. |
void |
setCaseSensitive_async(AMD_Search_setCaseSensitive __cb,
boolean caseSensitive,
Ice.Current __current)
Sets the case sensitivity on all queries where
case-sensitivity is supported.
|
void |
setCaseSentivice_async(AMD_Search_setCaseSentivice __cb,
boolean caseSensitive,
Ice.Current __current)
Deprecated.
|
void |
setMergedBatches_async(AMD_Search_setMergedBatches __cb,
boolean merge,
Ice.Current __current)
Set whether or not results from two separate queries can be
returned in the same call to
results. |
void |
setReturnUnloaded_async(AMD_Search_setReturnUnloaded __cb,
boolean returnUnloaded,
Ice.Current __current)
Determines if all results should be returned as unloaded
objects.
|
void |
setUseProjections_async(AMD_Search_setUseProjections __cb,
boolean useProjections,
Ice.Current __current)
Determines if Lucene queries should not hit the database.
|
void |
unordered_async(AMD_Search_unordered __cb,
Ice.Current __current)
Removes the current stack of order statements.
|
___activeQueries, ___addOrderByAsc, ___addOrderByDesc, ___allTypes, ___and, ___byAnnotatedWith, ___byFullText, ___byGroupForTags, ___byHqlQuery, ___byLuceneQueryBuilder, ___bySimilarTerms, ___bySomeMustNone, ___byTagForGroups, ___clearQueries, ___currentMetadata, ___currentMetadataList, ___fetchAlso, ___fetchAnnotations, ___getBatchSize, ___hasNext, ___isAllowLeadingWildcard, ___isCaseSensitive, ___isMergedBatches, ___isReturnUnloaded, ___isUseProjections, ___next, ___not, ___notAnnotatedBy, ___notOwnedBy, ___onlyAnnotatedBetween, ___onlyAnnotatedBy, ___onlyAnnotatedWith, ___onlyCreatedBetween, ___onlyIds, ___onlyModifiedBetween, ___onlyOwnedBy, ___onlyType, ___onlyTypes, ___or, ___remove, ___resetDefaults, ___results, ___setAllowLeadingWildcard, ___setBatchSize, ___setCaseSensitive, ___setCaseSentivice, ___setMergedBatches, ___setReturnUnloaded, ___setUseProjections, ___unordered, __dispatch, __readImpl, __writeImpl, activate_async, activeQueries_async, addOrderByAsc_async, addOrderByDesc_async, allTypes_async, and_async, byAnnotatedWith_async, byFullText_async, byGroupForTags_async, byHqlQuery_async, byLuceneQueryBuilder_async, bySimilarTerms_async, bySomeMustNone_async, byTagForGroups_async, clearQueries_async, close_async, currentMetadata_async, currentMetadataList_async, fetchAlso_async, fetchAnnotations_async, getBatchSize_async, getCurrentEventContext_async, hasNext_async, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, isAllowLeadingWildcard_async, isCaseSensitive_async, isMergedBatches_async, isReturnUnloaded_async, isUseProjections_async, next_async, not_async, notAnnotatedBy_async, notOwnedBy_async, onlyAnnotatedBetween_async, onlyAnnotatedBy_async, onlyAnnotatedWith_async, onlyCreatedBetween_async, onlyIds_async, onlyModifiedBetween_async, onlyOwnedBy_async, onlyType_async, onlyTypes_async, or_async, passivate_async, remove_async, resetDefaults_async, results_async, setAllowLeadingWildcard_async, setBatchSize_async, setCaseSensitive_async, setCaseSentivice_async, setMergedBatches_async, setReturnUnloaded_async, setUseProjections_async, unordered_async___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_preMarshalpublic static final long serialVersionUID
public _SearchTie()
public _SearchTie(_SearchOperations delegate)
public java.lang.Object ice_delegate()
ice_delegate in interface Ice.TieBasepublic void ice_delegate(java.lang.Object delegate)
ice_delegate in interface Ice.TieBasepublic boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void activeQueries_async(AMD_Search_activeQueries __cb, Ice.Current __current) throws ServerError
_SearchOperationsactiveQueries gives the minimum number of
remaining calls to results when batches are not
merged.activeQueries_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void addOrderByAsc_async(AMD_Search_addOrderByAsc __cb, java.lang.String path, Ice.Current __current) throws ServerError
_SearchOperationsaddOrderByAsc_async in interface _SearchOperations__cb - The callback object for the operation.path - Non-null.__current - The Current object for the invocation.ServerErrorpublic void addOrderByDesc_async(AMD_Search_addOrderByDesc __cb, java.lang.String path, Ice.Current __current) throws ServerError
_SearchOperationsaddOrderByDesc_async in interface _SearchOperations__cb - The callback object for the operation.path - Non-null.__current - The Current object for the invocation.ServerErrorpublic void allTypes_async(AMD_Search_allTypes __cb, Ice.Current __current) throws ServerError
_SearchOperationsallTypes_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void and_async(AMD_Search_and __cb, Ice.Current __current) throws ServerError
_SearchOperationshasNext, next, or
results sees only the intersection of the two
calls.
For example,
service.onlyType(Image.class);
service.byFullText("foo");
service.intersection();
service.byAnnotatedWith(TagAnnotation.class);
will return only the Images with TagAnnotations.
Calling this method overrides a previous setting of
or or not. If there is no active queries
(i.e. activeQueries > 0), then an
ApiUsageException will be thrown.
and_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void byAnnotatedWith_async(AMD_Search_byAnnotatedWith __cb, java.util.List<Annotation> examples, Ice.Current __current) throws ServerError
_SearchOperationsAnnotation similar to the example. This
does not use Hibernate's
omero.api.IQuery.findByExample Query-By-Example}
mechanism, since that cannot handle joins. The fields which
are used are:
IObject.getId(), etc.null it is assumed to
be a wildcard searched, and only the type of the annotation
is searched. Currently, ListAnnotations are not supported.byAnnotatedWith_async in interface _SearchOperations__cb - The callback object for the operation.examples - Not empty.__current - The Current object for the invocation.ServerErrorpublic void byFullText_async(AMD_Search_byFullText __cb, java.lang.String query, Ice.Current __current) throws ServerError
_SearchOperationsbyFullText_async in interface _SearchOperations__cb - The callback object for the operation.query - May not be null or of zero length.__current - The Current object for the invocation.ServerErrorpublic void byGroupForTags_async(AMD_Search_byGroupForTags __cb, java.lang.String group, Ice.Current __current) throws ServerError
_SearchOperationsTagAnnotation instances which
represent all the
TagAnnotation tags in the given group.
The entities are transient and without ownership since
multiple users can own the same tag. This method will
override settings for types.byGroupForTags_async in interface _SearchOperations__cb - The callback object for the operation.group - Can be null or empty to return all tags.__current - The Current object for the invocation.ServerErrorpublic void byHqlQuery_async(AMD_Search_byHqlQuery __cb, java.lang.String query, Parameters params, Ice.Current __current) throws ServerError
_SearchOperationsomero.api.IQuery.findAllByQuery method
to take advantage of the and, or, and
not methods, or queue-semantics.byHqlQuery_async in interface _SearchOperations__cb - The callback object for the operation.query - Not null.__current - The Current object for the invocation.ServerErrorpublic void byLuceneQueryBuilder_async(AMD_Search_byLuceneQueryBuilder __cb, java.lang.String fields, java.lang.String from, java.lang.String to, java.lang.String dateType, java.lang.String query, Ice.Current __current) throws ServerError
_SearchOperationsbyLuceneQueryBuilder_async in interface _SearchOperations__cb - The callback object for the operation.fields - The fields (comma separated) to search in
(name, description, ...)from - The date range from, in the form YYYYMMDD
(may be null)to - The date range to (inclusive), in the form
YYYYMMDD (may be null)dateType - DATE_TYPE_ACQUISITION or
DATE_TYPE_IMPORTquery - May not be null or of zero length.__current - The Current object for the invocation.ServerErrorpublic void bySimilarTerms_async(AMD_Search_bySimilarTerms __cb, java.util.List<java.lang.String> terms, Ice.Current __current) throws ServerError
_SearchOperationsTextAnnotation instances which represent
terms which are similar to the given terms. For example, if
the argument is cell, one return value might have as
its textValue: cellular while another has
cellularize.
No filtering or fetching is performed.bySimilarTerms_async in interface _SearchOperations__cb - The callback object for the operation.terms - Cannot be empty.__current - The Current object for the invocation.ServerErrorpublic void bySomeMustNone_async(AMD_Search_bySomeMustNone __cb, java.util.List<java.lang.String> some, java.util.List<java.lang.String> must, java.util.List<java.lang.String> none, Ice.Current __current) throws ServerError
_SearchOperationsbyFullText.bySomeMustNone_async in interface _SearchOperations__cb - The callback object for the operation.some - Some (at least one) of these terms must be
present in the document. May be null.must - All of these terms must be present in the
document. May be null.none - None of these terms may be present in the
document. May be null.__current - The Current object for the invocation.ServerErrorpublic void byTagForGroups_async(AMD_Search_byTagForGroups __cb, java.lang.String tag, Ice.Current __current) throws ServerError
_SearchOperationsTagAnnotation instances which represent
all the TagAnnotation tag groups which
the given tag belongs to. The entities are transient and
without ownership since multiple users can own the same tag
group. This method will override settings for types.byTagForGroups_async in interface _SearchOperations__cb - The callback object for the operation.tag - Can be null or empty to return all groups.__current - The Current object for the invocation.ServerErrorpublic void clearQueries_async(AMD_Search_clearQueries __cb, Ice.Current __current) throws ServerError
_SearchOperationsresetDefaults
settings alone), such that activeQueries will
return 0.clearQueries_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void currentMetadata_async(AMD_Search_currentMetadata __cb, Ice.Current __current) throws ServerError
_SearchOperationsnext. This method may only be called once for any
given call to next.currentMetadata_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void currentMetadataList_async(AMD_Search_currentMetadataList __cb, Ice.Current __current) throws ServerError
_SearchOperationsresults. This method may only be called once for
any given call to results.currentMetadataList_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void fetchAlso_async(AMD_Search_fetchAlso __cb, java.util.List<java.lang.String> fetches, Ice.Current __current) throws ServerError
_SearchOperationsfetchAlso_async in interface _SearchOperations__cb - The callback object for the operation.fetches - Can be empty, which removes previous fetch
setting.__current - The Current object for the invocation.ServerErrorpublic void fetchAnnotations_async(AMD_Search_fetchAnnotations __cb, java.util.List<java.lang.String> classes, Ice.Current __current) throws ServerError
_SearchOperationsAnnotation
annotations of the given types for all returned instances.fetchAnnotations_async in interface _SearchOperations__cb - The callback object for the operation.classes - Can be empty, which removes previous fetch
setting.__current - The Current object for the invocation.ServerErrorpublic void getBatchSize_async(AMD_Search_getBatchSize __cb, Ice.Current __current) throws ServerError
_SearchOperationssetBatchSize
has not been called, the default value will be in effect.getBatchSize_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void hasNext_async(AMD_Search_hasNext __cb, Ice.Current __current) throws ServerError
_SearchOperationstrue if another call to
next is valid. A call to next may throw
an exception for another reason, however.hasNext_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void isAllowLeadingWildcard_async(AMD_Search_isAllowLeadingWildcard __cb, Ice.Current __current) throws ServerError
_SearchOperationsbyFullText and bySomeMustNone will throw
an ApiUsageException, since leading-wildcard
searches are quite slow. Use
setAllowLeadingWildcard in order to permit this
usage.isAllowLeadingWildcard_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void isCaseSensitive_async(AMD_Search_isCaseSensitive __cb, Ice.Current __current) throws ServerError
_SearchOperationssetCaseSensitive has not been called, the
default value will be in effect.isCaseSensitive_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void isMergedBatches_async(AMD_Search_isMergedBatches __cb, Ice.Current __current) throws ServerError
_SearchOperationssetMergedBatches has not been called, the
default value will be in effect.isMergedBatches_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void isReturnUnloaded_async(AMD_Search_isReturnUnloaded __cb, Ice.Current __current) throws ServerError
_SearchOperationssetReturnUnloaded has not been called, the
default value will be in effect.isReturnUnloaded_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void isUseProjections_async(AMD_Search_isUseProjections __cb, Ice.Current __current) throws ServerError
_SearchOperationssetUseProjections for more. If
setUseProjections has not been called, the
default value will be in effect.isUseProjections_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void next_async(AMD_Search_next __cb, Ice.Current __current) throws ServerError
_SearchOperationsactiveQueries decremented.
Since this method only returns the entity itself, a single
call to currentMetadata may follow this call to
gather the extra metadata which is returned in the map via
results.next_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void not_async(AMD_Search_not __cb, Ice.Current __current) throws ServerError
_SearchOperationshasNext, next, or
results sees only the intersection of the two
calls.
For example,
service.onlyType(Image.class);
service.byFullText("foo");
service.complement();
service.byAnnotatedWith(TagAnnotation.class);
will return all the Images not annotated with
TagAnnotation.
Calling this method overrides a previous setting of
or or and. If there is no active queries
(i.e. activeQueries > 0), then an
ApiUsageException will be thrown.
not_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void notAnnotatedBy_async(AMD_Search_notAnnotatedBy __cb, Details d, Ice.Current __current) throws ServerError
_SearchOperationsAnnotation matching the other filters.
As notOwnedBy, the
Details.getOwner() and
Details.getGroup() information is
combined with an AND condition.notAnnotatedBy_async in interface _SearchOperations__cb - The callback object for the operation.d - Can be null, in which case any previous
restriction is removed.__current - The Current object for the invocation.ServerErrorpublic void notOwnedBy_async(AMD_Search_notOwnedBy __cb, Details d, Ice.Current __current) throws ServerError
_SearchOperationsDetails.getOwner() and
Details.getGroup() information to
restrict the entities which will be returned. If both are
non-null, the two restrictions are joined by an AND.notOwnedBy_async in interface _SearchOperations__cb - The callback object for the operation.d - Can be null, in which case the previous
restriction is removed.__current - The Current object for the invocation.ServerErrorpublic void onlyAnnotatedBetween_async(AMD_Search_onlyAnnotatedBetween __cb, RTime start, RTime stop, Ice.Current __current) throws ServerError
_SearchOperationsDetails.getCreationEvent()
creation event of the Annotation.onlyAnnotatedBetween_async in interface _SearchOperations__cb - The callback object for the operation.start - Can be null, i.e. interval open to negative
infinity.stop - Can be null, i.e. interval open to positive
infinity.__current - The Current object for the invocation.ServerErrorpublic void onlyAnnotatedBy_async(AMD_Search_onlyAnnotatedBy __cb, Details d, Ice.Current __current) throws ServerError
_SearchOperationsAnnotation matching the other filters.
As onlyOwnedBy, the
Details.getOwner() and
Details.getGroup() information is
combined with an AND condition.onlyAnnotatedBy_async in interface _SearchOperations__cb - The callback object for the operation.d - Can be null, in which case any previous
restriction is removed.__current - The Current object for the invocation.ServerErrorpublic void onlyAnnotatedWith_async(AMD_Search_onlyAnnotatedWith __cb, java.util.List<java.lang.String> classes, Ice.Current __current) throws ServerError
_SearchOperationsAnnotation of all the given types. This
is useful in combination with the other onlyAnnotated*
methods to say, e.g., only annotated with a file by user X.
By default, this value is null and imposes no
restriction. Passing an empty array implies an object that
is not annotated at all.
Note: If the semantics were OR, then a client would have to
query each class individually, and compare all the various
values, checking which ids are where. However, since this
method defaults to AND, multiple calls (optionally with
isMergedBatches and isReturnUnloaded)
and combine the results. Duplicate ids are still possible
so a set of some form should be used to collect the results.onlyAnnotatedWith_async in interface _SearchOperations__cb - The callback object for the operation.classes - Can be empty, in which case restriction is
removed.__current - The Current object for the invocation.ServerErrorpublic void onlyCreatedBetween_async(AMD_Search_onlyCreatedBetween __cb, RTime start, RTime stop, Ice.Current __current) throws ServerError
_SearchOperationsonlyCreatedBetween_async in interface _SearchOperations__cb - The callback object for the operation.start - Can be null, i.e. interval open to negative
infinity.stop - Can be null, i.e. interval opens to positive
infinity.__current - The Current object for the invocation.ServerErrorpublic void onlyIds_async(AMD_Search_onlyIds __cb, java.util.List<java.lang.Long> ids, Ice.Current __current) throws ServerError
_SearchOperationsonlyIds_async in interface _SearchOperations__cb - The callback object for the operation.ids - Can be null, in which case the previous
restriction is removed.__current - The Current object for the invocation.ServerErrorpublic void onlyModifiedBetween_async(AMD_Search_onlyModifiedBetween __cb, RTime start, RTime stop, Ice.Current __current) throws ServerError
_SearchOperationsonlyModifiedBetween_async in interface _SearchOperations__cb - The callback object for the operation.start - Can be null, i.e. interval open to negative
infinity.stop - Can be null, i.e. interval open to positive
infinity.__current - The Current object for the invocation.ServerErrorpublic void onlyOwnedBy_async(AMD_Search_onlyOwnedBy __cb, Details d, Ice.Current __current) throws ServerError
_SearchOperationsDetails.getOwner() and
Details.getGroup() information to
restrict the entities which will be returned. If both are
non-null, the two restrictions are joined by an AND.onlyOwnedBy_async in interface _SearchOperations__cb - The callback object for the operation.d - Can be null, in which case the previous
restriction is removed.__current - The Current object for the invocation.ServerErrorpublic void onlyType_async(AMD_Search_onlyType __cb, java.lang.String klass, Ice.Current __current) throws ServerError
_SearchOperationsonlyType_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void onlyTypes_async(AMD_Search_onlyTypes __cb, java.util.List<java.lang.String> classes, Ice.Current __current) throws ServerError
_SearchOperationsonlyTypes_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void or_async(AMD_Search_or __cb, Ice.Current __current) throws ServerError
_SearchOperationshasNext, next or
results sees only the union of the two calls.
For example,
service.onlyType(Image.class);
service.byFullText("foo");
service.or();
service.onlyType(Dataset.class);
service.byFullText("foo");
will return both Images and Datasets together.
Calling this method overrides a previous setting of
and or not. If there is no active queries
(i.e. activeQueries > 0), then an
ApiUsageException will be thrown.or_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void remove_async(AMD_Search_remove __cb, Ice.Current __current) throws ServerError
_SearchOperationsremove_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void resetDefaults_async(AMD_Search_resetDefaults __cb, Ice.Current __current) throws ServerError
_SearchOperationsresetDefaults_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void results_async(AMD_Search_results __cb, Ice.Current __current) throws ServerError
_SearchOperationsgetBatchSize batch size number of
results along with the related query metadata. If
isMergedBatches batches are merged then the
results from multiple queries may be returned together.results_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void setAllowLeadingWildcard_async(AMD_Search_setAllowLeadingWildcard __cb, boolean allowLeadingWildcard, Ice.Current __current) throws ServerError
_SearchOperationssetAllowLeadingWildcard_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void setBatchSize_async(AMD_Search_setBatchSize __cb, int size, Ice.Current __current) throws ServerError
_SearchOperationsresults. If batches are not merged,
then results may often be less than the batch size. If
batches are merged, then only the last call to
results can be less than batch size.
Note: some query types may not support batching at the
query level, and all instances must then be loaded into
memory simultaneously.setBatchSize_async in interface _SearchOperations__cb - The callback object for the operation.size - maximum number of results per call to
results__current - The Current object for the invocation.ServerErrorpublic void setCaseSensitive_async(AMD_Search_setCaseSensitive __cb, boolean caseSensitive, Ice.Current __current) throws ServerError
_SearchOperationssetCaseSensitive_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerError@Deprecated public void setCaseSentivice_async(AMD_Search_setCaseSentivice __cb, boolean caseSensitive, Ice.Current __current) throws ServerError
_SearchOperationssetCaseSentivice_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void setMergedBatches_async(AMD_Search_setMergedBatches __cb, boolean merge, Ice.Current __current) throws ServerError
_SearchOperationsresults.setMergedBatches_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void setReturnUnloaded_async(AMD_Search_setReturnUnloaded __cb, boolean returnUnloaded, Ice.Current __current) throws ServerError
_SearchOperationsIQuery. This value
overrides the setUseProjections setting.setReturnUnloaded_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void setUseProjections_async(AMD_Search_setUseProjections __cb, boolean useProjections, Ice.Current __current) throws ServerError
_SearchOperationssetUseProjections_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void unordered_async(AMD_Search_unordered __cb, Ice.Current __current) throws ServerError
_SearchOperationsunordered_async in interface _SearchOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void activate_async(AMD_StatefulServiceInterface_activate __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperationsactivate_async in interface _StatefulServiceInterfaceOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void close_async(AMD_StatefulServiceInterface_close __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperationsclose_async in interface _StatefulServiceInterfaceOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperationsgetCurrentEventContext_async in interface _StatefulServiceInterfaceOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void passivate_async(AMD_StatefulServiceInterface_passivate __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperationspassivate_async in interface _StatefulServiceInterfaceOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerError