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 Details

    • as400

      private final Connect<AS400,IOException> as400
      The field for the as400 record component.
    • journalInfo

      private final JournalInfo journalInfo
      The field for the journalInfo record component.
    • journalBufferSize

      private final int journalBufferSize
      The field for the journalBufferSize record component.
    • filtering

      private final boolean filtering
      The field for the filtering record component.
    • filterCodes

      private final RetrievalCriteria.JournalCode[] filterCodes
      The field for the filterCodes record component.
    • includeFiles

      private final List<FileFilter> includeFiles
      The field for the includeFiles record component.
    • maxServerSideEntries

      private final int maxServerSideEntries
      The field for the maxServerSideEntries record component.
    • dumpFolder

      private final File dumpFolder
      The field for the dumpFolder record 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 a RetrieveConfig record class.
      Parameters:
      as400 - the value for the as400 record component
      journalInfo - the value for the journalInfo record component
      journalBufferSize - the value for the journalBufferSize record component
      filtering - the value for the filtering record component
      filterCodes - the value for the filterCodes record component
      includeFiles - the value for the includeFiles record component
      maxServerSideEntries - the value for the maxServerSideEntries record component
      dumpFolder - the value for the dumpFolder record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • as400

      public Connect<AS400,IOException> as400()
      Returns the value of the as400 record component.
      Returns:
      the value of the as400 record component
    • journalInfo

      public JournalInfo journalInfo()
      Returns the value of the journalInfo record component.
      Returns:
      the value of the journalInfo record component
    • journalBufferSize

      public int journalBufferSize()
      Returns the value of the journalBufferSize record component.
      Returns:
      the value of the journalBufferSize record component
    • filtering

      public boolean filtering()
      Returns the value of the filtering record component.
      Returns:
      the value of the filtering record component
    • filterCodes

      public RetrievalCriteria.JournalCode[] filterCodes()
      Returns the value of the filterCodes record component.
      Returns:
      the value of the filterCodes record component
    • includeFiles

      public List<FileFilter> includeFiles()
      Returns the value of the includeFiles record component.
      Returns:
      the value of the includeFiles record component
    • maxServerSideEntries

      public int maxServerSideEntries()
      Returns the value of the maxServerSideEntries record component.
      Returns:
      the value of the maxServerSideEntries record component
    • dumpFolder

      public File dumpFolder()
      Returns the value of the dumpFolder record component.
      Returns:
      the value of the dumpFolder record component