Replace Compare Pair
put
http://{host}:{port}/veridata/v1/services/configuration/cps/{Id}
Required Role: Administrator, SuperUser, CommandLineOperator
Replace Compare Pair.
Request
Path Parameters
-
Id(required): integer(int64)
Compare Pair ID.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
columnMappings(required): array
columnMappings
-
columnsSystemMapped: boolean
All the hash columns to be mapped by the veridata system or not. When set to false, it will be user-defined.
-
delta: object
DeltaProcessing
Defines Delta Setting. For NSK this will be an empty object.
-
deltaProcessingEnabled: boolean
Parameter to define if delta processing should be enabled for this Compare Pair or not.
-
description: string
-
enabled: boolean
Compare pair is enabled in the group to run.
-
keyColumnsSystemMapped: boolean
All the key columns to be mapped by the veridata system or not. When set to false, it will be user-defined.
-
profileId: integer
(int64)
Default Value:
1
Profile ID. -
srcEnscribeInfo: array
srcEnscribeInfo
-
srcRowPartitions: array
srcRowPartitions
-
tgtEnscribeInfo: array
tgtEnscribeInfo
-
tgtRowPartitions: array
tgtRowPartitions
Nested Schema : DeltaProcessing
Type:
object
Defines Delta Setting. For NSK this will be an empty object.
Show Source
-
srcColumn: string
Delta Source column.
-
srcDeltaCols: array
srcDeltaCols
List of Source Delta columns.
-
srcDeltaQuery: string
Source Delta query.
-
tgtColumn: string
Delta Target column.
-
tgtDeltaCols: array
tgtDeltaCols
List of Target Delta columns.
-
tgtDeltaQuery: string
Target Delta query.
Nested Schema : ColumnMapping
Type:
Show Source
object
-
compareFormat: string
Allowed Values:
[ "string", "string_en", "binary", "timestamp", "timestamp_tz", "date", "time", "datetime", "smalldatetime", "clob", "blob", "Float", "dec_float", "interval", "number", "binary_timestamp", "string_nfc", "clob_nfc", "sybtime", "bit", "Double" ]
Compare Format. -
dataType: string
-
mappingType: string
Allowed Values:
[ "Key", "Hash", "Literal" ]
Compare Mapping Type. -
precision: integer
(int32)
Default Value:
0
-
scale: integer
(int32)
Default Value:
0
-
srcColumn: object
Column
Defines a column.
-
supportedCompareFormats: array
supportedCompareFormats
-
tgtColumn: object
Column
Defines a column.
-
timezone: string
Nested Schema : Column
Type:
object
Defines a column.
Show Source
-
columnName: string
Column Name.
-
dataType: string
Data type of the column.
-
jdbcType: integer
(int32)
java.sql.Types type number.
-
lob: boolean
-
precision: integer
(int32)
Default Value:
0
-
scale: integer
(int32)
Default Value:
0
-
timezone: string
-
typeNum: integer
(int32)
internal column type number.
Nested Schema : supportedCompareFormats
Type:
Show Source
array
-
Array of:
string
Allowed Values:
[ "string", "string_en", "binary", "timestamp", "timestamp_tz", "date", "time", "datetime", "smalldatetime", "clob", "blob", "Float", "dec_float", "interval", "number", "binary_timestamp", "string_nfc", "clob_nfc", "sybtime", "bit", "Double" ]
Compare Format.
Nested Schema : EnscribeAttributeRequest
Type:
Show Source
object
-
default: boolean
-
name: string
Allowed Values:
[ "AltKey", "Dictionary", "Record", "ExpandDDLRedefs", "ExpandDDLResolveDupAppend", "ExpandDDLResolveDupPrepend", "ExpandDDLExpandGroupArrays", "ExpandDDLFixLongNames", "ExpandDDLMaxColNameLen", "ExpandDDLSeparator", "ExpandDDLZeroFill" ]
-
value: string
Nested Schema : RowPartitionParams
Type:
Show Source
object
-
endingKey: string
Enscribe ending key.
-
isAscii: boolean
Enscribe is ASCII.
-
name(required): string
-
runtime: boolean
Use at runtime.
-
startingKey: string
Enscribe starting key.
-
type(required): string
Allowed Values:
[ "S", "E", "A" ]
Type of Row Partition (SQL{S} , Enscribe{E} , Auto{A}) -
whereClause: string
SQL Predicate Statement.
Response
Supported Media Types
- application/json
200 Response
Ok.
Nested Schema : ComparePairInDetailsView
Type:
Show Source
object
-
columnMappings: array
columnMappings
-
columnsSystemMapped: boolean
Default Value:
true
Is the key columns system mapped. -
delta:
delta
-
deltaProcessingEnabled: boolean
Default Value:
false
Delta processing is enabled for this compare pair. -
enabled: boolean
Default Value:
true
Compare Pair is enabled in the group to run. -
keyColumnsSystemMapped: boolean
Default Value:
true
Is the key columns system mapped. -
profile:
profile
Profile Object.
-
setting: object
ComparePairSetting
Mapping of a column in a table.
-
srcIndexName: string
-
srcRowPartitions: array
srcRowPartitions
-
srcTable:
srcTable
Represents a table in compare pair with table and row partitions info, if any.
-
tgtIndexName: string
-
tgtRowPartitions: array
tgtRowPartitions
-
tgtTable:
tgtTable
Represents a table in compare pair with table and row partitions info, if any.
-
validationStatus: string
Allowed Values:
[ "NeverValidated", "Validated" ]
enum for compare pair validation status. -
validationTime: string
(date-time)
Match All
Show Source
Nested Schema : BaseObject_2
Type:
Show Source
object
-
createdOn: string
(date-time)
Pattern:
YYYY-MM-DDTHH:mm:ss.sssZ
Example:2024-02-03T10:15:30Z
-
id: integer
(int64)
Object Id.
-
name: string
Object Name.
-
updatedOn: string
(date-time)
Pattern:
YYYY-MM-DDTHH:mm:ss.sssZ
Example:2024-02-03T10:15:30Z
Nested Schema : ComparePairInDetailsView-allOf[1]
Type:
object
Nested Schema : ComparePairInDetails-allOf[2]
Type:
object
Nested Schema : EnscribeAttribute
Type:
Show Source
object
-
default: boolean
-
defaultValue: string
-
enscribeName: string
Allowed Values:
[ "AltKey", "Dictionary", "Record", "ExpandDDLRedefs", "ExpandDDLResolveDupAppend", "ExpandDDLResolveDupPrepend", "ExpandDDLExpandGroupArrays", "ExpandDDLFixLongNames", "ExpandDDLMaxColNameLen", "ExpandDDLSeparator", "ExpandDDLZeroFill" ]
-
max: integer
It is displayed when type is INTEGER.
-
min: integer
It is displayed when type is INTEGER.
-
options: string
It is displayed when type is ENUM.
-
type: string
Allowed Values:
[ "BOOLEAN", "ENUM", "INTEGER", "STRING" ]
-
value: string
Nested Schema : BaseObject_3
Type:
Show Source
object
-
id: integer
(int64)
Object Id.
-
name: string
Object Name.
Nested Schema : group-allOf[1]
Type:
object
400 Response
Bad Request.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
401 Response
Unauthorized.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
404 Response
Not Found.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
500 Response
Server Error.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.