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.
|
incrementalFromIdentifiedPrimaryKeys
get all incremental rows, which have the primary keys of rows that need updating
|
incrementalPrimaryKey
get all incremental rows, which have the primary keys of rows that need updating
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isFullMetadataSync()
see if full metadata sync
|
abstract boolean |
isFullSync()
see if full sync
|
abstract boolean |
isIncrementalSync()
see if incremental sync
|
boolean |
isNeedsGroupColumn()
see if full sync
|
abstract void |
retrieveData(Map<String,Object> debugMap,
GcTableSync gcTableSync)
do the initial select query for the sync
|
static void |
runEmbeddedFullSync(Map<String,Object> debugMap,
GcGrouperSyncJob gcGrouperSyncJob,
GcGrouperSyncLog gcGrouperSyncLog,
GcTableSyncSubtype switchFromIncrementalToFullSubtype) |
abstract Integer |
syncData(Map<String,Object> debugMap,
GcTableSync gcTableSync)
do the initial compare step
|
static int |
syncGroupings(Map<String,Object> debugMap,
GcTableSync gcTableSync,
Collection<Object> groupings)
sync groupings in full
|
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 final GcTableSyncSubtype incrementalFromIdentifiedPrimaryKeys
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 static int syncGroupings(Map<String,Object> debugMap, GcTableSync gcTableSync, Collection<Object> groupings)
debugMap
- gcTableSync
- groupings
- public static void runEmbeddedFullSync(Map<String,Object> debugMap, GcGrouperSyncJob gcGrouperSyncJob, GcGrouperSyncLog gcGrouperSyncLog, GcTableSyncSubtype switchFromIncrementalToFullSubtype)
public abstract boolean isFullSync()
public abstract boolean isFullMetadataSync()
public abstract boolean isIncrementalSync()
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 © 2016 Internet2. All rights reserved.