public class HALBuilder extends Object
| Constructor and Description |
|---|
HALBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static mjson.Json |
explanationAnswersToHAL(java.util.stream.Stream<Answer> answerStream,
int limit) |
static String |
HALExploreConcept(Concept concept,
Keyspace keyspace,
int offset,
int limit) |
static mjson.Json |
renderHALArrayData(GetQuery getQuery,
Collection<Answer> results,
int offset,
int limit,
boolean filterInstances) |
static mjson.Json |
renderHALArrayData(GetQuery getQuery,
int offset,
int limit) |
static String |
renderHALConceptData(Concept concept,
int separationDegree,
Keyspace keyspace,
int offset,
int limit) |
public static mjson.Json renderHALArrayData(GetQuery getQuery, int offset, int limit)
public static mjson.Json renderHALArrayData(GetQuery getQuery, Collection<Answer> results, int offset, int limit, boolean filterInstances)
public static String renderHALConceptData(Concept concept, int separationDegree, Keyspace keyspace, int offset, int limit)
@Nullable public static String HALExploreConcept(Concept concept, Keyspace keyspace, int offset, int limit)
public static mjson.Json explanationAnswersToHAL(java.util.stream.Stream<Answer> answerStream, int limit)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.