Class GcTableSyncTableData
java.lang.Object
edu.internet2.middleware.grouperClient.jdbc.tableSync.GcTableSyncTableData
data from a table
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallDataInColumns
(List<GcTableSyncColumnMetadata> gcTableSyncColumnMetadatas) if just selecting groups, these are the groupingsfindRowFromPrimaryKey
(MultiKey primaryKey) column metadata (might be a subset of all columns)link back up to table beangetRows()
row datavoid
index the data by primary keyvoid
init
(GcTableSyncTableBean gcTableSyncTableBean1, List<GcTableSyncColumnMetadata> columnMetadata1, List<Object[]> data) constructvoid
init
(GcTableSyncTableBean gcTableSyncTableBean1, List<GcTableSyncColumnMetadata> columnMetadata1, Map<MultiKey, GcTableSyncRowData> data) constructmaxProgressValue
(GcTableSyncColumnMetadata progressColumnMetadata) take the data and find the max incremental progress valuevoid
setColumnMetadata
(List<GcTableSyncColumnMetadata> columnMetadata1) column metadata (might be a subset of all columns)void
setGcTableSyncTableBean
(GcTableSyncTableBean gcTableSyncTableBean1) link back up to table beanvoid
setRows
(List<GcTableSyncRowData> rows1) row data
-
Constructor Details
-
GcTableSyncTableData
public GcTableSyncTableData()
-
-
Method Details
-
maxProgressValue
take the data and find the max incremental progress value- Parameters:
progressColumn
-- Returns:
- the max value
-
getColumnMetadata
column metadata (might be a subset of all columns)- Returns:
- columns
-
setColumnMetadata
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
link back up to table bean- Returns:
- the gcTableSyncTableBean
-
setGcTableSyncTableBean
link back up to table bean- Parameters:
gcTableSyncTableBean1
- the gcTableSyncTableBean to set
-
allPrimaryKeys
- Returns:
- the multikeys
-
allDataInColumns
- Returns:
- the multikeys
-
allIndexByPrimaryKey
- Returns:
- the multikeys
-
indexData
public void indexData()index the data by primary key -
allGroupings
if just selecting groups, these are the groupings- Returns:
- the multikeys
-
findRowFromPrimaryKey
- Parameters:
primaryKey
-- Returns:
- the row
-
getRows
row data- Returns:
- the rows
-
setRows
row data- Parameters:
rows1
- the rows to set
-