Class ResultSetSourceInfo

  • All Implemented Interfaces:
    SourceInfo

    public class ResultSetSourceInfo
    extends Object
    Represents the ResultSet source information used for ingestion.
    • Constructor Detail

      • ResultSetSourceInfo

        public ResultSetSourceInfo​(ResultSet resultSet)
        Creates a ResultSetSourceInfo.
        Parameters:
        resultSet - The ResultSet with the data to be ingested.
      • ResultSetSourceInfo

        public ResultSetSourceInfo​(ResultSet resultSet,
                                   UUID sourceId)
        Creates a ResultSetSourceInfo
        Parameters:
        resultSet - The ResultSet with the data to be ingested.
        sourceId - An identifier that could later be used to trace this specific source data.
    • Method Detail

      • getResultSet

        public ResultSet getResultSet()
        Gets the ResultSet.
        Returns:
        The ResultSet in the SourceInfo
      • setResultSet

        public void setResultSet​(ResultSet resultSet)
        Sets the ResultSet.
        Parameters:
        resultSet - The ResultSet with the data to be ingested.
      • validate

        public void validate()
        Description copied from interface: SourceInfo
        Checks that this SourceInfo is defined appropriately.