Class GcTableSyncTableData

java.lang.Object
edu.internet2.middleware.grouperClient.jdbc.tableSync.GcTableSyncTableData

public class GcTableSyncTableData extends Object
data from a table
  • Constructor Details

    • GcTableSyncTableData

      public GcTableSyncTableData()
  • Method Details

    • maxProgressValue

      public Object maxProgressValue(GcTableSyncColumnMetadata progressColumnMetadata)
      take the data and find the max incremental progress value
      Parameters:
      progressColumn -
      Returns:
      the max value
    • getColumnMetadata

      public List<GcTableSyncColumnMetadata> getColumnMetadata()
      column metadata (might be a subset of all columns)
      Returns:
      columns
    • setColumnMetadata

      public void setColumnMetadata(List<GcTableSyncColumnMetadata> columnMetadata1)
      column metadata (might be a subset of all columns)
      Parameters:
      columnMetadata1 -
    • init

      public void init(GcTableSyncTableBean gcTableSyncTableBean1, List<GcTableSyncColumnMetadata> columnMetadata1, List<Object[]> data)
      construct
      Parameters:
      gcTableSyncTableBean1 -
      data -
    • init

      public void init(GcTableSyncTableBean gcTableSyncTableBean1, List<GcTableSyncColumnMetadata> columnMetadata1, Map<MultiKey,GcTableSyncRowData> data)
      construct
      Parameters:
      gcTableSyncTableBean1 -
      data -
    • getGcTableSyncTableBean

      public GcTableSyncTableBean getGcTableSyncTableBean()
      link back up to table bean
      Returns:
      the gcTableSyncTableBean
    • setGcTableSyncTableBean

      public void setGcTableSyncTableBean(GcTableSyncTableBean gcTableSyncTableBean1)
      link back up to table bean
      Parameters:
      gcTableSyncTableBean1 - the gcTableSyncTableBean to set
    • allPrimaryKeys

      public Set<MultiKey> allPrimaryKeys()
      Returns:
      the multikeys
    • allDataInColumns

      public Set<MultiKey> allDataInColumns(List<GcTableSyncColumnMetadata> gcTableSyncColumnMetadatas)
      Returns:
      the multikeys
    • allIndexByPrimaryKey

      public Map<MultiKey,GcTableSyncRowData> allIndexByPrimaryKey()
      Returns:
      the multikeys
    • indexData

      public void indexData()
      index the data by primary key
    • allGroupings

      public Set<Object> allGroupings()
      if just selecting groups, these are the groupings
      Returns:
      the multikeys
    • findRowFromPrimaryKey

      public GcTableSyncRowData findRowFromPrimaryKey(MultiKey primaryKey)
      Parameters:
      primaryKey -
      Returns:
      the row
    • getRows

      public List<GcTableSyncRowData> getRows()
      row data
      Returns:
      the rows
    • setRows

      public void setRows(List<GcTableSyncRowData> rows1)
      row data
      Parameters:
      rows1 - the rows to set