Class MariaDbGtidSet
java.lang.Object
io.debezium.connector.mysql.strategy.mariadb.MariaDbGtidSet
- All Implemented Interfaces:
GtidSet
- Author:
- Chris Cranford
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn whether the specified GTID is present in this set.booleanReturns a copy of this with all intervals set to the beginning.inthashCode()booleanisContainedWithin(GtidSet other) Determine whether the GTIDs represented by this object are contained completely within the supplied set.booleanisEmpty()Returns whether thisGtidSetis empty.booleanstatic MariaDbGtidSet.MariaDbGtidObtain a copy of thisGtidSetexcept with only the GTID ranges match the specified predicate.Subtracts the two GTID sets.toString()
-
Field Details
-
streamSets
-
-
Constructor Details
-
MariaDbGtidSet
-
MariaDbGtidSet
protected MariaDbGtidSet(Map<MariaDbGtidSet.MariaDbGtidStreamId, MariaDbGtidSet.MariaDbStreamSet> streamSets)
-
-
Method Details
-
isEmpty
public boolean isEmpty()Description copied from interface:GtidSetReturns whether thisGtidSetis empty. -
retainAll
Description copied from interface:GtidSetObtain a copy of thisGtidSetexcept with only the GTID ranges match the specified predicate. -
isContainedWithin
Description copied from interface:GtidSetDetermine whether the GTIDs represented by this object are contained completely within the supplied set.- Specified by:
isContainedWithinin interfaceGtidSet- Parameters:
other- the other set of GTIDs; may be null- Returns:
trueif all GTIDs are present in the provided set,falseotherwise
-
with
Description copied from interface:GtidSet -
getGtidSetBeginning
Description copied from interface:GtidSetReturns a copy of this with all intervals set to the beginning.- Specified by:
getGtidSetBeginningin interfaceGtidSet
-
contains
Description copied from interface:GtidSetReturn whether the specified GTID is present in this set. -
subtract
Description copied from interface:GtidSetSubtracts the two GTID sets. -
isKnown
-
forGtidStream
-
forStreamId
-
parse
-
equals
-
hashCode
public int hashCode() -
toString
-