Class CoreSearchRow
- java.lang.Object
-
- com.couchbase.client.core.api.search.result.CoreSearchRow
-
public class CoreSearchRow extends Object
-
-
Constructor Summary
Constructors Constructor Description CoreSearchRow(String index, String id, double score, byte[] explanation, Optional<CoreSearchRowLocations> locations, Map<String,List<String>> fragments, byte[] fields, Supplier<CoreSearchKeyset> keyset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
byte[]
explanation()
byte[]
fields()
Map<String,List<String>>
fragments()
static CoreSearchRow
fromResponse(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode hit)
static CoreSearchRow
fromResponse(SearchChunkRow row)
int
hashCode()
String
id()
String
index()
CoreSearchKeyset
keyset()
Optional<CoreSearchRowLocations>
locations()
double
score()
String
toString()
-
-
-
Method Detail
-
index
public String index()
-
id
public String id()
-
score
public double score()
-
explanation
public byte[] explanation()
-
locations
public Optional<CoreSearchRowLocations> locations()
-
fields
@Nullable public byte[] fields()
-
keyset
public CoreSearchKeyset keyset()
-
fromResponse
public static CoreSearchRow fromResponse(SearchChunkRow row)
-
fromResponse
public static CoreSearchRow fromResponse(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode hit)
-
-