Class TableInformation

java.lang.Object
generalDatabase.external.TableInformation

public class TableInformation extends Object
  • Field Details Link icon

    • SOURCE_EMPTY Link icon

      public static final int SOURCE_EMPTY
      Source table is empty, so nothing to do.
      See Also:
    • DEST_EMPTY Link icon

      public static final int DEST_EMPTY
      copy to a table which is either empty or doesn't exist
      See Also:
    • COPY_ADDDATAOVERLAP Link icon

      public static final int COPY_ADDDATAOVERLAP
      add data to an existing table that appears to have some data
      See Also:
    • COPY_NO_SRC_ID Link icon

      public static final int COPY_NO_SRC_ID
      source table has no Id or UTC column, so probably not PAM data.
      See Also:
    • TABLES_MATCH Link icon

      public static final int TABLES_MATCH
      Tables seem to have the same data - same n records, same id's etc.
      See Also:
    • COPY_CONFUSED Link icon

      public static final int COPY_CONFUSED
      can't work out what's going on
      See Also:
  • Constructor Details Link icon

  • Method Details Link icon

    • getCurrentAction Link icon

      public String getCurrentAction()
      Returns:
      the currentAction
    • setCurrentAction Link icon

      public void setCurrentAction(String currentAction)
      Parameters:
      currentAction - the currentAction to set
    • getSourceRecords Link icon

      public Integer getSourceRecords()
      Returns:
      the sourceRecords
    • setSourceRecords Link icon

      public void setSourceRecords(Integer sourceRecords)
      Parameters:
      sourceRecords - the sourceRecords to set
    • getDestRecords Link icon

      public Integer getDestRecords()
      Returns:
      the destRecords
    • setDestRecords Link icon

      public void setDestRecords(Integer destRecords)
      Parameters:
      destRecords - the destRecords to set
    • getDestTableOk Link icon

      public Boolean getDestTableOk()
    • setDestTableOk Link icon

      public void setDestTableOk(Boolean destTableOk)
    • getDestTableExists Link icon

      public boolean getDestTableExists()
    • setDestTableExists Link icon

      public void setDestTableExists(Boolean destTableExists)
    • getSourceTableDef Link icon

      public CopyTableDefinition getSourceTableDef()
      Returns:
      the tableDef
    • getTableIndex Link icon

      public int getTableIndex()
      Returns:
      the tableIndex
    • getWarningLevel Link icon

      public int getWarningLevel()
    • getWarnings Link icon

      public String getWarnings()
    • getDestTableDef Link icon

      public DestinationTableDefinition getDestTableDef()
      Returns:
      the destTableDef
    • setDestTableDef Link icon

      public void setDestTableDef(DestinationTableDefinition destTableDef)
      Parameters:
      destTableDef - the destTableDef to set
    • getTableName Link icon

      public String getTableName()
      Returns:
      The table name
    • getCopyChoice Link icon

      public ImportOption getCopyChoice()
      Returns:
      the copyChoice
    • setCopyChoice Link icon

      public void setCopyChoice(ImportOption copyChoice)
      Parameters:
      copyChoice - the copyChoice to set
    • getCopyStatus Link icon

      public CopyStatus getCopyStatus()
      Returns:
      the copyStatus
    • setCopyStatus Link icon

      public void setCopyStatus(CopyStatus copyStatus)
      Parameters:
      copyStatus - the copyStatus to set
    • setRowsCopied Link icon

      public void setRowsCopied(int nRowsCopied)
      Parameters:
      nRowsCopied - the number of rows copied.
    • getRowsCopied Link icon

      public int getRowsCopied()
      Returns:
      the rowsCopied
    • setCopyRate Link icon

      public void setCopyRate(double rate)
      Set the copy rate (copies per second)
      Parameters:
      rate -
    • getCopyRate Link icon

      public double getCopyRate()
      Returns:
      get the copy rate (copies per second)
    • setCopyScenario Link icon

      public void setCopyScenario(int copyScenario)
      Possible copy scenarios (add to, etc)
      Parameters:
      copyScenario -
    • getCopyScenario Link icon

      public int getCopyScenario()
      Possible copy scenarios (add to, etc)
      Returns:
      the copyScenario
    • setNewRecords Link icon

      public void setNewRecords(Integer newRecords)
      Set number of new records - that's records in the source data with a later date than is in the existing dest database.
      Parameters:
      newRecords -
    • getNewRecords Link icon

      public int getNewRecords()
      Get number of new records - that's records in the source data with a later date than is in the existing dest database.
      Returns:
      the newRecords