public enum GcTableSyncSubtype extends Enum<GcTableSyncSubtype>
Enum Constant and Description |
---|
fullSyncChangeFlag
full sync get primary keys and a col that if not matching indicates an update
|
fullSyncFull
full sync all columns
|
fullSyncGroups
full sync but do groups on single col primary key or single group col (e.g.
|
fullSyncMetadata
full sync but do groups on single col primary key or single group col, and only do add or remove on groups
|
incrementalAllColumns
get all incremental rows and all columns in those rows (e.g.
|
incrementalPrimaryKey
get all incremental rows, which have the primary keys of rows that need updating
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isFullSync()
see if full sync
|
boolean |
isNeedsGroupColumn()
see if full sync
|
abstract void |
retrieveData(Map<String,Object> debugMap,
GcTableSync gcTableSync)
do the initial select query for the sync
|
abstract Integer |
syncData(Map<String,Object> debugMap,
GcTableSync gcTableSync)
do the initial compare step
|
static GcTableSyncSubtype |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GcTableSyncSubtype |
valueOfIgnoreCase(String string,
boolean exceptionOnNull)
do a case-insensitive matching
|
static GcTableSyncSubtype[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GcTableSyncSubtype fullSyncFull
public static final GcTableSyncSubtype fullSyncGroups
public static final GcTableSyncSubtype fullSyncChangeFlag
public static final GcTableSyncSubtype incrementalAllColumns
public static final GcTableSyncSubtype incrementalPrimaryKey
public static final GcTableSyncSubtype fullSyncMetadata
public static GcTableSyncSubtype[] values()
for (GcTableSyncSubtype c : GcTableSyncSubtype.values()) System.out.println(c);
public static GcTableSyncSubtype valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean isFullSync()
public boolean isNeedsGroupColumn()
public static GcTableSyncSubtype valueOfIgnoreCase(String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entriespublic abstract void retrieveData(Map<String,Object> debugMap, GcTableSync gcTableSync)
debugMap,
- gcTableSyncpublic abstract Integer syncData(Map<String,Object> debugMap, GcTableSync gcTableSync)
debugMap,
- gcTableSyncCopyright © 2020 Internet2. All rights reserved.