Java >= 11
TBD
- postgresql - PostgreSqlPath
- mysql - MysqlPath
- kafka - KafkaPath
- kafkaconnect - KafkaConnectorPath
- snowflake - SnowflakePath
- airflow - AirflowPath
- hive - HivePath
- dynamodb - DynamodbPath
- grpc - GrpcServicePath
- spark - SparkPath
- s3-aws - AwsS3Path
- s3-custom - CustomS3Path
- hdfs - HdfsPath
- generate(OddrnPath path, String field) - Get oddrn string by path.
- validatePath(OddrnPath path, String field) - Validate oddrn path
- parse(String oddrn) - Parse oddrn and get OddrnPath
# postgresql
final String oddrn = generator.generate(
PostgreSqlPath.builder()
.host("1.1.1.1")
.database("dbname")
.schema("public")
.table("test")
.column("id")
.build(),
, "column");
# //postgresql/host/1.1.1.1/databases/dbname/schemas/public/tables/test/columns/id
- WrongPathOrderException - raises when trying set path that depends on another path
final String oddrn = generator.generate(
PostgreSqlPath.builder()
.host("1.1.1.1")
.database("dbname")
.schema("public")
.column("id")
.build(),
, "column");
# WrongPathOrderException: 'column' can not be without 'table' attribute
- PathDoestExistException - raises when trying to get not existing oddrn path
final String oddrn = generator.generate(
PostgreSqlPath.builder()
.host("1.1.1.1")
.database("dbname")
.schema("public")
.column("id")
.build(),
, "job");
# PathDoestExistException: Path 'job' doesn't exist in path