Record Class RetrieveConfig
java.lang.Object
java.lang.Record
io.debezium.ibmi.db2.journal.retrieve.RetrieveConfig
public record RetrieveConfig(Connect<AS400,IOException> as400, JournalInfo journalInfo, int journalBufferSize, boolean filtering, RetrievalCriteria.JournalCode[] filterCodes, List<FileFilter> includeFiles, int maxServerSideEntries, File dumpFolder)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Connect<AS400,IOException> The field for theas400record component.static final intprivate final FileThe field for thedumpFolderrecord component.private final RetrievalCriteria.JournalCode[]The field for thefilterCodesrecord component.private final booleanThe field for thefilteringrecord component.private final List<FileFilter>The field for theincludeFilesrecord component.private final intThe field for thejournalBufferSizerecord component.private final JournalInfoThe field for thejournalInforecord component.private final intThe field for themaxServerSideEntriesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionRetrieveConfig(Connect<AS400, IOException> as400, JournalInfo journalInfo, int journalBufferSize, boolean filtering, RetrievalCriteria.JournalCode[] filterCodes, List<FileFilter> includeFiles, int maxServerSideEntries, File dumpFolder) Creates an instance of aRetrieveConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionas400()Returns the value of theas400record component.Returns the value of thedumpFolderrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefilterCodesrecord component.booleanReturns the value of thefilteringrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theincludeFilesrecord component.intReturns the value of thejournalBufferSizerecord component.Returns the value of thejournalInforecord component.intReturns the value of themaxServerSideEntriesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
as400
The field for theas400record component. -
journalInfo
The field for thejournalInforecord component. -
journalBufferSize
private final int journalBufferSizeThe field for thejournalBufferSizerecord component. -
filtering
private final boolean filteringThe field for thefilteringrecord component. -
filterCodes
The field for thefilterCodesrecord component. -
includeFiles
The field for theincludeFilesrecord component. -
maxServerSideEntries
private final int maxServerSideEntriesThe field for themaxServerSideEntriesrecord component. -
dumpFolder
The field for thedumpFolderrecord component. -
DEFAULT_MAX_SERVER_SIDE_ENTRIES
public static final int DEFAULT_MAX_SERVER_SIDE_ENTRIES- See Also:
-
-
Constructor Details
-
RetrieveConfig
public RetrieveConfig(Connect<AS400, IOException> as400, JournalInfo journalInfo, int journalBufferSize, boolean filtering, RetrievalCriteria.JournalCode[] filterCodes, List<FileFilter> includeFiles, int maxServerSideEntries, File dumpFolder) Creates an instance of aRetrieveConfigrecord class.- Parameters:
as400- the value for theas400record componentjournalInfo- the value for thejournalInforecord componentjournalBufferSize- the value for thejournalBufferSizerecord componentfiltering- the value for thefilteringrecord componentfilterCodes- the value for thefilterCodesrecord componentincludeFiles- the value for theincludeFilesrecord componentmaxServerSideEntries- the value for themaxServerSideEntriesrecord componentdumpFolder- the value for thedumpFolderrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
as400
Returns the value of theas400record component.- Returns:
- the value of the
as400record component
-
journalInfo
Returns the value of thejournalInforecord component.- Returns:
- the value of the
journalInforecord component
-
journalBufferSize
public int journalBufferSize()Returns the value of thejournalBufferSizerecord component.- Returns:
- the value of the
journalBufferSizerecord component
-
filtering
public boolean filtering()Returns the value of thefilteringrecord component.- Returns:
- the value of the
filteringrecord component
-
filterCodes
Returns the value of thefilterCodesrecord component.- Returns:
- the value of the
filterCodesrecord component
-
includeFiles
Returns the value of theincludeFilesrecord component.- Returns:
- the value of the
includeFilesrecord component
-
maxServerSideEntries
public int maxServerSideEntries()Returns the value of themaxServerSideEntriesrecord component.- Returns:
- the value of the
maxServerSideEntriesrecord component
-
dumpFolder
Returns the value of thedumpFolderrecord component.- Returns:
- the value of the
dumpFolderrecord component
-