public static class Synchronizer.Builder<T extends Synchronizer>
extends java.lang.Object
Synchronizer objects.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
T |
build()
Builds a new
Synchronizer object. |
Synchronizer.Builder<T> |
setConnection(java.sql.Connection connection)
Sets the database connection to use for synchronization.
|
Synchronizer.Builder<T> |
setGraph(PgxGraph graph)
Sets the target graph to synchronize.
|
Synchronizer.Builder<T> |
setType(java.lang.Class<T> type)
Sets the type of synchronizer to build
|
public T build() throws java.sql.SQLException
Synchronizer object.Synchronizer object.java.sql.SQLExceptionpublic Synchronizer.Builder<T> setConnection(java.sql.Connection connection)
connection - public Synchronizer.Builder<T> setGraph(PgxGraph graph)
graph - the target graphpublic Synchronizer.Builder<T> setType(java.lang.Class<T> type)
type - the synchronizer type.Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.