| Package | Description |
|---|---|
| gudusoft.gsqlparser |
Provides the class
TGSqlParser necessary to create a SQL Parser and the classes a SQL Parser uses
internally to handle different SQL dialects. |
| gudusoft.gsqlparser.dlineage | |
| gudusoft.gsqlparser.dlineage.dataflow.model | |
| gudusoft.gsqlparser.dlineage.dataflow.model.xml | |
| gudusoft.gsqlparser.dlineage.dataflow.sqlenv | |
| gudusoft.gsqlparser.dlineage.util | |
| gudusoft.gsqlparser.lineage.v2.producer | |
| gudusoft.gsqlparser.resolver2 | |
| gudusoft.gsqlparser.sqlenv | |
| gudusoft.gsqlparser.sqlenv.catalog | |
| gudusoft.gsqlparser.sqlenv.parser | |
| gudusoft.gsqlparser.sqlenv.parser.grabit | |
| gudusoft.gsqlparser.sqlenv.parser.sharded | |
| gudusoft.gsqlparser.sqlenv.parser.sqldep | |
| gudusoft.gsqlparser.sqlenv.parser.sqlflow |
| Modifier and Type | Method and Description |
|---|---|
IdentifierProfile |
TGSqlParser.getIdentifierProfile()
The identifier configuration of this parse: the explicit profile when one was set, else the
TSQLEnv's, else the vendor default. |
| Modifier and Type | Method and Description |
|---|---|
void |
TGSqlParser.setIdentifierProfile(IdentifierProfile profile)
Set the identifier configuration this parse compares, normalizes and keys names under.
|
| Modifier and Type | Method and Description |
|---|---|
IdentifierProfile |
DataFlowAnalyzer.getIdentifierProfile()
The frozen identifier configuration of this analysis, or null before it was resolved.
|
| Modifier and Type | Method and Description |
|---|---|
IdentifierProfile |
Option.getIdentifierProfile()
The identifier configuration this analysis compares, normalizes and keys names under.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Option.setIdentifierProfile(IdentifierProfile identifierProfile)
Configure how identifiers are compared for this analysis, per object category — for
example BigQuery table names compared case-insensitively while catalog, schema and column
keep their documented rules:
|
| Modifier and Type | Method and Description |
|---|---|
IdentifierProfile |
dataflow.getIdentifierPolicy()
The identifier configuration the analysis that produced this result ran under — same-run
provenance, supplied by the producer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dataflow.setIdentifierPolicy(IdentifierProfile identifierPolicy) |
| Modifier and Type | Method and Description |
|---|---|
SQLEnvParser |
SQLEnvParser.withIdentifierProfile(IdentifierProfile identifierProfile)
Configure the identifier rules the parsed environments register their metadata under.
|
| Modifier and Type | Method and Description |
|---|---|
static dataflow |
DataflowUtility.mergeDataflows(Collection<dataflow> dataflows,
EDbVendor vendor,
IdentifierProfile identifierProfile)
Merge under an explicit identifier configuration — the configuration the analyses that
produced
dataflows ran under. |
static dataflow |
DataflowUtility.mergeDataflowsWithDifferentStartId(Collection<dataflow> dataflows,
EDbVendor vendor,
IdentifierProfile identifierProfile)
As
DataflowUtility.mergeDataflowsWithDifferentStartId(Collection, EDbVendor), under an explicit
identifier configuration. |
| Modifier and Type | Method and Description |
|---|---|
static IdentityPolicy |
IdentityPolicy.of(EDbVendor vendor,
IdentifierProfile effective)
The policy of one analysis.
|
| Modifier and Type | Method and Description |
|---|---|
IdentifierProfile |
TSQLResolverConfig.getIdentifierProfile()
The identifier configuration of this resolution, or null when it is the vendor default.
|
| Modifier and Type | Method and Description |
|---|---|
static TSQLResolverConfig |
TSQLResolverConfig.createForProfile(IdentifierProfile profile)
Create configuration whose name matching runs under ONE analysis's identifier
configuration instead of the vendor default.
|
void |
TSQLResolverConfig.setIdentifierProfile(IdentifierProfile profile)
Set the identifier configuration this resolution compares and keys names under.
|
| Modifier and Type | Method and Description |
|---|---|
IdentifierProfile |
IdentifierProfile.Builder.build()
Build an immutable IdentifierProfile.
|
static IdentifierProfile |
IdentifierProfile.forVendor(EDbVendor vendor,
IdentifierProfile.VendorFlags flags)
为指定厂商创建标识符配置档案
|
static IdentifierProfile |
IdentifierProfile.forVendorOr(IdentifierProfile configured,
EDbVendor vendor)
configured when it is a configuration for vendor, else that vendor's
default profile. |
IdentifierProfile |
TSQLEnv.getIdentifierProfile()
Get IdentifierProfile (Phase 0)
|
IdentifierProfile |
NameService.getIdentifierProfile()
The effective identifier configuration behind
NameService.getIdentifierService(). |
IdentifierProfile |
IdentifierService.getProfile()
获取标识符配置档案
|
| Modifier and Type | Method and Description |
|---|---|
static String |
IdentifierCodec.decodeLexical(IdentifierProfile profile,
ESQLDataObjectType objectType,
String lexical)
Decode one lexical identifier to its stored text.
|
static String |
IdentifierCodec.encodeStored(IdentifierProfile profile,
ESQLDataObjectType objectType,
String stored)
Encode stored text to a canonical lexical spelling.
|
static IdentifierService |
IdentifierService.forProfile(IdentifierProfile profile)
Build the service for one
IdentifierProfile, attaching the
CollatorProvider the profile's vendor needs. |
static IdentifierProfile |
IdentifierProfile.forVendorOr(IdentifierProfile configured,
EDbVendor vendor)
configured when it is a configuration for vendor, else that vendor's
default profile. |
static boolean |
IdentifierCodec.hasQuotedForm(IdentifierProfile profile,
ESQLDataObjectType objectType)
Does this vendor/role have ANY quoted-identifier syntax?
false
only for vendors like SOQL where IdentifierCodec.encodeStored(gudusoft.gsqlparser.sqlenv.IdentifierProfile, gudusoft.gsqlparser.sqlenv.ESQLDataObjectType, java.lang.String) is the identity
— callers that need a delimiter for internal-key purposes (protecting
dots from qualified-name splitting) must supply their own fallback. |
boolean |
IdentifierProfile.hasSameEffectivePolicyAs(IdentifierProfile other)
Whether this profile and
other are the SAME effective strategy: same vendor, same
flags, and the same resolved rule for every object category — regardless of how each was
built (vendor default, group override, category override) or of object identity. |
static boolean |
IdentifierCodec.isQuoted(IdentifierProfile profile,
ESQLDataObjectType objectType,
String s)
Does this lexical spelling denote a QUOTED identifier for the
vendor/role — i.e.
|
static boolean |
IdentifierCodec.isVendorValidSpelling(IdentifierProfile profile,
ESQLDataObjectType objectType,
String lexical)
Is this lexical spelling valid SQL for the vendor — a stricter
property than being transport-decodable?
|
static boolean |
IdentifierCodec.requiresDelimiters(IdentifierProfile profile,
ESQLDataObjectType objectType)
Must a name in this role always be written delimited? True only where the delimiters are
the syntax of the reference rather than optional quoting: a DAX column is always written
[Name], and a bare word in that position is a table or a function. |
| Constructor and Description |
|---|
IdentifierService(IdentifierProfile profile,
CollatorProvider collatorProvider)
构造标识符服务
|
TDDLSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
EDbVendor dbVendor,
String sql,
IdentifierProfile identifierProfile)
Same input, analyzed under an explicit identifier configuration.
|
TDDLSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
TSQLEnv metadataSQLEnv,
EDbVendor dbVendor,
String sql,
IdentifierProfile identifierProfile)
Same input, analyzed under an explicit identifier configuration.
|
TSQLEnv(EDbVendor dbVendor,
IdentifierProfile identifierProfile)
Create a SQL environment whose identifier comparison, normalization and catalog indexes all
run under ONE explicit configuration.
|
| Constructor and Description |
|---|
CatalogStoreProvider(IdentifierProfile profile)
Creates a CatalogStoreProvider under ONE analysis's identifier configuration.
|
| Modifier and Type | Method and Description |
|---|---|
TJSONSQLEnvParser |
TJSONSQLEnvParser.withIdentifierProfile(IdentifierProfile identifierProfile)
Configure the identifier rules the parsed environments register their metadata under.
|
| Constructor and Description |
|---|
GrabitSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
EDbVendor dbVendor,
Map jsonContent,
IdentifierProfile identifierProfile)
Same input, analyzed under an explicit identifier configuration.
|
MultipleGrabitSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
EDbVendor dbVendor,
List jsonArray,
IdentifierProfile identifierProfile)
Same input, analyzed under an explicit identifier configuration.
|
| Constructor and Description |
|---|
SqlflowShardedSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
EDbVendor dbVendor,
Map server,
String baseDir,
IdentifierInputForm nameForm,
IdentifierProfile identifierProfile)
Same input, analyzed under an explicit identifier configuration.
|
| Constructor and Description |
|---|
MultipleSQLDepSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
EDbVendor dbVendor,
List jsonArray,
IdentifierProfile identifierProfile)
Same input, analyzed under an explicit identifier configuration.
|
SQLDepSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
EDbVendor dbVendor,
Map jsonContent,
IdentifierProfile identifierProfile)
Same input, analyzed under an explicit identifier configuration.
|
| Constructor and Description |
|---|
SqlflowSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
EDbVendor dbVendor,
Map server,
IdentifierInputForm nameForm,
IdentifierProfile identifierProfile)
Same input, analyzed under an explicit identifier configuration.
|