Interface ArangoConfiguration
public interface ArangoConfiguration
Defines methods to customize the Java-based configuration for Spring Data
ArangoDB.
- Author:
- Mark Vollmary
-
Method Summary
Modifier and TypeMethodDescriptioncom.arangodb.ArangoDB.Builderarango()default ArangoConverterdefault ArangoMappingContextdefault ArangoTemplatedefault ArangoTypeMapperdefault com.arangodb.ContentTypeOverride to set the data format to use inserde().default CustomConversionsdefault Collection<Converter<?,?>> database()default FieldNamingStrategydefault String[]default ResolverFactorydefault booleanConfigures the behaviour ofCrudRepository.save(Object)andCrudRepository.saveAll(Iterable)to either return the original entities (updated where possible) or new ones.default com.arangodb.serde.ArangoSerdeserde()default StringtypeKey()
-
Method Details
-
arango
com.arangodb.ArangoDB.Builder arango() -
database
String database() -
returnOriginalEntities
default boolean returnOriginalEntities()Configures the behaviour ofCrudRepository.save(Object)andCrudRepository.saveAll(Iterable)to either return the original entities (updated where possible) or new ones. Set tofalseto use immutable entity classes or java records. -
contentType
default com.arangodb.ContentType contentType()Override to set the data format to use inserde(). It must match the content-type required by the protocol used in the driver, e.g. set toContentType.VPACKfor protocolsProtocol.VST,Protocol.HTTP_VPACKandProtocol.HTTP2_VPACK, or set toContentType.VPACKotherwise.- Returns:
- the content-type to use in
serde()
-
arangoTemplate
- Throws:
Exception
-
serde
- Throws:
Exception
-
arangoMappingContext
- Throws:
Exception
-
arangoConverter
- Throws:
Exception
-
customConversions
-
customConverters
-
getInitialEntitySet
- Throws:
ClassNotFoundException
-
getEntityBasePackages
-
fieldNamingStrategy
-
typeKey
-
arangoTypeMapper
- Throws:
Exception
-
resolverFactory
-