public class Autocomplete extends Object
| Modifier and Type | Method and Description |
|---|---|
static Autocomplete |
create(Set<String> types,
String query,
int cursorPosition) |
Set<String> |
getCandidates() |
int |
getCursorPosition() |
public static Autocomplete create(Set<String> types, String query, int cursorPosition)
types - a set of type IDs to autocompletequery - the query to autocompletecursorPosition - the cursor position in the querypublic int getCursorPosition()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.