| Package | Description |
|---|---|
| org.corpus_tools.annis | |
| org.corpus_tools.annis.api | |
| org.corpus_tools.annis.gui | |
| org.corpus_tools.annis.gui.controller | |
| org.corpus_tools.annis.gui.exporter |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiCallback.onFailure(ApiException e,
int statusCode,
Map<String,List<String>> responseHeaders)
This is called when the API call fails.
|
| 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> T |
ApiClient.deserialize(okhttp3.Response response,
Type returnType)
Deserialize response body to Java object, according to the return type and
the Content-Type response header.
|
File |
ApiClient.downloadFileFromResponse(okhttp3.Response response)
Download file from the given response.
|
<T> ApiResponse<T> |
ApiClient.execute(okhttp3.Call call)
|
<T> ApiResponse<T> |
ApiClient.execute(okhttp3.Call call,
Type returnType)
Execute HTTP call and deserialize the HTTP response body into the given return type.
|
<T> T |
ApiClient.handleResponse(okhttp3.Response response,
Type returnType)
Handle the given response, return the deserialized object when the response is successful.
|
okhttp3.RequestBody |
ApiClient.serialize(Object obj,
String contentType)
Serialize the given Java object into request body according to the object's
class and the request Content-Type.
|
| Modifier and Type | Method and Description |
|---|---|
List<Component> |
CorporaApi.components(String corpus,
String type,
String name)
List all edge components of the corpus.
|
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
|
ApiResponse<List<Component>> |
CorporaApi.componentsWithHttpInfo(String corpus,
String type,
String name)
List all edge components of the corpus.
|
CorpusConfiguration |
CorporaApi.corpusConfiguration(String corpus)
Get the corpus configuration object.
|
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
|
ApiResponse<CorpusConfiguration> |
CorporaApi.corpusConfigurationWithHttpInfo(String corpus)
Get the corpus configuration object.
|
CountExtra |
SearchApi.count(CountQuery countQuery)
Count the number of results for a query.
|
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
|
ApiResponse<CountExtra> |
SearchApi.countWithHttpInfo(CountQuery countQuery)
Count the number of results for a query.
|
void |
CorporaApi.deleteCorpus(String corpus)
Delete the given corpus.
|
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
|
ApiResponse<Void> |
CorporaApi.deleteCorpusWithHttpInfo(String corpus)
Delete the given corpus.
|
void |
AdministrationApi.deleteGroup(String name)
Delete the user group given by its name
|
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
|
ApiResponse<Void> |
AdministrationApi.deleteGroupWithHttpInfo(String name)
Delete the user group given by its name
|
List<Annotation> |
CorporaApi.edgeAnnotations(String corpus,
String type,
String layer,
String name,
Boolean listValues,
Boolean onlyMostFrequentValues)
List all annotations of the corpus for a given edge component
|
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
|
ApiResponse<List<Annotation>> |
CorporaApi.edgeAnnotationsWithHttpInfo(String corpus,
String type,
String layer,
String name,
Boolean listValues,
Boolean onlyMostFrequentValues)
List all annotations of the corpus for a given edge component
|
InlineResponse202 |
AdministrationApi.exportPost(InlineObject inlineObject)
Get all requested corpora as ZIP-file
|
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
|
ApiResponse<InlineResponse202> |
AdministrationApi.exportPostWithHttpInfo(InlineObject inlineObject)
Get all requested corpora as ZIP-file
|
File |
SearchApi.find(FindQuery findQuery)
Find results for a query and return the IDs of the matched nodes.
|
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
|
ApiResponse<File> |
SearchApi.findWithHttpInfo(FindQuery findQuery)
Find results for a query and return the IDs of the matched nodes.
|
List<FrequencyTableRow> |
SearchApi.frequency(FrequencyQuery frequencyQuery)
Find results for a query and return the IDs of the matched nodes.
|
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
|
ApiResponse<List<FrequencyTableRow>> |
SearchApi.frequencyWithHttpInfo(FrequencyQuery frequencyQuery)
Find results for a query and return the IDs of the matched nodes.
|
File |
CorporaApi.getFile(String corpus,
String name)
Get an associated file for the corpus by its name.
|
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
|
ApiResponse<File> |
CorporaApi.getFileWithHttpInfo(String corpus,
String name)
Get an associated file for the corpus by its name.
|
void |
AdministrationApi.getJob(String uuid)
Get the status of the background job with the UUID
|
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
|
ApiResponse<Void> |
AdministrationApi.getJobWithHttpInfo(String uuid)
Get the status of the background job with the UUID
|
ImportResult |
AdministrationApi.importPost(File body,
Boolean overrideExisting)
Import all corpora which are part of the uploaded ZIP-file
This will search for all GraphML and relANNIS files in the uploaded ZIP file and imports them.
|
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
|
ApiResponse<ImportResult> |
AdministrationApi.importPostWithHttpInfo(File body,
Boolean overrideExisting)
Import all corpora which are part of the uploaded ZIP-file
This will search for all GraphML and relANNIS files in the uploaded ZIP file and imports them.
|
List<String> |
CorporaApi.listCorpora()
Get a list of all corpora the user is authorized to use.
|
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
|
ApiResponse<List<String>> |
CorporaApi.listCorporaWithHttpInfo()
Get a list of all corpora the user is authorized to use.
|
List<String> |
CorporaApi.listFiles(String corpus,
String node)
List the names of all associated file for the corpus.
|
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
|
ApiResponse<List<String>> |
CorporaApi.listFilesWithHttpInfo(String corpus,
String node)
List the names of all associated file for the corpus.
|
List<Group> |
AdministrationApi.listGroups()
Get all available user groups
|
okhttp3.Call |
AdministrationApi.listGroupsAsync(ApiCallback<List<Group>> _callback)
Get all available user groups (asynchronously)
|
okhttp3.Call |
AdministrationApi.listGroupsCall(ApiCallback _callback)
Build call for listGroups
|
ApiResponse<List<Group>> |
AdministrationApi.listGroupsWithHttpInfo()
Get all available user groups
|
List<Annotation> |
CorporaApi.nodeAnnotations(String corpus,
Boolean listValues,
Boolean onlyMostFrequentValues)
List all node annotations of the corpus.
|
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
|
ApiResponse<List<Annotation>> |
CorporaApi.nodeAnnotationsWithHttpInfo(String corpus,
Boolean listValues,
Boolean onlyMostFrequentValues)
List all node annotations of the corpus.
|
List<QueryAttributeDescription> |
SearchApi.nodeDescriptions(String query,
QueryLanguage queryLanguage)
Parses a query and returns a description for all the nodes in the query.
|
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
|
ApiResponse<List<QueryAttributeDescription>> |
SearchApi.nodeDescriptionsWithHttpInfo(String query,
QueryLanguage queryLanguage)
Parses a query and returns a description for all the nodes in the query.
|
void |
AdministrationApi.putGroup(String name,
Group group)
Add or replace the user group given by its name
|
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
|
ApiResponse<Void> |
AdministrationApi.putGroupWithHttpInfo(String name,
Group group)
Add or replace the user group given by its name
|
File |
CorporaApi.subgraphForNodes(String corpus,
SubgraphWithContext subgraphWithContext)
Get a subgraph of the corpus format given a list of nodes and a context.
|
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
|
ApiResponse<File> |
CorporaApi.subgraphForNodesWithHttpInfo(String corpus,
SubgraphWithContext subgraphWithContext)
Get a subgraph of the corpus format given a list of nodes and a context.
|
File |
CorporaApi.subgraphForQuery(String corpus,
String query,
QueryLanguage queryLanguage,
AnnotationComponentType componentTypeFilter)
Get a subgraph of the corpus format given a list of nodes and a context.
|
File |
SearchApi.subgraphForQuery(String corpus,
String query,
QueryLanguage queryLanguage,
AnnotationComponentType componentTypeFilter)
Get a subgraph of the corpus format given a list of nodes and a context.
|
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
|
ApiResponse<File> |
CorporaApi.subgraphForQueryWithHttpInfo(String corpus,
String query,
QueryLanguage queryLanguage,
AnnotationComponentType componentTypeFilter)
Get a subgraph of the corpus format given a list of nodes and a context.
|
ApiResponse<File> |
SearchApi.subgraphForQueryWithHttpInfo(String corpus,
String query,
QueryLanguage queryLanguage,
AnnotationComponentType componentTypeFilter)
Get a subgraph of the corpus format given a list of nodes and a context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
QueryController.reportServiceException(ApiException ex,
boolean showNotification)
Show errors that occurred during the execution of a query to the user.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<AnnoKey> |
Helper.getMetaAnnotationNames(String corpus,
com.vaadin.ui.UI ui) |
| Modifier and Type | Method and Description |
|---|---|
void |
CountCallback.onFailure(ApiException e,
int statusCode,
Map<String,List<String>> responseHeaders) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
GeneralTextExporter.getAllAnnotationsAsExporterKey(Collection<String> corpora,
CorporaApi api)
Queries all annotations for the given corpora.
|
protected static Optional<org.corpus_tools.salt.common.SaltProject> |
ExportHelper.getSubgraphForMatch(String match,
CorporaApi corporaApi,
int contextLeft,
int contextRight,
Map<String,String> args) |
Copyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.