Package | Description |
---|---|
com.arangodb |
Modifier and Type | Method and Description |
---|---|
ArangoDB.Builder |
ArangoDB.Builder.acquireHostList(Boolean acquireHostList)
Whether or not the driver should acquire a list of available coordinators in an ArangoDB cluster or a single
server with active failover.
|
ArangoDB.Builder |
ArangoDB.Builder.acquireHostListInterval(Integer acquireHostListInterval)
Setting the Interval for acquireHostList
|
<A extends Annotation> |
ArangoDB.Builder.annotationFieldFilter(Class<A> type,
com.arangodb.velocypack.VPackAnnotationFieldFilter<A> fieldFilter)
Register a custom
VPackAnnotationFieldFilter for a specific type to be used within the internal
serialization process. |
<A extends Annotation> |
ArangoDB.Builder.annotationFieldNaming(Class<A> type,
com.arangodb.velocypack.VPackAnnotationFieldNaming<A> fieldNaming)
Register a custom
VPackAnnotationFieldNaming for a specific type to be used within the internal
serialization process. |
ArangoDB.Builder |
ArangoDB.Builder.chunksize(Integer chunksize)
Sets the chunk size when
Protocol.VST is used. |
ArangoDB.Builder |
ArangoDB.Builder.connectionTtl(Long connectionTtl)
Set the maximum time to life of a connection.
|
ArangoDB.Builder |
ArangoDB.Builder.host(String host,
int port)
Adds a host to connect to.
|
ArangoDB.Builder |
ArangoDB.Builder.hostnameVerifier(HostnameVerifier hostnameVerifier)
Sets the
HostnameVerifier to be used when using ssl with http protocol. |
ArangoDB.Builder |
ArangoDB.Builder.httpRequestRetryHandler(org.apache.http.client.HttpRequestRetryHandler httpRequestRetryHandler)
Sets the
HttpRequestRetryHandler to be used when using http protocol. |
ArangoDB.Builder |
ArangoDB.Builder.keepAliveInterval(Integer keepAliveInterval)
Set the keep-alive interval for VST connections.
|
ArangoDB.Builder |
ArangoDB.Builder.loadBalancingStrategy(LoadBalancingStrategy loadBalancingStrategy)
Sets the load balancing strategy to be used in an ArangoDB cluster setup.
|
ArangoDB.Builder |
ArangoDB.Builder.loadProperties(InputStream in) |
ArangoDB.Builder |
ArangoDB.Builder.maxConnections(Integer maxConnections)
Sets the maximum number of connections the built in connection pool will open per host.
|
ArangoDB.Builder |
ArangoDB.Builder.password(String password)
Sets the password for the user for authentication.
|
<T> ArangoDB.Builder |
ArangoDB.Builder.registerDeserializer(Class<T> clazz,
com.arangodb.velocypack.VPackDeserializer<T> deserializer)
Register a custom
VPackDeserializer for a specific type to be used within the internal serialization
process. |
<T> ArangoDB.Builder |
ArangoDB.Builder.registerEnclosingSerializer(Class<T> clazz,
com.arangodb.velocypack.VPackSerializer<T> serializer)
Register a special serializer for a member class which can only be identified by its enclosing class.
|
<T> ArangoDB.Builder |
ArangoDB.Builder.registerInstanceCreator(Class<T> clazz,
com.arangodb.velocypack.VPackInstanceCreator<T> creator)
Register a custom
VPackInstanceCreator for a specific type to be used within the internal
serialization process. |
ArangoDB.Builder |
ArangoDB.Builder.registerJsonDeserializer(String attribute,
com.arangodb.velocypack.ValueType type,
com.arangodb.velocypack.VPackJsonDeserializer deserializer)
Register a custom
VPackJsonDeserializer for a specific type and attribute name to be used within the
internal serialization process. |
ArangoDB.Builder |
ArangoDB.Builder.registerJsonDeserializer(com.arangodb.velocypack.ValueType type,
com.arangodb.velocypack.VPackJsonDeserializer deserializer)
Register a custom
VPackJsonDeserializer for a specific type to be used within the internal
serialization process. |
ArangoDB.Builder |
ArangoDB.Builder.registerJsonModule(com.arangodb.velocypack.VPackParserModule module)
Register a
VPackParserModule to be used within the internal serialization process. |
ArangoDB.Builder |
ArangoDB.Builder.registerJsonModules(com.arangodb.velocypack.VPackParserModule... modules)
Register a list of
VPackParserModule to be used within the internal serialization process. |
<T> ArangoDB.Builder |
ArangoDB.Builder.registerJsonSerializer(Class<T> clazz,
com.arangodb.velocypack.VPackJsonSerializer<T> serializer)
Register a custom
VPackJsonSerializer for a specific type to be used within the internal
serialization process. |
<T> ArangoDB.Builder |
ArangoDB.Builder.registerJsonSerializer(String attribute,
Class<T> clazz,
com.arangodb.velocypack.VPackJsonSerializer<T> serializer)
Register a custom
VPackJsonSerializer for a specific type and attribute name to be used within the
internal serialization process. |
ArangoDB.Builder |
ArangoDB.Builder.registerModule(com.arangodb.velocypack.VPackModule module)
Register a
VPackModule to be used within the internal serialization process. |
ArangoDB.Builder |
ArangoDB.Builder.registerModules(com.arangodb.velocypack.VPackModule... modules)
Register a list of
VPackModule to be used within the internal serialization process. |
<T> ArangoDB.Builder |
ArangoDB.Builder.registerSerializer(Class<T> clazz,
com.arangodb.velocypack.VPackSerializer<T> serializer)
Register a custom
VPackSerializer for a specific type to be used within the internal serialization
process. |
ArangoDB.Builder |
ArangoDB.Builder.serializer(ArangoSerialization serialization)
Replace the built-in serializer/deserializer with the given one.
|
ArangoDB.Builder |
ArangoDB.Builder.setDeserializer(ArangoDeserializer deserializer)
Deprecated.
use
serializer(ArangoSerialization) instead |
ArangoDB.Builder |
ArangoDB.Builder.setSerializer(ArangoSerializer serializer)
Deprecated.
use
serializer(ArangoSerialization) instead |
ArangoDB.Builder |
ArangoDB.Builder.sslContext(SSLContext sslContext)
Sets the SSL context to be used when
true is passed through useSsl(Boolean) . |
ArangoDB.Builder |
ArangoDB.Builder.timeout(Integer timeout)
Sets the connection and request timeout in milliseconds.
|
ArangoDB.Builder |
ArangoDB.Builder.useProtocol(Protocol protocol) |
ArangoDB.Builder |
ArangoDB.Builder.user(String user)
Sets the username to use for authentication.
|
ArangoDB.Builder |
ArangoDB.Builder.useSsl(Boolean useSsl)
If set to
true SSL will be used when connecting to an ArangoDB server. |
Copyright © 2016–2021 ArangoDB GmbH. All rights reserved.