Class MariaDbGtidSet
java.lang.Object
io.debezium.connector.mysql.strategy.mariadb.MariaDbGtidSet
- All Implemented Interfaces:
GtidSet
- Author:
- Chris Cranford
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return whether the specified GTID is present in this set.boolean
Returns a copy of this with all intervals set to the beginning.int
hashCode()
boolean
isContainedWithin
(GtidSet other) Determine whether the GTIDs represented by this object are contained completely within the supplied set.boolean
isEmpty()
Returns whether thisGtidSet
is empty.boolean
static MariaDbGtidSet.MariaDbGtid
Obtain a copy of thisGtidSet
except 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:GtidSet
Returns whether thisGtidSet
is empty. -
retainAll
Description copied from interface:GtidSet
Obtain a copy of thisGtidSet
except with only the GTID ranges match the specified predicate. -
isContainedWithin
Description copied from interface:GtidSet
Determine whether the GTIDs represented by this object are contained completely within the supplied set.- Specified by:
isContainedWithin
in interfaceGtidSet
- Parameters:
other
- the other set of GTIDs; may be null- Returns:
true
if all GTIDs are present in the provided set,false
otherwise
-
with
Description copied from interface:GtidSet
-
getGtidSetBeginning
Description copied from interface:GtidSet
Returns a copy of this with all intervals set to the beginning.- Specified by:
getGtidSetBeginning
in interfaceGtidSet
-
contains
Description copied from interface:GtidSet
Return whether the specified GTID is present in this set. -
subtract
Description copied from interface:GtidSet
Subtracts the two GTID sets. -
isKnown
-
forGtidStream
-
forStreamId
-
parse
-
equals
-
hashCode
public int hashCode() -
toString
-