| Package | Description |
|---|---|
| org.corpus_tools.annis | |
| org.corpus_tools.annis.api | |
| org.corpus_tools.annis.gui.controller |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
ApiClient.buildCall(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,String> cookieParams,
Map<String,Object> formParams,
String[] authNames,
ApiCallback callback)
Build HTTP call with the given options.
|
okhttp3.Request |
ApiClient.buildRequest(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,String> cookieParams,
Map<String,Object> formParams,
String[] authNames,
ApiCallback callback)
Build an HTTP request with the given options.
|
<T> void |
ApiClient.executeAsync(okhttp3.Call call,
ApiCallback<T> callback)
|
<T> void |
ApiClient.executeAsync(okhttp3.Call call,
Type returnType,
ApiCallback<T> callback)
Execute HTTP call asynchronously.
|
| Constructor and Description |
|---|
ProgressRequestBody(okhttp3.RequestBody requestBody,
ApiCallback callback) |
ProgressResponseBody(okhttp3.ResponseBody responseBody,
ApiCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
CorporaApi.componentsAsync(String corpus,
String type,
String name,
ApiCallback<List<Component>> _callback)
List all edge components of the corpus.
|
okhttp3.Call |
CorporaApi.componentsCall(String corpus,
String type,
String name,
ApiCallback _callback)
Build call for components
|
okhttp3.Call |
CorporaApi.corpusConfigurationAsync(String corpus,
ApiCallback<CorpusConfiguration> _callback)
Get the corpus configuration object.
|
okhttp3.Call |
CorporaApi.corpusConfigurationCall(String corpus,
ApiCallback _callback)
Build call for corpusConfiguration
|
okhttp3.Call |
SearchApi.countAsync(CountQuery countQuery,
ApiCallback<CountExtra> _callback)
Count the number of results for a query.
|
okhttp3.Call |
SearchApi.countCall(CountQuery countQuery,
ApiCallback _callback)
Build call for count
|
okhttp3.Call |
CorporaApi.deleteCorpusAsync(String corpus,
ApiCallback<Void> _callback)
Delete the given corpus.
|
okhttp3.Call |
CorporaApi.deleteCorpusCall(String corpus,
ApiCallback _callback)
Build call for deleteCorpus
|
okhttp3.Call |
AdministrationApi.deleteGroupAsync(String name,
ApiCallback<Void> _callback)
Delete the user group given by its name (asynchronously)
|
okhttp3.Call |
AdministrationApi.deleteGroupCall(String name,
ApiCallback _callback)
Build call for deleteGroup
|
okhttp3.Call |
CorporaApi.edgeAnnotationsAsync(String corpus,
String type,
String layer,
String name,
Boolean listValues,
Boolean onlyMostFrequentValues,
ApiCallback<List<Annotation>> _callback)
List all annotations of the corpus for a given edge component (asynchronously)
|
okhttp3.Call |
CorporaApi.edgeAnnotationsCall(String corpus,
String type,
String layer,
String name,
Boolean listValues,
Boolean onlyMostFrequentValues,
ApiCallback _callback)
Build call for edgeAnnotations
|
okhttp3.Call |
AdministrationApi.exportPostAsync(InlineObject inlineObject,
ApiCallback<InlineResponse202> _callback)
Get all requested corpora as ZIP-file (asynchronously)
|
okhttp3.Call |
AdministrationApi.exportPostCall(InlineObject inlineObject,
ApiCallback _callback)
Build call for exportPost
|
okhttp3.Call |
SearchApi.findAsync(FindQuery findQuery,
ApiCallback<File> _callback)
Find results for a query and return the IDs of the matched nodes.
|
okhttp3.Call |
SearchApi.findCall(FindQuery findQuery,
ApiCallback _callback)
Build call for find
|
okhttp3.Call |
SearchApi.frequencyAsync(FrequencyQuery frequencyQuery,
ApiCallback<List<FrequencyTableRow>> _callback)
Find results for a query and return the IDs of the matched nodes.
|
okhttp3.Call |
SearchApi.frequencyCall(FrequencyQuery frequencyQuery,
ApiCallback _callback)
Build call for frequency
|
okhttp3.Call |
CorporaApi.getFileAsync(String corpus,
String name,
ApiCallback<File> _callback)
Get an associated file for the corpus by its name.
|
okhttp3.Call |
CorporaApi.getFileCall(String corpus,
String name,
ApiCallback _callback)
Build call for getFile
|
okhttp3.Call |
AdministrationApi.getJobAsync(String uuid,
ApiCallback<Void> _callback)
Get the status of the background job with the UUID (asynchronously)
|
okhttp3.Call |
AdministrationApi.getJobCall(String uuid,
ApiCallback _callback)
Build call for getJob
|
okhttp3.Call |
AdministrationApi.importPostAsync(File body,
Boolean overrideExisting,
ApiCallback<ImportResult> _callback)
Import all corpora which are part of the uploaded ZIP-file (asynchronously)
This will search for all GraphML and relANNIS files in the uploaded ZIP file and imports them.
|
okhttp3.Call |
AdministrationApi.importPostCall(File body,
Boolean overrideExisting,
ApiCallback _callback)
Build call for importPost
|
okhttp3.Call |
CorporaApi.listCorporaAsync(ApiCallback<List<String>> _callback)
Get a list of all corpora the user is authorized to use.
|
okhttp3.Call |
CorporaApi.listCorporaCall(ApiCallback _callback)
Build call for listCorpora
|
okhttp3.Call |
CorporaApi.listFilesAsync(String corpus,
String node,
ApiCallback<List<String>> _callback)
List the names of all associated file for the corpus.
|
okhttp3.Call |
CorporaApi.listFilesCall(String corpus,
String node,
ApiCallback _callback)
Build call for listFiles
|
okhttp3.Call |
AdministrationApi.listGroupsAsync(ApiCallback<List<Group>> _callback)
Get all available user groups (asynchronously)
|
okhttp3.Call |
AdministrationApi.listGroupsCall(ApiCallback _callback)
Build call for listGroups
|
okhttp3.Call |
CorporaApi.nodeAnnotationsAsync(String corpus,
Boolean listValues,
Boolean onlyMostFrequentValues,
ApiCallback<List<Annotation>> _callback)
List all node annotations of the corpus.
|
okhttp3.Call |
CorporaApi.nodeAnnotationsCall(String corpus,
Boolean listValues,
Boolean onlyMostFrequentValues,
ApiCallback _callback)
Build call for nodeAnnotations
|
okhttp3.Call |
SearchApi.nodeDescriptionsAsync(String query,
QueryLanguage queryLanguage,
ApiCallback<List<QueryAttributeDescription>> _callback)
Parses a query and returns a description for all the nodes in the query.
|
okhttp3.Call |
SearchApi.nodeDescriptionsCall(String query,
QueryLanguage queryLanguage,
ApiCallback _callback)
Build call for nodeDescriptions
|
okhttp3.Call |
AdministrationApi.putGroupAsync(String name,
Group group,
ApiCallback<Void> _callback)
Add or replace the user group given by its name (asynchronously)
|
okhttp3.Call |
AdministrationApi.putGroupCall(String name,
Group group,
ApiCallback _callback)
Build call for putGroup
|
okhttp3.Call |
CorporaApi.subgraphForNodesAsync(String corpus,
SubgraphWithContext subgraphWithContext,
ApiCallback<File> _callback)
Get a subgraph of the corpus format given a list of nodes and a context.
|
okhttp3.Call |
CorporaApi.subgraphForNodesCall(String corpus,
SubgraphWithContext subgraphWithContext,
ApiCallback _callback)
Build call for subgraphForNodes
|
okhttp3.Call |
CorporaApi.subgraphForQueryAsync(String corpus,
String query,
QueryLanguage queryLanguage,
AnnotationComponentType componentTypeFilter,
ApiCallback<File> _callback)
Get a subgraph of the corpus format given a list of nodes and a context.
|
okhttp3.Call |
SearchApi.subgraphForQueryAsync(String corpus,
String query,
QueryLanguage queryLanguage,
AnnotationComponentType componentTypeFilter,
ApiCallback<File> _callback)
Get a subgraph of the corpus format given a list of nodes and a context.
|
okhttp3.Call |
CorporaApi.subgraphForQueryCall(String corpus,
String query,
QueryLanguage queryLanguage,
AnnotationComponentType componentTypeFilter,
ApiCallback _callback)
Build call for subgraphForQuery
|
okhttp3.Call |
SearchApi.subgraphForQueryCall(String corpus,
String query,
QueryLanguage queryLanguage,
AnnotationComponentType componentTypeFilter,
ApiCallback _callback)
Build call for subgraphForQuery
|
| Modifier and Type | Class and Description |
|---|---|
class |
CountCallback |
Copyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.