Class AbstractIncrementalSnapshotContext.SnapshotDataCollection<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<DataCollection<T>>
io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotContext.SnapshotDataCollection<T>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<DataCollection<T>>,Collection<DataCollection<T>>,Deque<DataCollection<T>>,List<DataCollection<T>>,Queue<DataCollection<T>>
- Enclosing class:
- AbstractIncrementalSnapshotContext<T>
private static class AbstractIncrementalSnapshotContext.SnapshotDataCollection<T>
extends LinkedList<DataCollection<T>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringprivate final Queue<DataCollection<T>>private Stringprivate final com.fasterxml.jackson.databind.ObjectMapperprivate final com.fasterxml.jackson.core.type.TypeReference<List<LinkedHashMap<String,String>>> Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidadd(List<DataCollection<T>> dataCollectionIds) voidclear()private String(package private) DataCollection<T>getNext()booleanisEmpty()peek()booleanremove(List<DataCollection<T>> toRemove) intsize()private List<DataCollection<T>>stringToDataCollections(String dataCollectionsStr, boolean useCatalogBeforeSchema) Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, spliterator, toArray, toArrayMethods inherited from class java.util.AbstractSequentialList
iteratorMethods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
-
Field Details
-
DATA_COLLECTIONS_TO_SNAPSHOT_KEY
- See Also:
-
DATA_COLLECTIONS_TO_SNAPSHOT_KEY_ID
- See Also:
-
DATA_COLLECTIONS_TO_SNAPSHOT_KEY_ADDITIONAL_CONDITION
- See Also:
-
DATA_COLLECTIONS_TO_SNAPSHOT_KEY_SURROGATE_KEY
- See Also:
-
mapper
private final com.fasterxml.jackson.databind.ObjectMapper mapper -
mapperTypeRef
private final com.fasterxml.jackson.core.type.TypeReference<List<LinkedHashMap<String,String>>> mapperTypeRef -
dataCollectionsToSnapshot
-
dataCollectionsToSnapshotJson
-
-
Constructor Details
-
SnapshotDataCollection
SnapshotDataCollection()
-
-
Method Details
-
add
-
getNext
DataCollection<T> getNext() -
peek
- Specified by:
peekin interfaceDeque<T>- Specified by:
peekin interfaceQueue<T>- Overrides:
peekin classLinkedList<DataCollection<T>>
-
size
public int size()- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein interfaceDeque<T>- Specified by:
sizein interfaceList<T>- Overrides:
sizein classLinkedList<DataCollection<T>>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T>- Specified by:
clearin interfaceList<T>- Overrides:
clearin classLinkedList<DataCollection<T>>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T>- Specified by:
isEmptyin interfaceList<T>- Overrides:
isEmptyin classAbstractCollection<DataCollection<T>>
-
remove
-
dataCollectionsAsJsonString
-
getDataCollectionsToSnapshot
-
computeJsonString
-
stringToDataCollections
private List<DataCollection<T>> stringToDataCollections(String dataCollectionsStr, boolean useCatalogBeforeSchema)
-