public class SearchApi extends Object
| Constructor and Description |
|---|
SearchApi() |
SearchApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CountExtra |
count(CountQuery countQuery)
Count the number of results for a query.
|
okhttp3.Call |
countAsync(CountQuery countQuery,
ApiCallback<CountExtra> _callback)
Count the number of results for a query.
|
okhttp3.Call |
countCall(CountQuery countQuery,
ApiCallback _callback)
Build call for count
|
ApiResponse<CountExtra> |
countWithHttpInfo(CountQuery countQuery)
Count the number of results for a query.
|
File |
find(FindQuery findQuery)
Find results for a query and return the IDs of the matched nodes.
|
okhttp3.Call |
findAsync(FindQuery findQuery,
ApiCallback<File> _callback)
Find results for a query and return the IDs of the matched nodes.
|
okhttp3.Call |
findCall(FindQuery findQuery,
ApiCallback _callback)
Build call for find
|
ApiResponse<File> |
findWithHttpInfo(FindQuery findQuery)
Find results for a query and return the IDs of the matched nodes.
|
List<FrequencyTableRow> |
frequency(FrequencyQuery frequencyQuery)
Find results for a query and return the IDs of the matched nodes.
|
okhttp3.Call |
frequencyAsync(FrequencyQuery frequencyQuery,
ApiCallback<List<FrequencyTableRow>> _callback)
Find results for a query and return the IDs of the matched nodes.
|
okhttp3.Call |
frequencyCall(FrequencyQuery frequencyQuery,
ApiCallback _callback)
Build call for frequency
|
ApiResponse<List<FrequencyTableRow>> |
frequencyWithHttpInfo(FrequencyQuery frequencyQuery)
Find results for a query and return the IDs of the matched nodes.
|
ApiClient |
getApiClient() |
List<QueryAttributeDescription> |
nodeDescriptions(String query,
QueryLanguage queryLanguage)
Parses a query and returns a description for all the nodes in the query.
|
okhttp3.Call |
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 |
nodeDescriptionsCall(String query,
QueryLanguage queryLanguage,
ApiCallback _callback)
Build call for nodeDescriptions
|
ApiResponse<List<QueryAttributeDescription>> |
nodeDescriptionsWithHttpInfo(String query,
QueryLanguage queryLanguage)
Parses a query and returns a description for all the nodes in the query.
|
void |
setApiClient(ApiClient apiClient) |
File |
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 |
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 |
subgraphForQueryCall(String corpus,
String query,
QueryLanguage queryLanguage,
AnnotationComponentType componentTypeFilter,
ApiCallback _callback)
Build call for subgraphForQuery
|
ApiResponse<File> |
subgraphForQueryWithHttpInfo(String corpus,
String query,
QueryLanguage queryLanguage,
AnnotationComponentType componentTypeFilter)
Get a subgraph of the corpus format given a list of nodes and a context.
|
public SearchApi()
public SearchApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call countCall(CountQuery countQuery, ApiCallback _callback) throws ApiException
countQuery - The definition of the query to execute. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic CountExtra count(CountQuery countQuery) throws ApiException
countQuery - The definition of the query to execute. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CountExtra> countWithHttpInfo(CountQuery countQuery) throws ApiException
countQuery - The definition of the query to execute. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call countAsync(CountQuery countQuery, ApiCallback<CountExtra> _callback) throws ApiException
countQuery - The definition of the query to execute. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call findCall(FindQuery findQuery, ApiCallback _callback) throws ApiException
findQuery - The definition of the query to execute. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic File find(FindQuery findQuery) throws ApiException
findQuery - The definition of the query to execute. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> findWithHttpInfo(FindQuery findQuery) throws ApiException
findQuery - The definition of the query to execute. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call findAsync(FindQuery findQuery, ApiCallback<File> _callback) throws ApiException
findQuery - The definition of the query to execute. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call frequencyCall(FrequencyQuery frequencyQuery, ApiCallback _callback) throws ApiException
frequencyQuery - The definition of the query to execute. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic List<FrequencyTableRow> frequency(FrequencyQuery frequencyQuery) throws ApiException
frequencyQuery - The definition of the query to execute. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<FrequencyTableRow>> frequencyWithHttpInfo(FrequencyQuery frequencyQuery) throws ApiException
frequencyQuery - The definition of the query to execute. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call frequencyAsync(FrequencyQuery frequencyQuery, ApiCallback<List<FrequencyTableRow>> _callback) throws ApiException
frequencyQuery - The definition of the query to execute. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call nodeDescriptionsCall(String query, QueryLanguage queryLanguage, ApiCallback _callback) throws ApiException
query - The query to parse (optional)queryLanguage - (optional, default to AQL)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic List<QueryAttributeDescription> nodeDescriptions(String query, QueryLanguage queryLanguage) throws ApiException
query - The query to parse (optional)queryLanguage - (optional, default to AQL)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<QueryAttributeDescription>> nodeDescriptionsWithHttpInfo(String query, QueryLanguage queryLanguage) throws ApiException
query - The query to parse (optional)queryLanguage - (optional, default to AQL)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call nodeDescriptionsAsync(String query, QueryLanguage queryLanguage, ApiCallback<List<QueryAttributeDescription>> _callback) throws ApiException
query - The query to parse (optional)queryLanguage - (optional, default to AQL)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call subgraphForQueryCall(String corpus, String query, QueryLanguage queryLanguage, AnnotationComponentType componentTypeFilter, ApiCallback _callback) throws ApiException
corpus - The name of the corpus to get the subgraph for. (required)query - The query which defines the nodes to include. (required)queryLanguage - (optional, default to AQL)componentTypeFilter - If given, restricts the included edges to components with the given type. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic File subgraphForQuery(String corpus, String query, QueryLanguage queryLanguage, AnnotationComponentType componentTypeFilter) throws ApiException
corpus - The name of the corpus to get the subgraph for. (required)query - The query which defines the nodes to include. (required)queryLanguage - (optional, default to AQL)componentTypeFilter - If given, restricts the included edges to components with the given type. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> subgraphForQueryWithHttpInfo(String corpus, String query, QueryLanguage queryLanguage, AnnotationComponentType componentTypeFilter) throws ApiException
corpus - The name of the corpus to get the subgraph for. (required)query - The query which defines the nodes to include. (required)queryLanguage - (optional, default to AQL)componentTypeFilter - If given, restricts the included edges to components with the given type. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call subgraphForQueryAsync(String corpus, String query, QueryLanguage queryLanguage, AnnotationComponentType componentTypeFilter, ApiCallback<File> _callback) throws ApiException
corpus - The name of the corpus to get the subgraph for. (required)query - The query which defines the nodes to include. (required)queryLanguage - (optional, default to AQL)componentTypeFilter - If given, restricts the included edges to components with the given type. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.