C8DB.Builder |
C8DB.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.
|
C8DB.Builder |
C8DB.Builder.acquireHostListInterval(Integer acquireHostListInterval) |
Setting the Interval for acquireHostList
|
<A extends Annotation> C8DB.Builder |
C8DB.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> C8DB.Builder |
C8DB.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.
|
C8DB.Builder |
C8DB.Builder.chunksize(Integer chunksize) |
|
C8DB.Builder |
C8DB.Builder.connectionTtl(Long connectionTtl) |
Set the maximum time to life of a connection.
|
C8DB.Builder |
C8DB.Builder.email(String email) |
|
C8DB.Builder |
C8DB.Builder.host(String host,
int port) |
Adds a host to connect to.
|
C8DB.Builder |
C8DB.Builder.loadBalancingStrategy(LoadBalancingStrategy loadBalancingStrategy) |
Sets the load balancing strategy to be used in an ArangoDB cluster setup.
|
C8DB.Builder |
C8DB.Builder.loadProperties(InputStream in) |
|
C8DB.Builder |
C8DB.Builder.maxConnections(Integer maxConnections) |
Sets the maximum number of connections the built in connection pool will open
per host.
|
C8DB.Builder |
C8DB.Builder.password(String password) |
Sets the password for the user for authentication.
|
<T> C8DB.Builder |
C8DB.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> C8DB.Builder |
C8DB.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> C8DB.Builder |
C8DB.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.
|
C8DB.Builder |
C8DB.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.
|
C8DB.Builder |
C8DB.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.
|
C8DB.Builder |
C8DB.Builder.registerJsonModule(com.arangodb.velocypack.VPackParserModule module) |
Register a VPackParserModule to be used within the internal
serialization process.
|
C8DB.Builder |
C8DB.Builder.registerJsonModules(com.arangodb.velocypack.VPackParserModule... modules) |
Register a list of VPackParserModule to be used within the internal
serialization process.
|
<T> C8DB.Builder |
C8DB.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> C8DB.Builder |
C8DB.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.
|
C8DB.Builder |
C8DB.Builder.registerModule(com.arangodb.velocypack.VPackModule module) |
Register a VPackModule to be used within the internal serialization
process.
|
C8DB.Builder |
C8DB.Builder.registerModules(com.arangodb.velocypack.VPackModule... modules) |
Register a list of VPackModule to be used within the internal
serialization process.
|
<T> C8DB.Builder |
C8DB.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.
|
C8DB.Builder |
C8DB.Builder.serializer(C8Serialization serialization) |
Replace the built-in serializer/deserializer with the given one.
|
C8DB.Builder |
C8DB.Builder.setDeserializer(C8Deserializer deserializer) |
Deprecated.
|
C8DB.Builder |
C8DB.Builder.setSerializer(C8Serializer serializer) |
Deprecated.
|
C8DB.Builder |
C8DB.Builder.sslContext(SSLContext sslContext) |
Sets the SSL context to be used when true is passed through
useSsl(Boolean).
|
C8DB.Builder |
C8DB.Builder.timeout(Integer timeout) |
Sets the connection and request timeout in milliseconds.
|
C8DB.Builder |
C8DB.Builder.useProtocol(Protocol protocol) |
|
C8DB.Builder |
C8DB.Builder.user(String user) |
Sets the username to use for authentication.
|
C8DB.Builder |
C8DB.Builder.useSsl(Boolean useSsl) |
If set to true SSL will be used when connecting to an ArangoDB
server.
|