Class SourceDefinition
java.lang.Object
org.gridgain.internal.cdc.api.source.SourceDefinition
The definition of a source.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forSourceDefinition.builderFrom(SourceDefinition ggSourceDefinition) Creates aSourceDefinitionfrom an existingSourceDefinition.booleaninthashCode()name()The name of the source.Source parameters.tables()The list of tables that should be replicated.toString()type()The type of the source.
-
Constructor Details
-
SourceDefinition
public SourceDefinition()Constructor needed for deserialization.
-
-
Method Details
-
builderFrom
public static SourceDefinition.SourceDefinitionBuilder builderFrom(SourceDefinition ggSourceDefinition) Creates aSourceDefinitionfrom an existingSourceDefinition. This is useful for creating a new source definition based on an existing one.- Parameters:
ggSourceDefinition- The existing source definition to copy from.- Returns:
- A new
SourceDefinitioninstance.
-
type
The type of the source. -
name
The name of the source. The name is unique. -
parameters
Source parameters. -
tables
The list of tables that should be replicated. -
equals
-
hashCode
public int hashCode() -
toString
-
builder
Creates a builder forSourceDefinition.- Returns:
- Builder for
SourceDefinition.
-