Package | Description |
---|---|
org.gcube.common.searchservice.searchlibrary.resultset.elements |
Modifier and Type | Class and Description |
---|---|
class |
ResultElementBean
This class acts as a generic placeholder for the records that can be inserted and extracted from the
ResultSet payload parts treating the
payload as a java bean object. |
class |
ResultElementXBean
This class acts as a generic placeholder for the records that can be inserted and extracted from the
ResultSet payload parts treating the
payload as a java bean object. |
Modifier and Type | Method and Description |
---|---|
static ResultElementGeneric |
ResultElementGeneric.merge(ResultElementGeneric element1,
ResultElementGeneric element2)
Merges the two provided
ResultElementGeneric into a new one which has as the id the id of element1,
and as payload the concatenation of the two elements payload |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ResultElementGeneric.extractValue(ResultElementGeneric element,
java.lang.String which)
This method receives a
ResultElementGeneric and an expression in the form of
element/element/element and traverses the payload expecting to find at every
level it moves a child element with the name as provided, in the respective level, in the
which parameter. |
static ResultElementGeneric |
ResultElementGeneric.merge(ResultElementGeneric element1,
ResultElementGeneric element2)
Merges the two provided
ResultElementGeneric into a new one which has as the id the id of element1,
and as payload the concatenation of the two elements payload |