Package | Description |
---|---|
eu.fbk.knowledgestore.elastic |
Modifier and Type | Method and Description |
---|---|
static org.elasticsearch.index.query.FilterBuilder |
Utility.buildRangeFilter(String elKey,
Range item,
MappingHandler mapper,
URIHandler handler)
Tries to build a Filter: the specified property (elKey) must match the Range item.
|
static org.elasticsearch.index.query.FilterBuilder |
Utility.buildTermFilter(String elKey,
Object item,
MappingHandler mapper,
URIHandler handler) |
static Record |
Utility.deserialize(org.elasticsearch.action.get.GetResponse response,
MappingHandler mapper,
URIHandler handler)
Transforms the GetResponse object into a Record.
|
static Record |
Utility.deserialize(org.elasticsearch.search.SearchHit response,
MappingHandler mapper,
URIHandler handler)
Transforms the SearchHit object into a Record.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
Utility.serialize(Record record,
URIHandler handler) |
Constructor and Description |
---|
DataTransactionElastic(ElasticConfigurations configs,
org.elasticsearch.client.Client client,
MappingHandler mapper,
URIHandler uriHandler) |
Copyright © 2015–2016 FBK-irst. All rights reserved.