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() |
@CheckReturnValue 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 query@CheckReturnValue public Set<String> getCandidates()
@CheckReturnValue public int getCursorPosition()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.