Class ArangoResultConverter<T>
java.lang.Object
com.arangodb.springframework.repository.query.ArangoResultConverter<T>
Converts the result returned from the ArangoDB Java driver to the desired type.
- Author:
- Audrius Malele, Mark McCormick, Mark Vollmary, Christian Lechner
-
Constructor Summary
ConstructorsConstructorDescriptionArangoResultConverter
(ArangoParameterAccessor accessor, com.arangodb.ArangoCursor<?> result, ArangoOperations operations, Class<T> domainClass) -
Method Summary
-
Constructor Details
-
ArangoResultConverter
public ArangoResultConverter(ArangoParameterAccessor accessor, com.arangodb.ArangoCursor<?> result, ArangoOperations operations, Class<T> domainClass) - Parameters:
accessor
-result
- the query result returned by the driveroperations
- instance of arangoTemplatedomainClass
- class type of documents
-
-
Method Details
-
convertResult
Called to convert result from ArangoCursor to given type, by invoking the appropriate converter method- Parameters:
type
-- Returns:
- result in desired type
-
convertOptional
-
convertList
-
convertPage
-
convertSet
-
convertArangoCursor
public com.arangodb.ArangoCursor<?> convertArangoCursor() -
convertGeoResult
-
convertGeoResults
-
convertGeoPage
-
convertArray
-