Package | Description |
---|---|
gudusoft.gsqlparser.dlineage.util | |
gudusoft.gsqlparser.sqlenv | |
gudusoft.gsqlparser.util |
Modifier and Type | Method and Description |
---|---|
static boolean |
DlineageUtil.compareIdentifier(String source,
String target,
ESQLDataObjectType sqlDataObjectType) |
static String |
DlineageUtil.getIdentifierNormalName(String name,
ESQLDataObjectType sqlDataObjectType) |
Modifier and Type | Field and Description |
---|---|
protected ESQLDataObjectType |
TSQLObject.dataObjectType |
Modifier and Type | Method and Description |
---|---|
ESQLDataObjectType |
TSQLObject.getDataObjectType()
Type of this database object
|
static ESQLDataObjectType |
ESQLDataObjectType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESQLDataObjectType[] |
ESQLDataObjectType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
TSQLRoutine |
TSQLEnv.addSQLRoutine(String qualifiedProcedureName,
boolean fromDDL,
ESQLDataObjectType type) |
static boolean |
TSQLEnv.compareIdentifier(EDbVendor dbVendor,
ESQLDataObjectType objectType,
String ident1,
String ident2) |
static boolean |
TSQLEnv.compareIdentifier(EDbVendor dbVendor,
ESQLDataObjectType objectType,
TObjectName source,
TObjectName target) |
boolean |
TSQLEnv.compareIdentifier(ESQLDataObjectType objectType,
String ident1,
String ident2) |
static int |
TSQLObject.compareTo(EDbVendor dbVendor,
ESQLDataObjectType sqlDataObjectType,
String pTargetObjectName,
String objectName)
Deprecated.
since version 2.2.3.2(2021-05-10), replaced by @TSQLEnv.compareIdentifier()
|
static int |
TSQLObject.compareTo(EDbVendor dbVendor,
ESQLDataObjectType sqlDataObjectType,
TSQLObject targetDataObject,
String objectName) |
static int |
TSQLObject.compareTo(TSQLEnv sqlEnv,
ESQLDataObjectType sqlDataObjectType,
TSQLObject targetDataObject,
String objectName)
how to compare the name of database object is various from different databases due to the different implementation.
|
TSQLProcedure |
TSQLSchema.createProcedure(String procedureName,
ESQLDataObjectType type) |
protected TSQLSchemaObject |
TSQLOraclePackage.createSchemaObject(String schemaObjectName,
ESQLDataObjectType dataObjectType) |
TSQLSchemaObject |
TSQLSchema.createSchemaObject(String schemaObjectName,
ESQLDataObjectType dataObjectType) |
protected TSQLSchemaObject |
TSQLOraclePackage.createSchemaObject(String schemaObjectName,
ESQLDataObjectType dataObjectType,
int priority) |
protected TSQLSchemaObject |
TSQLSchema.createSchemaObject(String schemaObjectName,
ESQLDataObjectType dataObjectType,
int priority) |
TSQLSchemaObject |
TSQLEnv.doAddSchemaObject(String qualifiedObjectName,
ESQLDataObjectType objectType) |
TSQLSchemaObject |
TSQLEnv.doAddSchemaObject(TObjectName qualifiedObjectName,
ESQLDataObjectType objectType) |
protected TSQLSchemaObject |
TSQLEnv.doSearchSchemaObject(String catalog,
String schema,
String table,
ESQLDataObjectType objectType) |
static boolean |
TSQLEnv.matchSubObjectNameToWhole(EDbVendor dbVendor,
ESQLDataObjectType sqlDataObjectType,
String sub,
String whole)
比较 一个数据库对象名是否等于或者属于另一个对象
等于 就是完全相等(根据不同数据库的比较规则)
属于 表示如下情况:
1.
|
static String |
TSQLEnv.normalizeIdentifier(EDbVendor dbVendor,
ESQLDataObjectType sqlDataObjectType,
String identifier)
1.
|
static String |
TSQLObject.normalizeIdentifier(EDbVendor dbVendor,
ESQLDataObjectType sqlDataObjectType,
String identifier) |
static String |
TSQLObject.normalizeIdentifier(TSQLEnv sqlEnv,
ESQLDataObjectType sqlDataObjectType,
String identifier)
change the case of the name of the database object name, and remove the delimited char if it's a delimited identifier.
|
TSQLSchemaObject |
TSQLEnv.searchSchemaObject(String qualifiedName,
ESQLDataObjectType objectType) |
protected TSQLSchemaObject |
TSQLEnv.searchSchemaObject(TObjectName qualifiedName,
ESQLDataObjectType objectType) |
void |
TSQLObject.setDataObjectType(ESQLDataObjectType dataObjectType) |
Constructor and Description |
---|
TSQLObject(TSQLEnv sqlEnv,
String objectName,
ESQLDataObjectType dataObjectType)
create a new database object and add to the SQL environment.
|
TSQLProcedure(TSQLOraclePackage oraclePackage,
String procedureName,
ESQLDataObjectType dataObjectType) |
TSQLProcedure(TSQLSchema sqlSchema,
String procedureName,
ESQLDataObjectType dataObjectType) |
TSQLRoutine(TSQLSchema schema,
String objectName,
ESQLDataObjectType dataObjectType) |
TSQLSchemaObject(TSQLSchema schema,
String objectName,
ESQLDataObjectType dataObjectType) |
TSQLSchemaObject(TSQLSchema schema,
String objectName,
ESQLDataObjectType dataObjectType,
int priority) |
Modifier and Type | Method and Description |
---|---|
ESQLDataObjectType |
Identifier.getSqlDataObjectType() |
Modifier and Type | Method and Description |
---|---|
static boolean |
SQLUtil.compareIdentifier(EDbVendor dbVendor,
ESQLDataObjectType sqlDataObjectType,
String identifier1,
String identifier2) |
static String |
SQLUtil.getIdentifierNormalName(EDbVendor dbVendor,
String name,
ESQLDataObjectType sqlDataObjectType) |
static String |
SQLUtil.normalizeIdentifier(EDbVendor dbVendor,
ESQLDataObjectType objectType,
String identifier) |
Constructor and Description |
---|
Identifier(EDbVendor vendor,
ESQLDataObjectType sqlDataObjectType,
String identifier) |