public class LineageUtil
extends BaseUtil
Constructor and Description |
---|
LineageUtil(java.lang.String token) |
LineageUtil(java.lang.String tokenType,
java.lang.String token) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,java.util.List<SMColumn>> |
getColumnDetails(APIConstants.EndPointType endPointType,
java.util.ArrayList<java.lang.Integer> mappingSequenceIds)
Returns the Map
|
java.util.List<SMColumn> |
getColumnDetails(APIConstants.EndPointType endPointType,
int mappingSequenceId)
Returns the List
|
java.lang.String |
getColumnDetailsAs(java.lang.String endPointType,
int mappingSequenceId,
java.lang.String outputFormat)
Returns the List
|
java.lang.String |
getColumnDetailsAs(java.lang.String endPointType,
java.lang.String mappingSequenceIds,
java.lang.String outputFormat)
Returns the List
|
Lineage |
getColumnLineage(APIConstants.LineageType lineageType,
java.lang.String systemName,
java.lang.String environmentName,
java.lang.String tableName,
java.lang.String columnName,
java.lang.String projectIds)
Returns the Lineage object for the specified system, environment, table
and column name.
|
java.lang.String |
getColumnLineageAs(java.lang.String lineageType,
java.lang.String systemName,
java.lang.String environmentName,
java.lang.String tableName,
java.lang.String columnName,
java.lang.String projectIds,
java.lang.String outputFormat)
Returns the Lineage Object String in the form of JSON for the specified
system, environment, table and column name.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.List<SMColumn>>>> |
getColumns(APIConstants.EndPointType endPointType,
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>>> systemEnvironmentTableMap,
java.util.EnumSet<APIConstants.PropertiesType> propertiesTypes,
java.lang.String projectIds)
Returns the Map
|
java.util.List<SMColumn> |
getColumns(APIConstants.EndPointType endPointType,
java.lang.String systemName,
java.lang.String environmentName,
java.lang.String tableName,
java.util.EnumSet<APIConstants.PropertiesType> propertiesTypes,
java.lang.String projectIds)
Returns the List
|
java.lang.String |
getColumnsAs(java.lang.String endPointType,
java.lang.String systemEnvironmentTableJsonArray,
java.lang.String propertiesTypes,
java.lang.String projectIds,
java.lang.String outputFormat)
Returns the List
|
java.lang.String |
getColumnsAs(java.lang.String endPointType,
java.lang.String systemName,
java.lang.String environmentName,
java.lang.String tableName,
java.lang.String propertiesTypes,
java.lang.String projectIds,
java.lang.String outputFormat)
Returns the List
|
Lineage |
getEnvironmentLineage(APIConstants.LineageType lineageType,
java.lang.String systemName,
java.lang.String environmentName,
java.lang.String projectIds)
Returns the Lineage object for the specified system and environment name.
|
java.lang.String |
getEnvironmentLineageAs(java.lang.String lineageType,
java.lang.String systemName,
java.lang.String environmentName,
java.lang.String projectIds,
java.lang.String outputFormat)
Returns the Lineage Object String in the form of JSON for the specified
system and environment name.
|
java.util.Map<java.lang.String,java.util.List<SMEnvironment>> |
getEnvironments(APIConstants.EndPointType endPointType,
java.util.ArrayList<java.lang.String> systemNames,
java.lang.String projectIds)
Returns the Map
|
java.util.List<SMEnvironment> |
getEnvironments(APIConstants.EndPointType endPointType,
java.lang.String systemName,
java.lang.String projectIds)
Returns the List
|
java.lang.String |
getEnvironmentsAs(java.lang.String endPointType,
java.lang.String systemName,
java.lang.String projectIds,
java.lang.String outputFormat)
Returns the List
|
java.lang.String |
getEnvironmentsBySystemsAs(java.lang.String endPointType,
java.lang.String systemNames,
java.lang.String projectIds,
java.lang.String outputFormat)
Returns the List
|
Lineage |
getSystemLineage(APIConstants.LineageType lineageType,
java.lang.String systemName,
java.lang.String projectIds)
Returns the Lineage object for the specified system name.
|
java.lang.String |
getSystemLineageAs(java.lang.String lineageType,
java.lang.String systemName,
java.lang.String projectIds,
java.lang.String outputFormat)
Returns the Lineage Object String in the form of JSON for the specified
system name.
|
Lineage |
getTableLineage(APIConstants.LineageType lineageType,
java.lang.String systemName,
java.lang.String environmentName,
java.lang.String tableName,
java.lang.String projectIds)
Returns the Lineage object for the specified system, environment and
table name.
|
java.lang.String |
getTableLineageAs(java.lang.String lineageType,
java.lang.String systemName,
java.lang.String environmentName,
java.lang.String tableName,
java.lang.String projectIds,
java.lang.String outputFormat)
Returns the Lineage object String in the form of JSON for the specified
system, environment and table name.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.List<SMTable>>> |
getTables(APIConstants.EndPointType endPointType,
java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> systemEnvironmentMap,
java.lang.String projectIds)
Returns the Map
|
java.util.List<SMTable> |
getTables(APIConstants.EndPointType endPointType,
java.lang.String systemName,
java.lang.String environmentName,
java.lang.String projectIds)
Returns the List
|
java.lang.String |
getTablesAs(java.lang.String endPointType,
java.lang.String systemEnvironmentJsonArray,
java.lang.String projectIds,
java.lang.String outputFormat)
Returns the List
|
java.lang.String |
getTablesAs(java.lang.String endPointType,
java.lang.String systemName,
java.lang.String environmentName,
java.lang.String projectIds,
java.lang.String outputFormat)
Returns the List
|
void |
resetLineageData() |
void |
syncLineageData() |
public LineageUtil(java.lang.String token)
public LineageUtil(java.lang.String tokenType, java.lang.String token)
public Lineage getSystemLineage(APIConstants.LineageType lineageType, java.lang.String systemName, java.lang.String projectIds) throws java.lang.Exception
APIConstants.LineageType.FORWARD
,
APIConstants.LineageType.REVERSE
,
APIConstants.LineageType.DUAL
. And the
projectIds value should be like "1,2,3.." to get the lineage on specific
projects and "null" to get the lineage on all projects.lineageType
- LineageType - valid types FORWARD, REVERSE, DUAL.systemName
- StringprojectIds
- String - value should be like "1,2,3..."java.lang.Exception
public Lineage getEnvironmentLineage(APIConstants.LineageType lineageType, java.lang.String systemName, java.lang.String environmentName, java.lang.String projectIds) throws java.lang.Exception
APIConstants.LineageType.FORWARD
,
APIConstants.LineageType.REVERSE
,
APIConstants.LineageType.DUAL
. And the
projectIds value should be like "1,2,3.." to get the lineage on specific
projects and "null" to get the lineage on all projects.lineageType
- LineageType - valid types FORWARD, REVERSE, DUAL.systemName
- StringenvironmentName
- StringprojectIds
- String - value should be like "1,2,3..."java.lang.Exception
public Lineage getTableLineage(APIConstants.LineageType lineageType, java.lang.String systemName, java.lang.String environmentName, java.lang.String tableName, java.lang.String projectIds) throws java.lang.Exception
APIConstants.LineageType.FORWARD
,
APIConstants.LineageType.REVERSE
,
APIConstants.LineageType.DUAL
. And the
projectIds value should be like "1,2,3.." to get the lineage on specific
projects and "null" to get the lineage on all projects.lineageType
- LineageType - valid types FORWARD, REVERSE, DUAL.systemName
- StringenvironmentName
- StringtableName
- StringprojectIds
- Stringjava.lang.Exception
public Lineage getColumnLineage(APIConstants.LineageType lineageType, java.lang.String systemName, java.lang.String environmentName, java.lang.String tableName, java.lang.String columnName, java.lang.String projectIds) throws java.lang.Exception
APIConstants.LineageType.FORWARD
,
APIConstants.LineageType.REVERSE
,
APIConstants.LineageType.DUAL
. And the
projectIds value should be like "1,2,3.." to get the lineage on specific
projects and "null" to get the lineage on all projects.lineageType
- LineageType - valid types FORWARD, REVERSE, DUAL.systemName
- StringenvironmentName
- StringtableName
- StringcolumnName
- StringprojectIds
- Stringjava.lang.Exception
public java.util.List<SMColumn> getColumnDetails(APIConstants.EndPointType endPointType, int mappingSequenceId) throws java.lang.Exception
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned column object will have
the source information like source system name, source environment name
etc.. If we specify endPointType as TARGET then the returned column
object will have the target information like target system name, target
environment name etc.. If we specify endPointType as BOTH then the
returned column object will have both the source and target information
like source system name, source environment name, target system name,
target environment name etc..endPointType
- EndPointType - valid types SOURCE, TARGET, BOTH.mappingSequenceId
- intjava.lang.Exception
public java.util.Map<java.lang.Integer,java.util.List<SMColumn>> getColumnDetails(APIConstants.EndPointType endPointType, java.util.ArrayList<java.lang.Integer> mappingSequenceIds) throws java.lang.Exception
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned column object will have
the source information like source system name, source environment name
etc.. If we specify endPointType as TARGET then the returned column
object will have the target information like target system name, target
environment name etc.. If we specify endPointType as BOTH then the
returned column object will have both the source and target information
like source system name, source environment name, target system name,
target environment name etc..endPointType
- EndPointType - valid types SOURCE, TARGET, BOTH.mappingSequenceIds
- Listjava.lang.Exception
public java.util.List<SMEnvironment> getEnvironments(APIConstants.EndPointType endPointType, java.lang.String systemName, java.lang.String projectIds) throws java.lang.Exception
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned environment object will
have the source information like source system name, source environment
name etc.. If we specify endPointType as TARGET then the returned
environment object will have the target information like target system
name, target environment name etc.. If we specify endPointType as BOTH
then the returned environment object will have both the source and target
information like source system name, source environment name, target
system name, target environment name etc.. And the projectIds value
should be like "1,2,3.." to get the list of environments of specific
projects and "null" to get the list of environments of all projects.endPointType
- EndPointType - valid types SOURCE, TARGET, BOTH.systemName
- StringprojectIds
- Stringjava.lang.Exception
public java.util.Map<java.lang.String,java.util.List<SMEnvironment>> getEnvironments(APIConstants.EndPointType endPointType, java.util.ArrayList<java.lang.String> systemNames, java.lang.String projectIds) throws java.lang.Exception
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned environment object will
have the source information like source system name, source environment
name etc.. If we specify endPointType as TARGET then the returned
environment object will have the target information like target system
name, target environment name etc.. If we specify endPointType as BOTH
then the returned environment object will have both the source and target
information like source system name, source environment name, target
system name, target environment name etc.. And the projectIds value
should be like "1,2,3.." to get the list of environments of specific
projects and "null" to get the list of environments of all projects.endPointType
- EndPointType - valid types SOURCE, TARGET, BOTH.systemNames
- ListprojectIds
- Stringjava.lang.Exception
public java.util.List<SMTable> getTables(APIConstants.EndPointType endPointType, java.lang.String systemName, java.lang.String environmentName, java.lang.String projectIds) throws java.lang.Exception
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned table object will have
the source information like source system name, environment name and
table name etc.. If we specify endPointType as TARGET then the returned
table object will have the target information like target system name,
environment name and table name etc.. If we specify endPointType as BOTH
then the returned table object will have both the source and target
information like source system name, source environment name, source
table name, target system name, target environment name , target table
name etc.. And the projectIds value should be like "1,2,3.." to get the
list of tables of specific projects and "null" to get the list of tables
of all projects.endPointType
- EndPointType - valid types SOURCE, TARGET, BOTH.systemName
- StringenvironmentName
- StringprojectIds
- Stringjava.lang.Exception
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.List<SMTable>>> getTables(APIConstants.EndPointType endPointType, java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> systemEnvironmentMap, java.lang.String projectIds) throws java.lang.Exception
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned table object will have
the source information like source system name, environment name and
table name etc.. If we specify endPointType as TARGET then the returned
table object will have the target information like target system name,
environment name and table name, etc.. If we specify endPointType as BOTH
then the returned table object will have both the source and target
information like source system name, source environment name,source table
name, target system name, target environment name, target table name
etc.. And the projectIds value should be like "1,2,3.." to get the list
of tables of specific projects and "null" to get the list of tables of
all projects.endPointType
- EndPointType - valid types SOURCE, TARGET, BOTH.systemEnvironmentMap
- HashMapjava.lang.Exception
public java.util.List<SMColumn> getColumns(APIConstants.EndPointType endPointType, java.lang.String systemName, java.lang.String environmentName, java.lang.String tableName, java.util.EnumSet<APIConstants.PropertiesType> propertiesTypes, java.lang.String projectIds) throws java.lang.Exception
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned column object will have
the source information like source system name, environment name, table
name and column name etc.. If we specify endPointType as TARGET then the
returned column object will have the target information like target
system name, environment name, table name and column name etc.. If we
specify endPointType as BOTH then the returned column object will have
both the source and target information like source system name, source
environment name, source table name,source column name, target system
name, target environment name , target table name and target column name
etc.. And the projectIds value should be like "1,2,3.." to get the list
of columns of specific projects and "null" to get the list of columns of
all projects.
APIConstants.PropertiesType.TECHNICAL
,
APIConstants.PropertiesType.BUSINESS
,APIConstants.PropertiesType.NONE
If we specify the propertiesTypes as BUSINESS then the column object will
have business properties like colum definition, comments etc.. If we
specify the propertiesTypes as TECHNICAL then the column object will have
technical properties like column length,precision etc.. If we specify the
propertiesTypes as NONE then the column object will have only
system,environment,table and column name only.endPointType
- EndPointType - valid types SOURCE, TARGET, BOTH.systemName
- StringenvironmentName
- StringtableName
- StringprojectIds
- StringpropertiesTypes
- EnumSet - valid types TECHNICAL, BUSINESS, NONE.java.lang.Exception
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.List<SMColumn>>>> getColumns(APIConstants.EndPointType endPointType, java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>>> systemEnvironmentTableMap, java.util.EnumSet<APIConstants.PropertiesType> propertiesTypes, java.lang.String projectIds) throws java.lang.Exception
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned column object will have
the source information like source system name, environment name, table
name and column name etc.. If we specify endPointType as TARGET then the
returned column object will have the target information like target
system name, environment name, table name and column name etc.. If we
specify endPointType as BOTH then the returned column object will have
both the source and target information like source system name, source
environment name, source table name,source column name, target system
name, target environment name , target table name and target column name
etc.. And the projectIds value should be like "1,2,3.." to get the list
of columns of specific projects and "null" to get the list of columns of
all projects.
APIConstants.PropertiesType.TECHNICAL
,
APIConstants.PropertiesType.BUSINESS
,APIConstants.PropertiesType.NONE
If we specify the propertiesTypes as BUSINESS then the column object will
have business properties like colum definition, comments etc.. If we
specify the propertiesTypes as TECHNICAL then the column object will have
technical properties like column length,precision etc.. If we specify the
propertiesTypes as NONE then the column object will have only
system,environment,table and column name only.endPointType
- EndPointType - valid types SOURCE, TARGET, BOTH.systemEnvironmentTableMap
- MapprojectIds
- StringpropertiesTypes
- EnumSet- valid types TECHNICAL, BUSINESS, NONE.java.lang.Exception
public java.lang.String getSystemLineageAs(java.lang.String lineageType, java.lang.String systemName, java.lang.String projectIds, java.lang.String outputFormat)
APIConstants.LineageType.FORWARD
,
APIConstants.LineageType.REVERSE
,
APIConstants.LineageType.DUAL
. And the
projectIds value should be like "1,2,3.." to get the lineage on specific
projects and "null" to get the lineage on all projects.
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.lineageType
- String - valid types FORWARD, REVERSE, DUAL.systemName
- StringprojectIds
- String - value should be like "1,2,3..."outputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getEnvironmentLineageAs(java.lang.String lineageType, java.lang.String systemName, java.lang.String environmentName, java.lang.String projectIds, java.lang.String outputFormat)
APIConstants.LineageType.FORWARD
,
APIConstants.LineageType.REVERSE
,
APIConstants.LineageType.DUAL
. And the
projectIds value should be like "1,2,3.." to get the lineage on specific
projects and "null" to get the lineage on all projects.
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.lineageType
- String - valid types FORWARD, REVERSE, DUAL.systemName
- StringenvironmentName
- StringprojectIds
- String - value should be like "1,2,3..."outputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getTableLineageAs(java.lang.String lineageType, java.lang.String systemName, java.lang.String environmentName, java.lang.String tableName, java.lang.String projectIds, java.lang.String outputFormat)
APIConstants.LineageType.FORWARD
,
APIConstants.LineageType.REVERSE
,
APIConstants.LineageType.DUAL
. And the
projectIds value should be like "1,2,3.." to get the lineage on specific
projects and "null" to get the lineage on all projects.
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.lineageType
- String - valid types FORWARD, REVERSE, DUAL.systemName
- StringenvironmentName
- StringtableName
- StringprojectIds
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getColumnLineageAs(java.lang.String lineageType, java.lang.String systemName, java.lang.String environmentName, java.lang.String tableName, java.lang.String columnName, java.lang.String projectIds, java.lang.String outputFormat)
APIConstants.LineageType.FORWARD
,
APIConstants.LineageType.REVERSE
,
APIConstants.LineageType.DUAL
. And the
projectIds value should be like "1,2,3.." to get the lineage on specific
projects and "null" to get the lineage on all projects.
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.lineageType
- String - valid types FORWARD, REVERSE, DUAL.systemName
- StringenvironmentName
- StringtableName
- StringcolumnName
- StringprojectIds
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getColumnDetailsAs(java.lang.String endPointType, int mappingSequenceId, java.lang.String outputFormat)
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned column object will have
the source information like source system name, source environment name
etc.. If we specify endPointType as TARGET then the returned column
object will have the target information like target system name, target
environment name etc.. If we specify endPointType as BOTH then the
returned column object will have both the source and target information
like source system name, source environment name, target system name,
target environment name etc..
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.endPointType
- String - valid types SOURCE, TARGET, BOTH.mappingSequenceId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getColumnDetailsAs(java.lang.String endPointType, java.lang.String mappingSequenceIds, java.lang.String outputFormat)
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned column object will have
the source information like source system name, source environment name
etc.. If we specify endPointType as TARGET then the returned column
object will have the target information like target system name, target
environment name etc.. If we specify endPointType as BOTH then the
returned column object will have both the source and target information
like source system name, source environment name, target system name,
target environment name etc..
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.endPointType
- String - valid types SOURCE, TARGET, BOTH.mappingSequenceIds
- StringoutputFormat
- String - Valid values: JSON or XML
Sample 'mappingSequenceIds' :
[1,2]
public java.lang.String getEnvironmentsAs(java.lang.String endPointType, java.lang.String systemName, java.lang.String projectIds, java.lang.String outputFormat)
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned environment object will
have the source information like source system name, source environment
name etc.. If we specify endPointType as TARGET then the returned
environment object will have the target information like target system
name, target environment name etc.. If we specify endPointType as BOTH
then the returned environment object will have both the source and target
information like source system name, source environment name, target
system name, target environment name etc.. And the projectIds value
should be like "1,2,3.." to get the list of environments of specific
projects and "null" to get the list of environments of all projects.
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.endPointType
- String - valid types SOURCE, TARGET, BOTH.systemName
- StringprojectIds
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getEnvironmentsBySystemsAs(java.lang.String endPointType, java.lang.String systemNames, java.lang.String projectIds, java.lang.String outputFormat)
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned environment object will
have the source information like source system name, source environment
name etc.. If we specify endPointType as TARGET then the returned
environment object will have the target information like target system
name, target environment name etc.. If we specify endPointType as BOTH
then the returned environment object will have both the source and target
information like source system name, source environment name, target
system name, target environment name etc.. And the projectIds value
should be like "1,2,3.." to get the list of environments of specific
projects and "null" to get the list of environments of all projects.
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.endPointType
- String - valid types SOURCE, TARGET, BOTH.systemNames
- StringprojectIds
- StringoutputFormat
- String - Valid values: JSON or XML
Sample 'systemNames' :
["S1","S2","S3"]
public java.lang.String getTablesAs(java.lang.String endPointType, java.lang.String systemName, java.lang.String environmentName, java.lang.String projectIds, java.lang.String outputFormat)
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned table object will have
the source information like source system name, environment name and
table name etc.. If we specify endPointType as TARGET then the returned
table object will have the target information like target system name,
environment name and table name etc.. If we specify endPointType as BOTH
then the returned table object will have both the source and target
information like source system name, source environment name, source
table name, target system name, target environment name , target table
name etc.. And the projectIds value should be like "1,2,3.." to get the
list of tables of specific projects and "null" to get the list of tables
of all projects.
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.endPointType
- String - valid types SOURCE, TARGET, BOTH.systemName
- StringenvironmentName
- StringprojectIds
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getTablesAs(java.lang.String endPointType, java.lang.String systemEnvironmentJsonArray, java.lang.String projectIds, java.lang.String outputFormat)
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned table object will have
the source information like source system name, environment name and
table name etc.. If we specify endPointType as TARGET then the returned
table object will have the target information like target system name,
environment name and table name etc.. If we specify endPointType as BOTH
then the returned table object will have both the source and target
information like source system name, source environment name, source
table name, target system name, target environment name , target table
name etc.. And the projectIds value should be like "1,2,3.." to get the
list of tables of specific projects and "null" to get the list of tables
of all projects.
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.endPointType
- String - valid types SOURCE, TARGET, BOTH.systemEnvironmentJsonArray
- StringprojectIds
- StringoutputFormat
- String - Valid values: JSON or XML
Sample 'systemEnvironmentJsonArray' :
["E1","E2","E3"]
public java.lang.String getColumnsAs(java.lang.String endPointType, java.lang.String systemName, java.lang.String environmentName, java.lang.String tableName, java.lang.String propertiesTypes, java.lang.String projectIds, java.lang.String outputFormat)
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned column object will have
the source information like source system name, environment name, table
name and column name etc.. If we specify endPointType as TARGET then the
returned column object will have the target information like target
system name, environment name, table name and column name etc.. If we
specify endPointType as BOTH then the returned column object will have
both the source and target information like source system name, source
environment name, source table name,source column name, target system
name, target environment name , target table name and target column name
etc.. And the projectIds value should be like "1,2,3.." to get the list
of columns of specific projects and "null" to get the list of columns of
all projects.
APIConstants.PropertiesType.TECHNICAL
,
APIConstants.PropertiesType.BUSINESS
,
APIConstants.PropertiesType.NONE
If we specify the propertiesTypes as BUSINESS then the column object will
have business properties like colum definition, comments etc.. If we
specify the propertiesTypes as TECHNICAL then the column object will have
technical properties like column length,precision etc.. If we specify the
propertiesTypes as NONE then the column object will have only
system,environment,table and column name only.
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.endPointType
- String - valid types SOURCE, TARGET, BOTH.systemName
- StringenvironmentName
- StringtableName
- StringprojectIds
- StringpropertiesTypes
- String - valid types TECHNICAL, BUSINESS, NONE.outputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getColumnsAs(java.lang.String endPointType, java.lang.String systemEnvironmentTableJsonArray, java.lang.String propertiesTypes, java.lang.String projectIds, java.lang.String outputFormat)
APIConstants.EndPointType.SOURCE
,
APIConstants.EndPointType.TARGET
,
APIConstants.EndPointType.BOTH
. If we
specify endPointType as SOURCE then the returned column object will have
the source information like source system name, environment name, table
name and column name etc.. If we specify endPointType as TARGET then the
returned column object will have the target information like target
system name, environment name, table name and column name etc.. If we
specify endPointType as BOTH then the returned column object will have
both the source and target information like source system name, source
environment name, source table name,source column name, target system
name, target environment name , target table name and target column name
etc.. And the projectIds value should be like "1,2,3.." to get the list
of columns of specific projects and "null" to get the list of columns of
all projects.
APIConstants.PropertiesType.TECHNICAL
,
APIConstants.PropertiesType.BUSINESS
,
APIConstants.PropertiesType.NONE
If we specify the propertiesTypes as BUSINESS then the column object will
have business properties like colum definition, comments etc.. If we
specify the propertiesTypes as TECHNICAL then the column object will have
technical properties like column length,precision etc.. If we specify the
propertiesTypes as NONE then the column object will have only
system,environment,table and column name only.
outputFormat can be either JSON or XML. If outputFormat is not
specified, by default the method will return the JSON String.endPointType
- String - valid types SOURCE, TARGET, BOTH.systemEnvironmentTableJsonArray
- StringprojectIds
- StringpropertiesTypes
- String - valid types TECHNICAL, BUSINESS, NONE.outputFormat
- String - Valid values: JSON or XML
Sample 'systemEnvironmentJsonArray' :
{"S2":{"Env_Excel":["dbo.Categories","dbo.Customers"],"Web_Env":["dbo.ADS_ASSOCIATIONS","dbo.ADS_FORM"]}}
public void syncLineageData()
public void resetLineageData()