| Package | Description |
|---|---|
| org.corpus_tools.graphannis |
| Modifier and Type | Method and Description |
|---|---|
static CorpusStorageManager.QueryLanguage |
CorpusStorageManager.QueryLanguage.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CorpusStorageManager.QueryLanguage[] |
CorpusStorageManager.QueryLanguage.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Graph |
CorpusStorageManager.corpusGraphForQuery(String corpusName,
String query,
CorpusStorageManager.QueryLanguage queryLanguage)
Return the copy of the graph of the corpus structure which includes all nodes
matched by the given query.
|
long |
CorpusStorageManager.count(String corpusName,
String query,
CorpusStorageManager.QueryLanguage queryLanguage)
Count the number of results for a query.
|
CorpusStorageManager.CountResult |
CorpusStorageManager.countExtra(String corpusName,
String query,
CorpusStorageManager.QueryLanguage queryLanguage)
Count the number of results for a query and return both the total number of
matches and also the number of documents in the result set.
|
String[] |
CorpusStorageManager.find(String corpusName,
CorpusStorageManager.QueryLanguage queryLanguage,
String query,
long offset,
long limit)
Find all results for a `query` and return the match ID for each result in
default order.
|
String[] |
CorpusStorageManager.find(String corpusName,
String query,
CorpusStorageManager.QueryLanguage queryLanguage,
long offset,
long limit,
CorpusStorageManager.ResultOrder order)
Find all results for a `query` and return the match ID for each result.
|
List<FrequencyTableEntry<String>> |
CorpusStorageManager.frequency(String corpusName,
String query,
CorpusStorageManager.QueryLanguage queryLanguage,
String frequencyQueryDefinition)
Execute a frequency query.
|
List<NodeDesc> |
CorpusStorageManager.getNodeDescriptions(String query,
CorpusStorageManager.QueryLanguage queryLanguage) |
Graph |
CorpusStorageManager.subGraphForQuery(String corpusName,
String query,
CorpusStorageManager.QueryLanguage queryLanguage)
Return the copy of a subgraph which includes all nodes matched by the given
query.
|
boolean |
CorpusStorageManager.validateQuery(String corpusName,
String query,
CorpusStorageManager.QueryLanguage queryLanguage)
Parses a query and checks if it is valid.
|
Copyright © 2019 Thomas Krause. All rights reserved.