Class ArangoResultConverter
java.lang.Object
com.arangodb.springframework.repository.query.ArangoResultConverter
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<?> domainClass) -
Method Summary
Modifier and TypeMethodDescriptioncom.arangodb.ArangoCursor<?>GeoPage<?>GeoResult<?>GeoResults<?>List<?>Optional<?>PageImpl<?>convertResult(Class<?> type) Called to convert result from ArangoCursor to given type, by invoking the appropriate converter methodSet<?>
-
Constructor Details
-
ArangoResultConverter
public ArangoResultConverter(ArangoParameterAccessor accessor, com.arangodb.ArangoCursor<?> result, ArangoOperations operations, Class<?> 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
-